built the latest version, it is much cleaner now, still several warnings noticed:
/home/tom/new/neumodvb/neumowxsvg/src/cairo/SVGCanvasCairo.cpp: In member function ‘void wxSVGCanvasCairo::SetClipPath(const wxCSSPrimitiveValue&, wxSVGMatrix&, wxSVGSVGElement&)’:
/home/tom/new/neumodvb/neumowxsvg/src/cairo/SVGCanvasCairo.cpp:593:50: warning: ‘this’ pointer is null [-Wnonnull]
593 | if (!clipPathElem && clipPathElem->GetDtd() != wxSVG_CLIPPATH_ELEMENT)
| ~~~~~~~~~~~~~~~~~~~~^~
/home/tom/new/neumodvb/neumowxsvg/src/SVGDocument.cpp: In member function ‘void wxSVGDocument::SetTitle(const wxString&)’:
/home/tom/new/neumodvb/neumowxsvg/src/SVGDocument.cpp:82:31: warning: ‘this’ pointer is null [-Wnonnull]
82 | elem->AddChild(new wxSvgXmlNode(wxSVGXML_TEXT_NODE, wxEmptyString, title));
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/tom/new/neumodvb/neumowxsvg/include/wxSVG/Document.h:18,
from /home/tom/new/neumodvb/neumowxsvg/include/wxSVG/SVGDocument.h:17,
from /home/tom/new/neumodvb/neumowxsvg/src/SVGDocument.cpp:11:
/home/tom/new/neumodvb/neumowxsvg/include/wxSVGXML/svgxml.h:138:10: note: in a call to non-static member function ‘void wxSvgXmlNode::AddChild(wxSvgXmlNode*)’
138 | void AddChild(wxSvgXmlNode* child);
| ^~~~~~~~
cc1: warning: command-line option ‘-fsized-deallocation’ is valid for C++/ObjC++ but not for C
clang: warning: /home/tom/new/neumodvb/pybind11/include: 'linker' input unused [-Wunused-command-line-argument]
built the latest version, it is much cleaner now, still several warnings noticed:
cc1: warning: command-line option ‘-fsized-deallocation’ is valid for C++/ObjC++ but not for Cclang: warning: /home/tom/new/neumodvb/pybind11/include: 'linker' input unused [-Wunused-command-line-argument]