Guest User

Untitled

a guest
Feb 20th, 2018
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.09 KB | None | 0 0
  1. g++ -o PluginManager.o -c PluginManager.cpp -m32 -DBUILD_CORE -I./include -std=gnu++0x -Wall -Wextra -pedantic -pipe -fvisibility=hidden -fomit-frame-pointer -O3 -funroll-loops
  2. In file included from ./include/PluginManager.h:10:0,
  3. from PluginManager.cpp:5:
  4. ./include/Plugin.h:18:22: warning: unused parameter ‘library’ [-Wunused-parameter]
  5. ./include/Plugin.h:20:22: warning: unused parameter ‘library’ [-Wunused-parameter]
  6. PluginManager.cpp: In member function ‘void PluginManager::add(std::string)’:
  7. PluginManager.cpp:23:49: error: no matching function for call to ‘swap(Libraries::Library, Libraries::Library&)’
  8. PluginManager.cpp:23:49: note: candidates are:
  9. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = Libraries::Library]
  10. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/move.h:122:5: note: no known conversion for argument 1 from ‘Libraries::Library’ to ‘Libraries::Library&’
  11. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/move.h:136:42: note: template<class _Tp, unsigned int _Nm> void std::swap(_Tp (&)[_Nm], _Tp (&)[_Nm])
  12. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_pair.h:241:50: note: template<class _T1, class _T2> void std::swap(std::pair<_T1, _T2>&, std::pair<_T1, _T2>&)
  13. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/basic_string.h:2659:47: note: template<class _CharT, class _Traits, class _Alloc> void std::swap(std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>&)
  14. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_vector.h:1321:60: note: template<class _Tp, class _Alloc> void std::swap(std::vector<_Tp, _Alloc>&, std::vector<_Tp, _Alloc>&)
  15. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/tuple:745:60: note: template<class ... _Elements> void std::swap(std::tuple<_Elements ...>&, std::tuple<_Elements ...>&)
  16. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/functional:2263:70: note: template<class _Res, class ... _Args> void std::swap(std::function<_Res(_ArgTypes ...)>&, std::function<_Res(_ArgTypes ...)>&)
  17. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/unique_ptr.h:428:28: note: template<class _Tp, class _Dp> void std::swap(std::unique_ptr<_Tp, _Dp>&, std::unique_ptr<_Tp, _Dp>&)
  18. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/shared_ptr_base.h:1108:66: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> void std::swap(std::__shared_ptr<_Tp, _Lp>&, std::__shared_ptr<_Tp, _Lp>&)
  19. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/shared_ptr_base.h:1282:62: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> void std::swap(std::__weak_ptr<_Tp, _Lp>&, std::__weak_ptr<_Tp, _Lp>&)
  20. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/shared_ptr.h:364:52: note: template<class _Tp> void std::swap(std::shared_ptr<_Tp>&, std::shared_ptr<_Tp>&)
  21. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/shared_ptr.h:450:48: note: template<class _Tp> void std::swap(std::weak_ptr<_Tp>&, std::weak_ptr<_Tp>&)
  22. PluginManager.cpp:34:88: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object [enabled by default]
  23. PluginManager.cpp:44:46: error: no matching function for call to ‘swap(std::unique_ptr<Plugin>&, std::unique_ptr<Plugin>)’
  24. PluginManager.cpp:44:46: note: candidates are:
  25. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/move.h:122:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = std::unique_ptr<Plugin>]
  26. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/move.h:122:5: note: no known conversion for argument 2 from ‘std::unique_ptr<Plugin>’ to ‘std::unique_ptr<Plugin>&’
  27. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/move.h:136:42: note: template<class _Tp, unsigned int _Nm> void std::swap(_Tp (&)[_Nm], _Tp (&)[_Nm])
  28. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_pair.h:241:50: note: template<class _T1, class _T2> void std::swap(std::pair<_T1, _T2>&, std::pair<_T1, _T2>&)
  29. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/basic_string.h:2659:47: note: template<class _CharT, class _Traits, class _Alloc> void std::swap(std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>&)
  30. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_vector.h:1321:60: note: template<class _Tp, class _Alloc> void std::swap(std::vector<_Tp, _Alloc>&, std::vector<_Tp, _Alloc>&)
  31. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/tuple:745:60: note: template<class ... _Elements> void std::swap(std::tuple<_Elements ...>&, std::tuple<_Elements ...>&)
  32. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/functional:2263:70: note: template<class _Res, class ... _Args> void std::swap(std::function<_Res(_ArgTypes ...)>&, std::function<_Res(_ArgTypes ...)>&)
  33. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/unique_ptr.h:427:5: note: void std::swap(std::unique_ptr<_Tp, _Dp>&, std::unique_ptr<_Tp, _Dp>&) [with _Tp = Plugin, _Dp = std::default_delete<Plugin>]
  34. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/unique_ptr.h:427:5: note: no known conversion for argument 2 from ‘std::unique_ptr<Plugin>’ to ‘std::unique_ptr<Plugin>&’
  35. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/shared_ptr_base.h:1108:66: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> void std::swap(std::__shared_ptr<_Tp, _Lp>&, std::__shared_ptr<_Tp, _Lp>&)
  36. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/shared_ptr_base.h:1282:62: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> void std::swap(std::__weak_ptr<_Tp, _Lp>&, std::__weak_ptr<_Tp, _Lp>&)
  37. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/shared_ptr.h:364:52: note: template<class _Tp> void std::swap(std::shared_ptr<_Tp>&, std::shared_ptr<_Tp>&)
  38. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/shared_ptr.h:450:48: note: template<class _Tp> void std::swap(std::weak_ptr<_Tp>&, std::weak_ptr<_Tp>&)
  39. PluginManager.cpp: In member function ‘void PluginManager::setExtraSettingValue(std::string, std::string, std::string)’:
  40. PluginManager.cpp:110:54: error: no matching function for call to ‘PluginManager::setExtraSettingValue_(PluginManager::Plugin_&)’
  41. PluginManager.cpp:110:54: note: candidate is:
  42. ./include/PluginManager.h:60:14: note: void PluginManager::setExtraSettingValue_(PluginManager::Plugin_&, std::string, std::string)
  43. ./include/PluginManager.h:60:14: note: candidate expects 3 arguments, 1 provided
  44. PluginManager.cpp: At global scope:
  45. PluginManager.cpp:108:6: warning: unused parameter ‘extraSettingLabel’ [-Wunused-parameter]
  46. PluginManager.cpp:108:6: warning: unused parameter ‘value’ [-Wunused-parameter]
  47. PluginManager.cpp: In constructor ‘PluginManager::Plugin_::Plugin_()’:
  48. PluginManager.cpp:126:1: error: uninitialized reference member ‘PluginManager::Plugin_::info’ [-fpermissive]
  49. PluginManager.cpp: At global scope:
  50. PluginManager.cpp:148:13: error: ‘Plugin_’ was not declared in this scope
  51. PluginManager.cpp:148:20: error: template argument 1 is invalid
  52. PluginManager.cpp:148:20: error: template argument 2 is invalid
  53. PluginManager.cpp:148:32: error: expected initializer before ‘PluginManager’
  54. PluginManager.cpp: In member function ‘void PluginManager::disable_(PluginManager::Plugin_&)’:
  55. PluginManager.cpp:168:44: error: no matching function for call to ‘Plugin::onDisable(Libraries::Library&)’
  56. PluginManager.cpp:168:44: note: candidate is:
  57. ./include/Plugin.h:19:22: note: virtual void Plugin::onDisable()
  58. ./include/Plugin.h:19:22: note: candidate expects 0 arguments, 1 provided
  59. In file included from /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_pair.h:60:0,
  60. from /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/utility:71,
  61. from /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/algorithm:61,
  62. from PluginManager.cpp:1:
  63. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/move.h: In function ‘void std::swap(_Tp&, _Tp&) [with _Tp = Libraries::Library]’:
  64. PluginManager.cpp:43:38: instantiated from here
  65. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/move.h:128:7: error: use of deleted function ‘Libraries::Library& Libraries::Library::operator=(const Libraries::Library&)’
  66. In file included from ./include/Info.h:8:0,
  67. from ./include/Plugin.h:8,
  68. from ./include/PluginManager.h:10,
  69. from PluginManager.cpp:5:
  70. ./include/Misc.h:36:21: error: ‘Libraries::Library& Libraries::Library::operator=(const Libraries::Library&)’ is implicitly deleted because the default definition would be ill-formed:
  71. ./include/Misc.h:36:21: error: non-static const member ‘const size_t Libraries::Library::size’, can’t use default assignment operator
  72. ./include/Misc.h:36:21: error: no matching function for call to ‘std::basic_string<char>::operator=(const string&) const’
  73. ./include/Misc.h:36:21: note: candidates are:
  74. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/basic_string.h:541:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>] <near match>
  75. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/basic_string.h:541:7: note: no known conversion for implicit ‘this’ parameter from ‘const string* {aka const std::basic_string<char>*}’ to ‘std::basic_string<char>*’
  76. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/basic_string.h:549:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(const _CharT*) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>]
  77. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/basic_string.h:560:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(_CharT) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>]
  78. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/basic_string.h:575:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(std::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>]
  79. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/basic_string.h:575:7: note: no known conversion for argument 1 from ‘const string {aka const std::basic_string<char>}’ to ‘std::basic_string<char>&& {aka std::basic_string<char>&&}’
  80. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/basic_string.h:587:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(std::initializer_list<_CharT>) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>]
  81. ./include/Misc.h:36:21: error: no matching function for call to ‘std::basic_string<char>::operator=(const string&) const’
  82. ./include/Misc.h:36:21: note: candidates are:
  83. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/basic_string.h:541:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>] <near match>
  84. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/basic_string.h:541:7: note: no known conversion for implicit ‘this’ parameter from ‘const string* {aka const std::basic_string<char>*}’ to ‘std::basic_string<char>*’
  85. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/basic_string.h:549:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(const _CharT*) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>]
  86. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/basic_string.h:560:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(_CharT) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>]
  87. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/basic_string.h:575:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(std::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>]
  88. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/basic_string.h:575:7: note: no known conversion for argument 1 from ‘const string {aka const std::basic_string<char>}’ to ‘std::basic_string<char>&& {aka std::basic_string<char>&&}’
  89. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/basic_string.h:587:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(std::initializer_list<_CharT>) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>]
  90. In file included from /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_pair.h:60:0,
  91. from /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/utility:71,
  92. from /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/algorithm:61,
  93. from PluginManager.cpp:1:
  94. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/move.h:129:7: error: use of deleted function ‘Libraries::Library& Libraries::Library::operator=(const Libraries::Library&)’
  95. In file included from /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/x86_64-unknown-linux-gnu/32/bits/c++allocator.h:34:0,
  96. from /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/allocator.h:48,
  97. from /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/string:43,
  98. from /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/random:41,
  99. from /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_algo.h:67,
  100. from /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/algorithm:63,
  101. from PluginManager.cpp:1:
  102. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/ext/new_allocator.h: In member function ‘void __gnu_cxx::new_allocator<_Tp>::construct(__gnu_cxx::new_allocator<_Tp>::pointer, _Args&& ...) [with _Args = {PluginManager::Plugin_}, _Tp = PluginManager::Plugin_, __gnu_cxx::new_allocator<_Tp>::pointer = PluginManager::Plugin_*]’:
  103. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/vector.tcc:97:6: instantiated from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {PluginManager::Plugin_}, _Tp = PluginManager::Plugin_, _Alloc = std::allocator<PluginManager::Plugin_>]’
  104. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_vector.h:840:9: instantiated from ‘void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = PluginManager::Plugin_, _Alloc = std::allocator<PluginManager::Plugin_>, std::vector<_Tp, _Alloc>::value_type = PluginManager::Plugin_]’
  105. PluginManager.cpp:53:41: instantiated from here
  106. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/ext/new_allocator.h:114:4: error: use of deleted function ‘PluginManager::Plugin_::Plugin_(const PluginManager::Plugin_&)’
  107. In file included from PluginManager.cpp:5:0:
  108. ./include/PluginManager.h:42:15: error: ‘PluginManager::Plugin_::Plugin_(const PluginManager::Plugin_&)’ is implicitly deleted because the default definition would be ill-formed:
  109. ./include/PluginManager.h:42:15: error: use of deleted function ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(const std::unique_ptr<_Tp, _Dp>&) [with _Tp = Plugin, _Dp = std::default_delete<Plugin>, std::unique_ptr<_Tp, _Dp> = std::unique_ptr<Plugin>]’
  110. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/unique_ptr.h:256:7: error: declared here
  111. In file included from /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/vector:70:0,
  112. from /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/random.h:34,
  113. from /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/random:50,
  114. from /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_algo.h:67,
  115. from /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/algorithm:63,
  116. from PluginManager.cpp:1:
  117. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_insert_aux(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {PluginManager::Plugin_}, _Tp = PluginManager::Plugin_, _Alloc = std::allocator<PluginManager::Plugin_>, std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<PluginManager::Plugin_*, std::vector<PluginManager::Plugin_> >, typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer = PluginManager::Plugin_*]’:
  118. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/vector.tcc:102:4: instantiated from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {PluginManager::Plugin_}, _Tp = PluginManager::Plugin_, _Alloc = std::allocator<PluginManager::Plugin_>]’
  119. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_vector.h:840:9: instantiated from ‘void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = PluginManager::Plugin_, _Alloc = std::allocator<PluginManager::Plugin_>, std::vector<_Tp, _Alloc>::value_type = PluginManager::Plugin_]’
  120. PluginManager.cpp:53:41: instantiated from here
  121. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/vector.tcc:316:4: error: use of deleted function ‘PluginManager::Plugin_::Plugin_(const PluginManager::Plugin_&)’
  122. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/vector.tcc:316:4: error: use of deleted function ‘PluginManager::Plugin_& PluginManager::Plugin_::operator=(const PluginManager::Plugin_&)’
  123. In file included from PluginManager.cpp:5:0:
  124. ./include/PluginManager.h:42:15: error: ‘PluginManager::Plugin_& PluginManager::Plugin_::operator=(const PluginManager::Plugin_&)’ is implicitly deleted because the default definition would be ill-formed:
  125. ./include/PluginManager.h:42:15: error: use of deleted function ‘Libraries::Library& Libraries::Library::operator=(const Libraries::Library&)’
  126. ./include/PluginManager.h:42:15: error: use of deleted function ‘std::unique_ptr<_Tp, _Dp>& std::unique_ptr<_Tp, _Dp>::operator=(const std::unique_ptr<_Tp, _Dp>&) [with _Tp = Plugin, _Dp = std::default_delete<Plugin>, std::unique_ptr<_Tp, _Dp> = std::unique_ptr<Plugin>]’
  127. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/unique_ptr.h:257:19: error: declared here
  128. ./include/PluginManager.h:42:15: error: non-static reference member ‘Info& PluginManager::Plugin_::info’, can’t use default assignment operator
  129. In file included from /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/algorithm:62:0,
  130. from PluginManager.cpp:1:
  131. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_algobase.h: In static member function ‘static _BI2 std::__copy_move_backward<true, false, std::random_access_iterator_tag>::__copy_move_b(_BI1, _BI1, _BI2) [with _BI1 = PluginManager::Plugin_*, _BI2 = PluginManager::Plugin_*]’:
  132. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_algobase.h:581:18: instantiated from ‘_BI2 std::__copy_move_backward_a(_BI1, _BI1, _BI2) [with bool _IsMove = true, _BI1 = PluginManager::Plugin_*, _BI2 = PluginManager::Plugin_*]’
  133. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_algobase.h:590:34: instantiated from ‘_BI2 std::__copy_move_backward_a2(_BI1, _BI1, _BI2) [with bool _IsMove = true, _BI1 = PluginManager::Plugin_*, _BI2 = PluginManager::Plugin_*]’
  134. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_algobase.h:661:15: instantiated from ‘_BI2 std::move_backward(_BI1, _BI1, _BI2) [with _BI1 = PluginManager::Plugin_*, _BI2 = PluginManager::Plugin_*]’
  135. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/vector.tcc:310:4: instantiated from ‘void std::vector<_Tp, _Alloc>::_M_insert_aux(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {PluginManager::Plugin_}, _Tp = PluginManager::Plugin_, _Alloc = std::allocator<PluginManager::Plugin_>, std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<PluginManager::Plugin_*, std::vector<PluginManager::Plugin_> >, typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer = PluginManager::Plugin_*]’
  136. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/vector.tcc:102:4: instantiated from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {PluginManager::Plugin_}, _Tp = PluginManager::Plugin_, _Alloc = std::allocator<PluginManager::Plugin_>]’
  137. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_vector.h:840:9: instantiated from ‘void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = PluginManager::Plugin_, _Alloc = std::allocator<PluginManager::Plugin_>, std::vector<_Tp, _Alloc>::value_type = PluginManager::Plugin_]’
  138. PluginManager.cpp:53:41: instantiated from here
  139. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_algobase.h:546:6: error: use of deleted function ‘PluginManager::Plugin_& PluginManager::Plugin_::operator=(const PluginManager::Plugin_&)’
  140. In file included from /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_tempbuf.h:61:0,
  141. from /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_algo.h:64,
  142. from /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/algorithm:63,
  143. from PluginManager.cpp:1:
  144. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_construct.h: In function ‘void std::_Construct(_T1*, _Args&& ...) [with _T1 = PluginManager::Plugin_, _Args = {PluginManager::Plugin_}]’:
  145. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_uninitialized.h:77:3: instantiated from ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator<PluginManager::Plugin_*>, _ForwardIterator = PluginManager::Plugin_*, bool _TrivialValueTypes = false]’
  146. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_uninitialized.h:119:41: instantiated from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator<PluginManager::Plugin_*>, _ForwardIterator = PluginManager::Plugin_*]’
  147. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_uninitialized.h:259:63: instantiated from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = std::move_iterator<PluginManager::Plugin_*>, _ForwardIterator = PluginManager::Plugin_*, _Tp = PluginManager::Plugin_]’
  148. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_uninitialized.h:269:24: instantiated from ‘_ForwardIterator std::__uninitialized_move_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = PluginManager::Plugin_*, _ForwardIterator = PluginManager::Plugin_*, _Allocator = std::allocator<PluginManager::Plugin_>]’
  149. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/vector.tcc:340:8: instantiated from ‘void std::vector<_Tp, _Alloc>::_M_insert_aux(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {PluginManager::Plugin_}, _Tp = PluginManager::Plugin_, _Alloc = std::allocator<PluginManager::Plugin_>, std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<PluginManager::Plugin_*, std::vector<PluginManager::Plugin_> >, typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer = PluginManager::Plugin_*]’
  150. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/vector.tcc:102:4: instantiated from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {PluginManager::Plugin_}, _Tp = PluginManager::Plugin_, _Alloc = std::allocator<PluginManager::Plugin_>]’
  151. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_vector.h:840:9: instantiated from ‘void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = PluginManager::Plugin_, _Alloc = std::allocator<PluginManager::Plugin_>, std::vector<_Tp, _Alloc>::value_type = PluginManager::Plugin_]’
  152. PluginManager.cpp:53:41: instantiated from here
  153. /home/kotarou3/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../include/c++/4.6.1/bits/stl_construct.h:76:7: error: use of deleted function ‘PluginManager::Plugin_::Plugin_(const PluginManager::Plugin_&)’
  154. make: *** [PluginManager.o] Error 1
Add Comment
Please, Sign In to add comment