Ich versuche krampfhaft im Netz was zu finden, um die Meldung
Code
In file included from complexcontent.c:1:
In copy constructor ‘cSimpleContent::cSimpleContent(const cSimpleContent&)’,
inlined from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = cSimpleContent; _Args = {cSimpleContent}; _Tp = cSimpleContent]’ at /usr/include/c++/11/ext/new_allocator.h:162:4,
inlined from ‘static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = cSimpleContent; _Args = {cSimpleContent}; _Tp = cSimpleContent]’ at /usr/include/c++/11/bits/alloc_traits.h:516:17,
inlined from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {cSimpleContent}; _Tp = cSimpleContent; _Alloc = std::allocator<cSimpleContent>]’ at /usr/include/c++/11/bits/vector.tcc:115:30,
inlined from ‘void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = cSimpleContent; _Alloc = std::allocator<cSimpleContent>]’ at /usr/include/c++/11/bits/stl_vector.h:1204:21,
inlined from ‘void cComplexContent::AddText(const char*, bool, cRect, tColor, tColor, cFont*, int, int, int)’ at complexcontent.c:153:21:
complexcontent.h:19:7: warning: ‘<unnamed>.cSimpleContent::ContentType’ may be used uninitialized [-Wmaybe-uninitialized]
19 | class cSimpleContent
| ^~~~~~~~~~~~~~
complexcontent.c: In member function ‘void cComplexContent::AddText(const char*, bool, cRect, tColor, tColor, cFont*, int, int, int)’:
complexcontent.c:153:37: note: ‘<anonymous>’ declared here
153 | Contents.push_back(cSimpleContent());
|
Alles anzeigen
weg zu bekommen. Ich hab keine Ahnung wo ich da ansetzen muss. Leider kenn ich mich mit Programmieren nicht aus. Mit mühe und Not kann ich kleinere Änderungen einbauen. Bei anderen Skin's habe ich mich schon umgeschaut, aber nichts gefunden. Das mit dem ComplexContent scheint nur flatPlus zu haben…
Das komplette Buildlog ist hier: https://launchpadlibrarian.net…dr0~jammy_BUILDING.txt.gz
Den Fehler:
Code
warning: deleting object of polymorphic class type ‘cTextScroll’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
konnte ich schon lösen. Vielleicht hat ja jemand ne Idee? GIT in der Signatur