Hello, I downloaded the sourcecode for the latest version of Code::Blocks and tried to build on MX-Linux 19 (Debian-Buster based), got the following errors:
watchesdlg.cpp:89:30: error: invalid use of incomplete type ‘class wxPGEditor’
class cbDummyEditor : public wxPGEditor
^~~~~~~~~~
In file included from /usr/include/wx-3.1-unofficial/wx/propgrid/property.h:18,
from /usr/include/wx-3.1-unofficial/wx/propgrid/propgrid.h:22,
from watchesdlg.cpp:29:
/usr/include/wx-3.1-unofficial/wx/propgrid/propgriddefs.h:197:32: note: forward declaration of ‘class wxPGEditor’
class WXDLLIMPEXP_FWD_PROPGRID wxPGEditor;
^~~~~~~~~~
watchesdlg.cpp:99:5: error: ‘wxPGWindowList’ does not name a type; did you mean ‘wxWindowList’?
wxPGWindowList CreateControls(wxPropertyGrid* propgrid, wxPGProperty* property,
^~~~~~~~~~~~~~
wxWindowList
watchesdlg.cpp:94:27: error: ‘wxPG_CONST_WXCHAR_PTR cbDummyEditor::GetName() const’ marked ‘override’, but does not override
wxPG_CONST_WXCHAR_PTR GetName() const override
^~~~~~~
watchesdlg.cpp:105:10: error: ‘void cbDummyEditor::UpdateControl(wxPGProperty*, wxWindow*) const’ marked ‘override’, but does not override
void UpdateControl(wxPGProperty* property, wxWindow* ctrl) const override {}
^~~~~~~~~~~~~
watchesdlg.cpp:106:10: error: ‘bool cbDummyEditor::OnEvent(wxPropertyGrid*, wxPGProperty*, wxWindow*, wxEvent&) const’ marked ‘override’, but does not override
bool OnEvent(wxPropertyGrid* propgrid, wxPGProperty* property, wxWindow* wnd_primary, wxEvent& event) const override
^~~~~~~
watchesdlg.cpp:111:10: error: ‘bool cbDummyEditor::GetValueFromControl(wxVariant&, wxPGProperty*, wxWindow*) const’ marked ‘override’, but does not override
bool GetValueFromControl( wxVariant& variant, wxPGProperty* property, wxWindow* ctrl ) const override
^~~~~~~~~~~~~~~~~~~
watchesdlg.cpp:115:10: error: ‘void cbDummyEditor::SetValueToUnspecified(wxPGProperty*, wxWindow*) const’ marked ‘override’, but does not override
void SetValueToUnspecified( wxPGProperty* property, wxWindow* ctrl ) const override {}
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/wx-3.1-unofficial/wx/object.h:57,
from /usr/include/wx-3.1-unofficial/wx/wx.h:15,
from /usr/include/wx-3.1-unofficial/wx/wxprec.h:42,
from ./sdk_common.h:37,
from ./sdk_precomp.h:13,
from ./sdk.h:17:
/usr/include/wx-3.1-unofficial/wx/rtti.h:166:24: error: incomplete type ‘wxPGEditor’ used in nested name specifier
&basename::ms_classInfo, \
^~~~~~~~~~~~
/usr/include/wx-3.1-unofficial/wx/rtti.h:175:5: note: in expansion of macro ‘wxIMPLEMENT_CLASS_COMMON’
wxIMPLEMENT_CLASS_COMMON(name, basename, NULL, func)
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.1-unofficial/wx/rtti.h:186:5: note: in expansion of macro ‘wxIMPLEMENT_CLASS_COMMON1’
wxIMPLEMENT_CLASS_COMMON1(name, basename, name::wxCreateObject) \
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.1-unofficial/wx/object.h:462:69: note: in expansion of macro ‘wxIMPLEMENT_DYNAMIC_CLASS’
#define IMPLEMENT_DYNAMIC_CLASS(n,b) wxIMPLEMENT_DYNAMIC_CLASS(n,b)
^~~~~~~~~~~~~~~~~~~~~~~~~
watchesdlg.cpp:118:1: note: in expansion of macro ‘IMPLEMENT_DYNAMIC_CLASS’
IMPLEMENT_DYNAMIC_CLASS(cbDummyEditor, wxPGEditor);
^~~~~~~~~~~~~~~~~~~~~~~
watchesdlg.cpp: In static member function ‘static wxObject* cbDummyEditor::wxCreateObject()’:
watchesdlg.cpp:118:25: error: cannot convert ‘cbDummyEditor*’ to ‘wxObject*’ in return
IMPLEMENT_DYNAMIC_CLASS(cbDummyEditor, wxPGEditor);
^~~~~~~~~~~~~
/usr/include/wx-3.1-unofficial/wx/rtti.h:188:22: note: in definition of macro ‘wxIMPLEMENT_DYNAMIC_CLASS’
{ return new name; }
^~~~
watchesdlg.cpp:118:1: note: in expansion of macro ‘IMPLEMENT_DYNAMIC_CLASS’
IMPLEMENT_DYNAMIC_CLASS(cbDummyEditor, wxPGEditor);
^~~~~~~~~~~~~~~~~~~~~~~
watchesdlg.cpp: At global scope:
watchesdlg.cpp:123:1: error: expected class-name before ‘{’ token
{
^
watchesdlg.cpp:131:13: error: ‘wxPGWindowList’ does not name a type; did you mean ‘wxWindowList’?
virtual wxPGWindowList CreateControls(wxPropertyGrid* propgrid, wxPGProperty* property,
^~~~~~~~~~~~~~
wxWindowList
In file included from /usr/include/wx-3.1-unofficial/wx/object.h:57,
from /usr/include/wx-3.1-unofficial/wx/wx.h:15,
from /usr/include/wx-3.1-unofficial/wx/wxprec.h:42,
from ./sdk_common.h:37,
from ./sdk_precomp.h:13,
from ./sdk.h:17:
watchesdlg.cpp:144:59: error: ‘wxPGTextCtrlAndButtonEditor’ has not been declared
IMPLEMENT_DYNAMIC_CLASS(cbTextCtrlAndButtonTooltipEditor, wxPGTextCtrlAndButtonEditor);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.1-unofficial/wx/rtti.h:166:14: note: in definition of macro ‘wxIMPLEMENT_CLASS_COMMON’
&basename::ms_classInfo, \
^~~~~~~~
/usr/include/wx-3.1-unofficial/wx/rtti.h:186:5: note: in expansion of macro ‘wxIMPLEMENT_CLASS_COMMON1’
wxIMPLEMENT_CLASS_COMMON1(name, basename, name::wxCreateObject) \
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.1-unofficial/wx/object.h:462:69: note: in expansion of macro ‘wxIMPLEMENT_DYNAMIC_CLASS’
#define IMPLEMENT_DYNAMIC_CLASS(n,b) wxIMPLEMENT_DYNAMIC_CLASS(n,b)
^~~~~~~~~~~~~~~~~~~~~~~~~
watchesdlg.cpp:144:1: note: in expansion of macro ‘IMPLEMENT_DYNAMIC_CLASS’
IMPLEMENT_DYNAMIC_CLASS(cbTextCtrlAndButtonTooltipEditor, wxPGTextCtrlAndButtonEditor);
^~~~~~~~~~~~~~~~~~~~~~~
watchesdlg.cpp: In static member function ‘static wxObject* cbTextCtrlAndButtonTooltipEditor::wxCreateObject()’:
watchesdlg.cpp:144:25: error: cannot convert ‘cbTextCtrlAndButtonTooltipEditor*’ to ‘wxObject*’ in return
IMPLEMENT_DYNAMIC_CLASS(cbTextCtrlAndButtonTooltipEditor, wxPGTextCtrlAndButtonEditor);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.1-unofficial/wx/rtti.h:188:22: note: in definition of macro ‘wxIMPLEMENT_DYNAMIC_CLASS’
{ return new name; }
^~~~
watchesdlg.cpp:144:1: note: in expansion of macro ‘IMPLEMENT_DYNAMIC_CLASS’
IMPLEMENT_DYNAMIC_CLASS(cbTextCtrlAndButtonTooltipEditor, wxPGTextCtrlAndButtonEditor);
^~~~~~~~~~~~~~~~~~~~~~~
watchesdlg.cpp: At global scope:
watchesdlg.cpp:178:38: error: invalid use of incomplete type ‘class wxPGEditorDialogAdapter’
class WatchRawDialogAdapter : public wxPGEditorDialogAdapter
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/wx-3.1-unofficial/wx/propgrid/property.h:18,
from /usr/include/wx-3.1-unofficial/wx/propgrid/propgrid.h:22,
from watchesdlg.cpp:29:
/usr/include/wx-3.1-unofficial/wx/propgrid/propgriddefs.h:210:32: note: forward declaration of ‘class wxPGEditorDialogAdapter’
class WXDLLIMPEXP_FWD_PROPGRID wxPGEditorDialogAdapter;
^~~~~~~~~~~~~~~~~~~~~~~
watchesdlg.cpp: In member function ‘virtual wxPGEditorDialogAdapter* WatchesProperty::GetEditorDialog() const’:
watchesdlg.cpp:343:38: error: cannot convert ‘WatchRawDialogAdapter*’ to ‘wxPGEditorDialogAdapter*’ in return
return new WatchRawDialogAdapter();
^
watchesdlg.cpp: In constructor ‘WatchesDlg::WatchesDlg()’:
watchesdlg.cpp:390:111: error: no matching function for call to ‘wxPropertyGrid::RegisterEditorClass(cbTextCtrlAndButtonTooltipEditor*, bool)’
tor = wxPropertyGrid::RegisterEditorClass(new cbTextCtrlAndButtonTooltipEditor, true);
^
In file included from watchesdlg.cpp:29:
/usr/include/wx-3.1-unofficial/wx/propgrid/propgrid.h:928:24: note: candidate: ‘static wxPGEditor* wxPropertyGrid::RegisterEditorClass(wxPGEditor*, bool)’
static wxPGEditor* RegisterEditorClass( wxPGEditor* editor,
^~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.1-unofficial/wx/propgrid/propgrid.h:928:24: note: no known conversion for argument 1 from ‘cbTextCtrlAndButtonTooltipEditor*’ to ‘wxPGEditor*’
watchesdlg.cpp:401:89: error: no matching function for call to ‘wxPropertyGrid::RegisterEditorClass(cbDummyEditor*, bool)’
watchesDummyEditor = wxPropertyGrid::RegisterEditorClass(new cbDummyEditor, true);
^
In file included from watchesdlg.cpp:29:
/usr/include/wx-3.1-unofficial/wx/propgrid/propgrid.h:928:24: note: candidate: ‘static wxPGEditor* wxPropertyGrid::RegisterEditorClass(wxPGEditor*, bool)’
static wxPGEditor* RegisterEditorClass( wxPGEditor* editor,
^~~~~~~~~~~~~~~~~~~
/usr/include/wx-3.1-unofficial/wx/propgrid/propgrid.h:928:24: note: no known conversion for argument 1 from ‘cbDummyEditor*’ to ‘wxPGEditor*’
make[3]: *** [Makefile:746: watchesdlg.o] Error 1
make[3]: Leaving directory '/mnt/data/Linux Software/codeblocks-17.12/src/src'
make[2]: *** [Makefile:825: all-recursive] Error 1
make[2]: Leaving directory '/mnt/data/Linux Software/codeblocks-17.12/src/src'
make[1]: *** [Makefile:527: all-recursive] Error 1
make[1]: Leaving directory '/mnt/data/Linux Software/codeblocks-17.12/src'
make: *** [Makefile:660: all-recursive] Error 1