Hallo,
das Kompilieren von vdr-tvguideng-0.3.0 schlägt unter vdr-2.4.0 mit folgenden Meldungen fehl:
Produktive Problem- und Pluginlösungen für VDR 2.3.2 und höher
konnte ich nichts dazu finden.
Code
channelgroups.c: In member function 'void cChannelgroups::Init()':
channelgroups.c:67:36: error: use of deleted function 'cChannelGroup::cChannelGroup(const cChannelGroup&)'
cChannelGroup group = *it;
^~
In file included from channelgroups.c:2:
channelgroups.h:12:7: note: 'cChannelGroup::cChannelGroup(const cChannelGroup&)' is implicitly deleted because the default definition would be ill-formed:
class cChannelGroup : public cListObject {
^~~~~~~~~~~~~
channelgroups.h:12:7: error: 'cListObject::cListObject(const cListObject&)' is private within this context
In file included from /usr/include/vdr/i18n.h:14,
from /usr/include/vdr/plugin.h:13,
from config.h:5,
from channelgroups.c:1:
/usr/include/vdr/tools.h:497:3: note: declared private here
cListObject(const cListObject &ListObject) { abort(); } // no copy constructor!
^~~~~~~~~~~
In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/c++allocator.h:33,
from /usr/include/c++/8/bits/allocator.h:46,
from /usr/include/c++/8/string:41,
from config.h:4,
from channelgroups.c:1:
/usr/include/c++/8/ext/new_allocator.h: In instantiation of 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = cChannelGroup; _Args = {cChannelGroup}; _Tp = cChannelGroup]':
/usr/include/c++/8/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = cChannelGroup; _Args = {cChannelGroup}; _Tp = cChannelGroup; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<cChannelGroup>]'
/usr/include/c++/8/bits/vector.tcc:103:30: required from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {cChannelGroup}; _Tp = cChannelGroup; _Alloc = std::allocator<cChannelGroup>]'
/usr/include/c++/8/bits/stl_vector.h:1091:9: required from 'void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = cChannelGroup; _Alloc = std::allocator<cChannelGroup>; std::vector<_Tp, _Alloc>::value_type = cChannelGroup]'
channelgroups.c:42:72: required from here
/usr/include/c++/8/ext/new_allocator.h:136:4: error: use of deleted function 'cChannelGroup::cChannelGroup(const cChannelGroup&)'
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8/bits/char_traits.h:39,
from /usr/include/c++/8/string:40,
from config.h:4,
from channelgroups.c:1:
/usr/include/c++/8/bits/stl_algobase.h: In instantiation of 'static _OI std::__copy_move<true, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = cChannelGroup*; _OI = cChannelGroup*]':
/usr/include/c++/8/bits/stl_algobase.h:386:30: required from '_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = true; _II = cChannelGroup*; _OI = cChannelGroup*]'
/usr/include/c++/8/bits/stl_algobase.h:422:45: required from '_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = true; _II = __gnu_cxx::__normal_iterator<cChannelGroup*, std::vector<cChannelGroup> >; _OI = __gnu_cxx::__normal_iterator<cChannelGroup*, std::vector<cChannelGroup> >]'
/usr/include/c++/8/bits/stl_algobase.h:487:39: required from '_OI std::move(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<cChannelGroup*, std::vector<cChannelGroup> >; _OI = __gnu_cxx::__normal_iterator<cChannelGroup*, std::vector<cChannelGroup> >]'
/usr/include/c++/8/bits/vector.tcc:163:2: required from 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_erase(std::vector<_Tp, _Alloc>::iterator) [with _Tp = cChannelGroup; _Alloc = std::allocator<cChannelGroup>; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<cChannelGroup*, std::vector<cChannelGroup> >; typename std::_Vector_base<_Tp, _Alloc>::pointer = cChannelGroup*]'
/usr/include/c++/8/bits/stl_vector.h:1318:58: required from 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(std::vector<_Tp, _Alloc>::const_iterator) [with _Tp = cChannelGroup; _Alloc = std::allocator<cChannelGroup>; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<cChannelGroup*, std::vector<cChannelGroup> >; typename std::_Vector_base<_Tp, _Alloc>::pointer = cChannelGroup*; std::vector<_Tp, _Alloc>::const_iterator = __gnu_cxx::__normal_iterator<const cChannelGroup*, std::vector<cChannelGroup> >; typename __gnu_cxx::__alloc_traits<typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type>::const_pointer = const cChannelGroup*]'
channelgroups.c:69:39: required from here
/usr/include/c++/8/bits/stl_algobase.h:343:18: error: use of deleted function 'cChannelGroup& cChannelGroup::operator=(const cChannelGroup&)'
*__result = std::move(*__first);
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
In file included from channelgroups.c:2:
channelgroups.h:12:7: note: 'cChannelGroup& cChannelGroup::operator=(const cChannelGroup&)' is implicitly deleted because the default definition would be ill-formed:
class cChannelGroup : public cListObject {
^~~~~~~~~~~~~
channelgroups.h:12:7: error: 'cListObject& cListObject::operator=(const cListObject&)' is private within this context
In file included from /usr/include/vdr/i18n.h:14,
from /usr/include/vdr/plugin.h:13,
from config.h:5,
from channelgroups.c:1:
/usr/include/vdr/tools.h:498:16: note: declared private here
cListObject& operator= (const cListObject &ListObject) { abort(); return *this; } // no assignment operator!
^~~~~~~~
In file included from /usr/include/c++/8/vector:62,
from /usr/include/libskindesignerapi/skindesignerosdbase.h:5,
from channelgroups.h:6,
from channelgroups.c:2:
/usr/include/c++/8/bits/stl_construct.h: In instantiation of 'void std::_Construct(_T1*, _Args&& ...) [with _T1 = cChannelGroup; _Args = {cChannelGroup}]':
/usr/include/c++/8/bits/stl_uninitialized.h:83:18: required from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator<cChannelGroup*>; _ForwardIterator = cChannelGroup*; bool _TrivialValueTypes = false]'
/usr/include/c++/8/bits/stl_uninitialized.h:134:15: required from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::move_iterator<cChannelGroup*>; _ForwardIterator = cChannelGroup*]'
/usr/include/c++/8/bits/stl_uninitialized.h:289:37: required from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = std::move_iterator<cChannelGroup*>; _ForwardIterator = cChannelGroup*; _Tp = cChannelGroup]'
/usr/include/c++/8/bits/stl_uninitialized.h:311:2: required from '_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = cChannelGroup*; _ForwardIterator = cChannelGroup*; _Allocator = std::allocator<cChannelGroup>]'
/usr/include/c++/8/bits/vector.tcc:447:6: required from 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {cChannelGroup}; _Tp = cChannelGroup; _Alloc = std::allocator<cChannelGroup>; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<cChannelGroup*, std::vector<cChannelGroup> >; typename std::_Vector_base<_Tp, _Alloc>::pointer = cChannelGroup*]'
/usr/include/c++/8/bits/vector.tcc:109:4: required from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {cChannelGroup}; _Tp = cChannelGroup; _Alloc = std::allocator<cChannelGroup>]'
/usr/include/c++/8/bits/stl_vector.h:1091:9: required from 'void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = cChannelGroup; _Alloc = std::allocator<cChannelGroup>; std::vector<_Tp, _Alloc>::value_type = cChannelGroup]'
channelgroups.c:42:72: required from here
/usr/include/c++/8/bits/stl_construct.h:75:7: error: use of deleted function 'cChannelGroup::cChannelGroup(const cChannelGroup&)'
{ ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:106: channelgroups.o] Error 1
Alles anzeigen