Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Failure #8

Closed
SolarAquarion opened this issue Jun 12, 2018 · 20 comments
Closed

Build Failure #8

SolarAquarion opened this issue Jun 12, 2018 · 20 comments

Comments

@SolarAquarion
Copy link

[ 10%] Building CXX object src/plugins/CMakeFiles/plugins.dir/default_show_context_window_task.cpp.o
In file included from /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/embed.h:12,
from /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/plugins/default_show_context_window_task.cpp:1:
/home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/pybind11.h: In member function ‘void pybind11::cpp_function::initialize_generic(pybind11::detail::function_record*, const char*, const std::type_info* const*, pybind11::size_t)’:
/home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/pybind11.h:309:74: error: cast between incompatible function types from ‘PyObject* ()(PyObject, PyObject*, PyObject*)’ {aka ‘_object* ()(_object, _object*, _object*)’} to ‘PyCFunction’ {aka ‘_object* ()(_object, _object*)’} [-Werror=cast-function-type]
rec->def->ml_meth = reinterpret_cast(*dispatcher);
^
cc1plus: all warnings being treated as errors
make[2]: *** [src/plugins/CMakeFiles/plugins.dir/build.make:76: src/plugins/CMakeFiles/plugins.dir/default_show_context_window_task.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:516: src/plugins/CMakeFiles/plugins.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

@SolarAquarion
Copy link
Author

@stonewell

Scanning dependencies of target plugins
[  7%] Building CXX object src/plugins/CMakeFiles/plugins.dir/plugin_base.cpp.o
In file included from /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/plugins/plugin_base.h:6,
                 from /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/plugins/plugin_base.cpp:1:
/usr/include/python3.7m/context.h:10:11: error: expected constructor, destructor, or type conversion before ‘(’ token
 PyAPI_DATA(PyTypeObject) PyContext_Type;
           ^
/usr/include/python3.7m/context.h:13:11: error: expected constructor, destructor, or type conversion before ‘(’ token
 PyAPI_DATA(PyTypeObject) PyContextVar_Type;
           ^
/usr/include/python3.7m/context.h:16:11: error: expected constructor, destructor, or type conversion before ‘(’ token
 PyAPI_DATA(PyTypeObject) PyContextToken_Type;
           ^
/usr/include/python3.7m/context.h:25:25: error: expected constructor, destructor, or type conversion before ‘PyContext_New’
 PyAPI_FUNC(PyContext *) PyContext_New(void);
                         ^~~~~~~~~~~~~
/usr/include/python3.7m/context.h:26:25: error: expected constructor, destructor, or type conversion before ‘PyContext_Copy’
 PyAPI_FUNC(PyContext *) PyContext_Copy(PyContext *);
                         ^~~~~~~~~~~~~~
/usr/include/python3.7m/context.h:27:25: error: expected constructor, destructor, or type conversion before ‘PyContext_CopyCurrent’
 PyAPI_FUNC(PyContext *) PyContext_CopyCurrent(void);
                         ^~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.7m/context.h:29:17: error: expected constructor, destructor, or type conversion before ‘PyContext_Enter’
 PyAPI_FUNC(int) PyContext_Enter(PyContext *);
                 ^~~~~~~~~~~~~~~
/usr/include/python3.7m/context.h:30:17: error: expected constructor, destructor, or type conversion before ‘PyContext_Exit’
 PyAPI_FUNC(int) PyContext_Exit(PyContext *);
                 ^~~~~~~~~~~~~~
/usr/include/python3.7m/context.h:37:28: error: expected constructor, destructor, or type conversion before ‘PyContextVar_New’
 PyAPI_FUNC(PyContextVar *) PyContextVar_New(
                            ^~~~~~~~~~~~~~~~
/usr/include/python3.7m/context.h:56:17: error: expected constructor, destructor, or type conversion before ‘PyContextVar_Get’
 PyAPI_FUNC(int) PyContextVar_Get(
                 ^~~~~~~~~~~~~~~~
/usr/include/python3.7m/context.h:63:30: error: expected constructor, destructor, or type conversion before ‘PyContextVar_Set’
 PyAPI_FUNC(PyContextToken *) PyContextVar_Set(
                              ^~~~~~~~~~~~~~~~
/usr/include/python3.7m/context.h:70:17: error: expected constructor, destructor, or type conversion before ‘PyContextVar_Reset’
 PyAPI_FUNC(int) PyContextVar_Reset(
                 ^~~~~~~~~~~~~~~~~~
/usr/include/python3.7m/context.h:75:11: error: expected constructor, destructor, or type conversion before ‘(’ token
 PyAPI_FUNC(PyObject *) _PyContext_NewHamtForTests(void);
           ^
/usr/include/python3.7m/context.h:78:17: error: expected constructor, destructor, or type conversion before ‘PyContext_ClearFreeList’
 PyAPI_FUNC(int) PyContext_ClearFreeList(void);
                 ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/plugins/plugin_base.cpp:1:
/home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/plugins/plugin_base.h: In member function ‘virtual void PluginBase::InitPlugin(ContextPtr, AppConfigPtr)’:
/home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/plugins/plugin_base.h:30:33: error: invalid use of incomplete type ‘using element_type = class Context’ {aka ‘class Context’}
         bool app_debug = context->GetAppConfig()->GetEntryBool("app_debug", false);
                                 ^~
In file included from /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/plugins/../interface/plugin.h:3,
                 from /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/plugins/plugin_base.h:5,
                 from /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/plugins/plugin_base.cpp:1:
/home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/plugins/../interface/term_handles.h:11:17: note: forward declaration of ‘using element_type = class Context’ {aka ‘class Context’}
 DECL_SHARED_PTR(Context);
                 ^~~~~~~
/home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/plugins/../interface/term_handles.h:6:11: note: in definition of macro ‘DECL_SHARED_PTR’
     class class_name; \
           ^~~~~~~~~~
make[2]: *** [src/plugins/CMakeFiles/plugins.dir/build.make:63: src/plugins/CMakeFiles/plugins.dir/plugin_base.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:517: src/plugins/CMakeFiles/plugins.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

@stonewell
Copy link
Owner

could you try
make update_external
to update all external dependency to latest version?
looks like the pybind11 library does not update correctly

@SolarAquarion
Copy link
Author

SolarAquarion commented Aug 24, 2018 via email

@stonewell
Copy link
Owner

I think it caused by python3.7, I never test the pybind11 on 3.7, I am using 3.6. I will do some test see if I could fix the problem, in the mean time, could you try python 3.6

@SolarAquarion
Copy link
Author

SolarAquarion commented Aug 31, 2018 via email

@stonewell
Copy link
Owner

thanks, I am trying 3.7 and come back to you if I fix the problem

@stonewell
Copy link
Owner

I fixed python3.7 issue, please try again

@SolarAquarion
Copy link
Author

For some reason when building in a "chroot" CMAKE is not find wxgtk3 or xw-common

@SolarAquarion
Copy link
Author

[ 44%] Linking CXX shared library ../../../plugins/libterm_data_handler.so [ 44%] Built target term_data_handler Scanning dependencies of target wxglterm_ui [ 45%] Building CXX object src/external_plugins/term_ui/ui/CMakeFiles/wxglterm_ui.dir/draw_pane.cpp.o In file included from /usr/include/wx-3.0/wx/wx.h:17, from /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.h:3, from /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:6: /usr/include/wx-3.0/wx/list.h: In member function ‘wxObject* const& wxObjectList::const_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:874:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1116:5: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1195:1: note: in expansion of macro ‘WX_DECLARE_LIST_2’ WX_DECLARE_LIST_2(wxObject, wxObjectList, wxObjectListNode, ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h: In member function ‘wxObject* const& wxObjectList::const_reverse_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:966:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1116:5: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1195:1: note: in expansion of macro ‘WX_DECLARE_LIST_2’ WX_DECLARE_LIST_2(wxObject, wxObjectList, wxObjectListNode, ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h: In member function ‘wxChar* const& wxStringListBase::const_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:874:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1116:5: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1242:1: note: in expansion of macro ‘WX_DECLARE_LIST_2’ WX_DECLARE_LIST_2(wxChar, wxStringListBase, wxStringListNode, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h: In member function ‘wxChar* const& wxStringListBase::const_reverse_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:966:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1116:5: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1242:1: note: in expansion of macro ‘WX_DECLARE_LIST_2’ WX_DECLARE_LIST_2(wxChar, wxStringListBase, wxStringListNode, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/gdicmn.h: In member function ‘wxPoint* const& wxPointList::const_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:874:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1116:5: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1129:5: note: in expansion of macro ‘WX_DECLARE_LIST_2’ WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, decl) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/gdicmn.h:690:1: note: in expansion of macro ‘WX_DECLARE_LIST_WITH_DECL’ WX_DECLARE_LIST_WITH_DECL(wxPoint, wxPointList, class WXDLLIMPEXP_CORE); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/gdicmn.h: In member function ‘wxPoint* const& wxPointList::const_reverse_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:966:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1116:5: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1129:5: note: in expansion of macro ‘WX_DECLARE_LIST_2’ WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, decl) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/gdicmn.h:690:1: note: in expansion of macro ‘WX_DECLARE_LIST_WITH_DECL’ WX_DECLARE_LIST_WITH_DECL(wxPoint, wxPointList, class WXDLLIMPEXP_CORE); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/variant.h: In member function ‘wxVariant* const& wxVariantList::const_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:874:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1116:5: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1129:5: note: in expansion of macro ‘WX_DECLARE_LIST_2’ WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, decl) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/variant.h:101:1: note: in expansion of macro ‘WX_DECLARE_LIST_WITH_DECL’ WX_DECLARE_LIST_WITH_DECL(wxVariant, wxVariantList, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/variant.h: In member function ‘wxVariant* const& wxVariantList::const_reverse_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:966:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1116:5: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1129:5: note: in expansion of macro ‘WX_DECLARE_LIST_2’ WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, decl) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/variant.h:101:1: note: in expansion of macro ‘WX_DECLARE_LIST_WITH_DECL’ WX_DECLARE_LIST_WITH_DECL(wxVariant, wxVariantList, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/any.h: In member function ‘wxAny* const& wxAnyList::const_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:874:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1116:5: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1129:5: note: in expansion of macro ‘WX_DECLARE_LIST_2’ WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, decl) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/any.h:1113:1: note: in expansion of macro ‘WX_DECLARE_LIST_WITH_DECL’ WX_DECLARE_LIST_WITH_DECL(wxAny, wxAnyList, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/any.h: In member function ‘wxAny* const& wxAnyList::const_reverse_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:966:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1116:5: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1129:5: note: in expansion of macro ‘WX_DECLARE_LIST_2’ WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, decl) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/any.h:1113:1: note: in expansion of macro ‘WX_DECLARE_LIST_WITH_DECL’ WX_DECLARE_LIST_WITH_DECL(wxAny, wxAnyList, class WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/module.h: In member function ‘wxModule* const& wxModuleList::const_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:874:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1116:5: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1140:5: note: in expansion of macro ‘WX_DECLARE_LIST_2’ WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, class usergoo) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/module.h:21:1: note: in expansion of macro ‘WX_DECLARE_USER_EXPORTED_LIST’ WX_DECLARE_USER_EXPORTED_LIST(wxModule, wxModuleList, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/module.h: In member function ‘wxModule* const& wxModuleList::const_reverse_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:966:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1116:5: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1140:5: note: in expansion of macro ‘WX_DECLARE_LIST_2’ WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, class usergoo) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/module.h:21:1: note: in expansion of macro ‘WX_DECLARE_USER_EXPORTED_LIST’ WX_DECLARE_USER_EXPORTED_LIST(wxModule, wxModuleList, WXDLLIMPEXP_BASE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/window.h: In member function ‘wxWindow* const& wxWindowList::const_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:874:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/window.h:151:1: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(wxWindow, wxWindowBase, wxWindowList, wxWindowListNode, class WXDLLIMPEXP_CORE); ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/window.h: In member function ‘wxWindow* const& wxWindowList::const_reverse_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:966:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/window.h:151:1: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(wxWindow, wxWindowBase, wxWindowList, wxWindowListNode, class WXDLLIMPEXP_CORE); ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/menu.h: In member function ‘wxMenu* const& wxMenuList::const_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:874:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1116:5: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1129:5: note: in expansion of macro ‘WX_DECLARE_LIST_2’ WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, decl) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1132:5: note: in expansion of macro ‘WX_DECLARE_LIST_WITH_DECL’ WX_DECLARE_LIST_WITH_DECL(elementtype, listname, class WXDLLIMPEXP_CORE) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/menu.h:36:1: note: in expansion of macro ‘WX_DECLARE_EXPORTED_LIST’ WX_DECLARE_EXPORTED_LIST(wxMenu, wxMenuList); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/menu.h: In member function ‘wxMenu* const& wxMenuList::const_reverse_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:966:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1116:5: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1129:5: note: in expansion of macro ‘WX_DECLARE_LIST_2’ WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, decl) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1132:5: note: in expansion of macro ‘WX_DECLARE_LIST_WITH_DECL’ WX_DECLARE_LIST_WITH_DECL(elementtype, listname, class WXDLLIMPEXP_CORE) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/menu.h:36:1: note: in expansion of macro ‘WX_DECLARE_EXPORTED_LIST’ WX_DECLARE_EXPORTED_LIST(wxMenu, wxMenuList); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/menu.h: In member function ‘wxMenuItem* const& wxMenuItemList::const_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:874:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1116:5: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1129:5: note: in expansion of macro ‘WX_DECLARE_LIST_2’ WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, decl) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1132:5: note: in expansion of macro ‘WX_DECLARE_LIST_WITH_DECL’ WX_DECLARE_LIST_WITH_DECL(elementtype, listname, class WXDLLIMPEXP_CORE) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/menu.h:37:1: note: in expansion of macro ‘WX_DECLARE_EXPORTED_LIST’ WX_DECLARE_EXPORTED_LIST(wxMenuItem, wxMenuItemList); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/menu.h: In member function ‘wxMenuItem* const& wxMenuItemList::const_reverse_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:966:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1116:5: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1129:5: note: in expansion of macro ‘WX_DECLARE_LIST_2’ WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, decl) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1132:5: note: in expansion of macro ‘WX_DECLARE_LIST_WITH_DECL’ WX_DECLARE_LIST_WITH_DECL(elementtype, listname, class WXDLLIMPEXP_CORE) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/menu.h:37:1: note: in expansion of macro ‘WX_DECLARE_EXPORTED_LIST’ WX_DECLARE_EXPORTED_LIST(wxMenuItem, wxMenuItemList); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataobj.h: In member function ‘wxDataObjectSimple* const& wxSimpleDataObjectList::const_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:874:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1116:5: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1129:5: note: in expansion of macro ‘WX_DECLARE_LIST_2’ WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, decl) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1132:5: note: in expansion of macro ‘WX_DECLARE_LIST_WITH_DECL’ WX_DECLARE_LIST_WITH_DECL(elementtype, listname, class WXDLLIMPEXP_CORE) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataobj.h:261:1: note: in expansion of macro ‘WX_DECLARE_EXPORTED_LIST’ WX_DECLARE_EXPORTED_LIST(wxDataObjectSimple, wxSimpleDataObjectList); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataobj.h: In member function ‘wxDataObjectSimple* const& wxSimpleDataObjectList::const_reverse_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:966:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1116:5: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1129:5: note: in expansion of macro ‘WX_DECLARE_LIST_2’ WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, decl) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1132:5: note: in expansion of macro ‘WX_DECLARE_LIST_WITH_DECL’ WX_DECLARE_LIST_WITH_DECL(elementtype, listname, class WXDLLIMPEXP_CORE) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/dataobj.h:261:1: note: in expansion of macro ‘WX_DECLARE_EXPORTED_LIST’ WX_DECLARE_EXPORTED_LIST(wxDataObjectSimple, wxSimpleDataObjectList); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/gtk/radiobox.h: In member function ‘wxGTKRadioButtonInfo* const& wxRadioBoxButtonsInfoList::const_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:874:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1116:5: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1129:5: note: in expansion of macro ‘WX_DECLARE_LIST_2’ WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, decl) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1132:5: note: in expansion of macro ‘WX_DECLARE_LIST_WITH_DECL’ WX_DECLARE_LIST_WITH_DECL(elementtype, listname, class WXDLLIMPEXP_CORE) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/gtk/radiobox.h:18:1: note: in expansion of macro ‘WX_DECLARE_EXPORTED_LIST’ WX_DECLARE_EXPORTED_LIST(wxGTKRadioButtonInfo, wxRadioBoxButtonsInfoList); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/gtk/radiobox.h: In member function ‘wxGTKRadioButtonInfo* const& wxRadioBoxButtonsInfoList::const_reverse_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:966:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1116:5: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1129:5: note: in expansion of macro ‘WX_DECLARE_LIST_2’ WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, decl) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1132:5: note: in expansion of macro ‘WX_DECLARE_LIST_WITH_DECL’ WX_DECLARE_LIST_WITH_DECL(elementtype, listname, class WXDLLIMPEXP_CORE) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/gtk/radiobox.h:18:1: note: in expansion of macro ‘WX_DECLARE_EXPORTED_LIST’ WX_DECLARE_EXPORTED_LIST(wxGTKRadioButtonInfo, wxRadioBoxButtonsInfoList); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/tbarbase.h: In member function ‘wxToolBarToolBase* const& wxToolBarToolsList::const_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:874:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1116:5: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1129:5: note: in expansion of macro ‘WX_DECLARE_LIST_2’ WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, decl) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1132:5: note: in expansion of macro ‘WX_DECLARE_LIST_WITH_DECL’ WX_DECLARE_LIST_WITH_DECL(elementtype, listname, class WXDLLIMPEXP_CORE) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/tbarbase.h:272:1: note: in expansion of macro ‘WX_DECLARE_EXPORTED_LIST’ WX_DECLARE_EXPORTED_LIST(wxToolBarToolBase, wxToolBarToolsList); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/tbarbase.h: In member function ‘wxToolBarToolBase* const& wxToolBarToolsList::const_reverse_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:966:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1116:5: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1129:5: note: in expansion of macro ‘WX_DECLARE_LIST_2’ WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, decl) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1132:5: note: in expansion of macro ‘WX_DECLARE_LIST_WITH_DECL’ WX_DECLARE_LIST_WITH_DECL(elementtype, listname, class WXDLLIMPEXP_CORE) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/tbarbase.h:272:1: note: in expansion of macro ‘WX_DECLARE_EXPORTED_LIST’ WX_DECLARE_EXPORTED_LIST(wxToolBarToolBase, wxToolBarToolsList); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/sizer.h: In member function ‘wxSizerItem* const& wxSizerItemList::const_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:874:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1116:5: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1129:5: note: in expansion of macro ‘WX_DECLARE_LIST_2’ WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, decl) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1132:5: note: in expansion of macro ‘WX_DECLARE_LIST_WITH_DECL’ WX_DECLARE_LIST_WITH_DECL(elementtype, listname, class WXDLLIMPEXP_CORE) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/sizer.h:488:1: note: in expansion of macro ‘WX_DECLARE_EXPORTED_LIST’ WX_DECLARE_EXPORTED_LIST( wxSizerItem, wxSizerItemList ); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/sizer.h: In member function ‘wxSizerItem* const& wxSizerItemList::const_reverse_iterator::operator*() const’: /usr/include/wx-3.0/wx/list.h:966:60: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] { return *(pointer_type)m_node->GetDataPtr(); } \ ^ /usr/include/wx-3.0/wx/list.h:1111:5: note: in expansion of macro ‘WX_DECLARE_LIST_4’ WX_DECLARE_LIST_4(T, Tbase, name, nodetype, classexp, WX_LIST_PTROP_NONE) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1116:5: note: in expansion of macro ‘WX_DECLARE_LIST_3’ WX_DECLARE_LIST_3(elementtype, elementtype, listname, nodename, classexp) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1129:5: note: in expansion of macro ‘WX_DECLARE_LIST_2’ WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, decl) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/list.h:1132:5: note: in expansion of macro ‘WX_DECLARE_LIST_WITH_DECL’ WX_DECLARE_LIST_WITH_DECL(elementtype, listname, class WXDLLIMPEXP_CORE) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/sizer.h:488:1: note: in expansion of macro ‘WX_DECLARE_EXPORTED_LIST’ WX_DECLARE_EXPORTED_LIST( wxSizerItem, wxSizerItemList ); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/wx-3.0/wx/wx.h:24, from /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.h:3, from /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:6: /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp: At global scope: /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxPaintEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4163:26: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_PAINT(func) wx__DECLARE_EVT0(wxEVT_PAINT, wxPaintEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3916:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxPaintEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4163:56: note: in expansion of macro ‘wxPaintEventHandler’ #define EVT_PAINT(func) wx__DECLARE_EVT0(wxEVT_PAINT, wxPaintEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:37:9: note: in expansion of macro ‘EVT_PAINT’ EVT_PAINT(DrawPane::OnPaint) ^~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxSizeEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4154:25: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_SIZE(func) wx__DECLARE_EVT0(wxEVT_SIZE, wxSizeEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3912:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxSizeEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4154:54: note: in expansion of macro ‘wxSizeEventHandler’ #define EVT_SIZE(func) wx__DECLARE_EVT0(wxEVT_SIZE, wxSizeEventHandler(func)) ^~~~~~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:38:9: note: in expansion of macro ‘EVT_SIZE’ EVT_SIZE(DrawPane::OnSize) ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxKeyEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4167:29: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_KEY_DOWN(func) wx__DECLARE_EVT0(wxEVT_KEY_DOWN, wxKeyEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3924:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxCharEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3925:33: note: in expansion of macro ‘wxCharEventHandler’ #define wxKeyEventHandler(func) wxCharEventHandler(func) ^~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4167:62: note: in expansion of macro ‘wxKeyEventHandler’ #define EVT_KEY_DOWN(func) wx__DECLARE_EVT0(wxEVT_KEY_DOWN, wxKeyEventHandler(func)) ^~~~~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:39:9: note: in expansion of macro ‘EVT_KEY_DOWN’ EVT_KEY_DOWN(DrawPane::OnKeyDown) ^~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxKeyEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4168:27: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_KEY_UP(func) wx__DECLARE_EVT0(wxEVT_KEY_UP, wxKeyEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3924:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxCharEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3925:33: note: in expansion of macro ‘wxCharEventHandler’ #define wxKeyEventHandler(func) wxCharEventHandler(func) ^~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4168:58: note: in expansion of macro ‘wxKeyEventHandler’ #define EVT_KEY_UP(func) wx__DECLARE_EVT0(wxEVT_KEY_UP, wxKeyEventHandler(func)) ^~~~~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:40:9: note: in expansion of macro ‘EVT_KEY_UP’ EVT_KEY_UP(DrawPane::OnKeyUp) ^~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxKeyEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4166:25: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_CHAR(func) wx__DECLARE_EVT0(wxEVT_CHAR, wxCharEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3924:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxCharEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4166:54: note: in expansion of macro ‘wxCharEventHandler’ #define EVT_CHAR(func) wx__DECLARE_EVT0(wxEVT_CHAR, wxCharEventHandler(func)) ^~~~~~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:41:9: note: in expansion of macro ‘EVT_CHAR’ EVT_CHAR(DrawPane::OnChar) ^~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxEraseEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4165:37: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3920:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxEraseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4165:78: note: in expansion of macro ‘wxEraseEventHandler’ #define EVT_ERASE_BACKGROUND(func) wx__DECLARE_EVT0(wxEVT_ERASE_BACKGROUND, wxEraseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:42:9: note: in expansion of macro ‘EVT_ERASE_BACKGROUND’ EVT_ERASE_BACKGROUND(DrawPane::OnEraseBackground) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxTimerEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:192:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(wxEVT_TIMER, timerid, wxTimerEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:189:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxTimerEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/timer.h:192:44: note: in expansion of macro ‘wxTimerEventHandler’ wx__DECLARE_EVT1(wxEVT_TIMER, timerid, wxTimerEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:43:9: note: in expansion of macro ‘EVT_TIMER’ EVT_TIMER(TIMER_ID, DrawPane::OnTimer) ^~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxCommandEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4142:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(event, winid, wxCommandEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3906:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxCommandEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4142:36: note: in expansion of macro ‘wxCommandEventHandler’ wx__DECLARE_EVT1(event, winid, wxCommandEventHandler(func)) ^~~~~~~~~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:44:9: note: in expansion of macro ‘EVT_COMMAND’ EVT_COMMAND(wxID_ANY, MY_REFRESH_EVENT, DrawPane::OnRefreshEvent) ^~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxMouseEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4202:29: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_LEFT_DOWN(func) wx__DECLARE_EVT0(wxEVT_LEFT_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4202:63: note: in expansion of macro ‘wxMouseEventHandler’ #define EVT_LEFT_DOWN(func) wx__DECLARE_EVT0(wxEVT_LEFT_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4224:5: note: in expansion of macro ‘EVT_LEFT_DOWN’ EVT_LEFT_DOWN(func) \ ^~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:45:1: note: in expansion of macro ‘EVT_MOUSE_EVENTS’ EVT_MOUSE_EVENTS(DrawPane::OnMouseEvent) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxMouseEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4203:27: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_LEFT_UP(func) wx__DECLARE_EVT0(wxEVT_LEFT_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4203:59: note: in expansion of macro ‘wxMouseEventHandler’ #define EVT_LEFT_UP(func) wx__DECLARE_EVT0(wxEVT_LEFT_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4225:5: note: in expansion of macro ‘EVT_LEFT_UP’ EVT_LEFT_UP(func) \ ^~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:45:1: note: in expansion of macro ‘EVT_MOUSE_EVENTS’ EVT_MOUSE_EVENTS(DrawPane::OnMouseEvent) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxMouseEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4209:31: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_LEFT_DCLICK(func) wx__DECLARE_EVT0(wxEVT_LEFT_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4209:67: note: in expansion of macro ‘wxMouseEventHandler’ #define EVT_LEFT_DCLICK(func) wx__DECLARE_EVT0(wxEVT_LEFT_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4226:5: note: in expansion of macro ‘EVT_LEFT_DCLICK’ EVT_LEFT_DCLICK(func) \ ^~~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:45:1: note: in expansion of macro ‘EVT_MOUSE_EVENTS’ EVT_MOUSE_EVENTS(DrawPane::OnMouseEvent) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxMouseEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4204:31: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_MIDDLE_DOWN(func) wx__DECLARE_EVT0(wxEVT_MIDDLE_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4204:67: note: in expansion of macro ‘wxMouseEventHandler’ #define EVT_MIDDLE_DOWN(func) wx__DECLARE_EVT0(wxEVT_MIDDLE_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4227:5: note: in expansion of macro ‘EVT_MIDDLE_DOWN’ EVT_MIDDLE_DOWN(func) \ ^~~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:45:1: note: in expansion of macro ‘EVT_MOUSE_EVENTS’ EVT_MOUSE_EVENTS(DrawPane::OnMouseEvent) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxMouseEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4205:29: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_MIDDLE_UP(func) wx__DECLARE_EVT0(wxEVT_MIDDLE_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4205:63: note: in expansion of macro ‘wxMouseEventHandler’ #define EVT_MIDDLE_UP(func) wx__DECLARE_EVT0(wxEVT_MIDDLE_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4228:5: note: in expansion of macro ‘EVT_MIDDLE_UP’ EVT_MIDDLE_UP(func) \ ^~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:45:1: note: in expansion of macro ‘EVT_MOUSE_EVENTS’ EVT_MOUSE_EVENTS(DrawPane::OnMouseEvent) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxMouseEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4210:33: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_MIDDLE_DCLICK(func) wx__DECLARE_EVT0(wxEVT_MIDDLE_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4210:71: note: in expansion of macro ‘wxMouseEventHandler’ #define EVT_MIDDLE_DCLICK(func) wx__DECLARE_EVT0(wxEVT_MIDDLE_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4229:5: note: in expansion of macro ‘EVT_MIDDLE_DCLICK’ EVT_MIDDLE_DCLICK(func) \ ^~~~~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:45:1: note: in expansion of macro ‘EVT_MOUSE_EVENTS’ EVT_MOUSE_EVENTS(DrawPane::OnMouseEvent) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxMouseEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4206:30: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_RIGHT_DOWN(func) wx__DECLARE_EVT0(wxEVT_RIGHT_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4206:65: note: in expansion of macro ‘wxMouseEventHandler’ #define EVT_RIGHT_DOWN(func) wx__DECLARE_EVT0(wxEVT_RIGHT_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4230:5: note: in expansion of macro ‘EVT_RIGHT_DOWN’ EVT_RIGHT_DOWN(func) \ ^~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:45:1: note: in expansion of macro ‘EVT_MOUSE_EVENTS’ EVT_MOUSE_EVENTS(DrawPane::OnMouseEvent) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxMouseEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4207:28: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_RIGHT_UP(func) wx__DECLARE_EVT0(wxEVT_RIGHT_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4207:61: note: in expansion of macro ‘wxMouseEventHandler’ #define EVT_RIGHT_UP(func) wx__DECLARE_EVT0(wxEVT_RIGHT_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4231:5: note: in expansion of macro ‘EVT_RIGHT_UP’ EVT_RIGHT_UP(func) \ ^~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:45:1: note: in expansion of macro ‘EVT_MOUSE_EVENTS’ EVT_MOUSE_EVENTS(DrawPane::OnMouseEvent) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxMouseEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4211:32: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_RIGHT_DCLICK(func) wx__DECLARE_EVT0(wxEVT_RIGHT_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4211:69: note: in expansion of macro ‘wxMouseEventHandler’ #define EVT_RIGHT_DCLICK(func) wx__DECLARE_EVT0(wxEVT_RIGHT_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4232:5: note: in expansion of macro ‘EVT_RIGHT_DCLICK’ EVT_RIGHT_DCLICK(func) \ ^~~~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:45:1: note: in expansion of macro ‘EVT_MOUSE_EVENTS’ EVT_MOUSE_EVENTS(DrawPane::OnMouseEvent) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxMouseEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4215:35: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_MOUSE_AUX1_DOWN(func) wx__DECLARE_EVT0(wxEVT_AUX1_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4215:69: note: in expansion of macro ‘wxMouseEventHandler’ #define EVT_MOUSE_AUX1_DOWN(func) wx__DECLARE_EVT0(wxEVT_AUX1_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4233:5: note: in expansion of macro ‘EVT_MOUSE_AUX1_DOWN’ EVT_MOUSE_AUX1_DOWN(func) \ ^~~~~~~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:45:1: note: in expansion of macro ‘EVT_MOUSE_EVENTS’ EVT_MOUSE_EVENTS(DrawPane::OnMouseEvent) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxMouseEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4216:33: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_MOUSE_AUX1_UP(func) wx__DECLARE_EVT0(wxEVT_AUX1_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4216:65: note: in expansion of macro ‘wxMouseEventHandler’ #define EVT_MOUSE_AUX1_UP(func) wx__DECLARE_EVT0(wxEVT_AUX1_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4234:5: note: in expansion of macro ‘EVT_MOUSE_AUX1_UP’ EVT_MOUSE_AUX1_UP(func) \ ^~~~~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:45:1: note: in expansion of macro ‘EVT_MOUSE_EVENTS’ EVT_MOUSE_EVENTS(DrawPane::OnMouseEvent) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxMouseEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4217:37: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_MOUSE_AUX1_DCLICK(func) wx__DECLARE_EVT0(wxEVT_AUX1_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4217:73: note: in expansion of macro ‘wxMouseEventHandler’ #define EVT_MOUSE_AUX1_DCLICK(func) wx__DECLARE_EVT0(wxEVT_AUX1_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4235:5: note: in expansion of macro ‘EVT_MOUSE_AUX1_DCLICK’ EVT_MOUSE_AUX1_DCLICK(func) \ ^~~~~~~~~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:45:1: note: in expansion of macro ‘EVT_MOUSE_EVENTS’ EVT_MOUSE_EVENTS(DrawPane::OnMouseEvent) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxMouseEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4218:35: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_MOUSE_AUX2_DOWN(func) wx__DECLARE_EVT0(wxEVT_AUX2_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4218:69: note: in expansion of macro ‘wxMouseEventHandler’ #define EVT_MOUSE_AUX2_DOWN(func) wx__DECLARE_EVT0(wxEVT_AUX2_DOWN, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4236:5: note: in expansion of macro ‘EVT_MOUSE_AUX2_DOWN’ EVT_MOUSE_AUX2_DOWN(func) \ ^~~~~~~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:45:1: note: in expansion of macro ‘EVT_MOUSE_EVENTS’ EVT_MOUSE_EVENTS(DrawPane::OnMouseEvent) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxMouseEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4219:33: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_MOUSE_AUX2_UP(func) wx__DECLARE_EVT0(wxEVT_AUX2_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4219:65: note: in expansion of macro ‘wxMouseEventHandler’ #define EVT_MOUSE_AUX2_UP(func) wx__DECLARE_EVT0(wxEVT_AUX2_UP, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4237:5: note: in expansion of macro ‘EVT_MOUSE_AUX2_UP’ EVT_MOUSE_AUX2_UP(func) \ ^~~~~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:45:1: note: in expansion of macro ‘EVT_MOUSE_EVENTS’ EVT_MOUSE_EVENTS(DrawPane::OnMouseEvent) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxMouseEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4220:37: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_MOUSE_AUX2_DCLICK(func) wx__DECLARE_EVT0(wxEVT_AUX2_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4220:73: note: in expansion of macro ‘wxMouseEventHandler’ #define EVT_MOUSE_AUX2_DCLICK(func) wx__DECLARE_EVT0(wxEVT_AUX2_DCLICK, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4238:5: note: in expansion of macro ‘EVT_MOUSE_AUX2_DCLICK’ EVT_MOUSE_AUX2_DCLICK(func) \ ^~~~~~~~~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:45:1: note: in expansion of macro ‘EVT_MOUSE_EVENTS’ EVT_MOUSE_EVENTS(DrawPane::OnMouseEvent) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxMouseEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4208:26: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_MOTION(func) wx__DECLARE_EVT0(wxEVT_MOTION, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4208:57: note: in expansion of macro ‘wxMouseEventHandler’ #define EVT_MOTION(func) wx__DECLARE_EVT0(wxEVT_MOTION, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4239:5: note: in expansion of macro ‘EVT_MOTION’ EVT_MOTION(func) \ ^~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:45:1: note: in expansion of macro ‘EVT_MOUSE_EVENTS’ EVT_MOUSE_EVENTS(DrawPane::OnMouseEvent) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxMouseEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4212:32: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_LEAVE_WINDOW(func) wx__DECLARE_EVT0(wxEVT_LEAVE_WINDOW, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4212:69: note: in expansion of macro ‘wxMouseEventHandler’ #define EVT_LEAVE_WINDOW(func) wx__DECLARE_EVT0(wxEVT_LEAVE_WINDOW, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4240:5: note: in expansion of macro ‘EVT_LEAVE_WINDOW’ EVT_LEAVE_WINDOW(func) \ ^~~~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:45:1: note: in expansion of macro ‘EVT_MOUSE_EVENTS’ EVT_MOUSE_EVENTS(DrawPane::OnMouseEvent) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxMouseEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4213:32: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_ENTER_WINDOW(func) wx__DECLARE_EVT0(wxEVT_ENTER_WINDOW, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4213:69: note: in expansion of macro ‘wxMouseEventHandler’ #define EVT_ENTER_WINDOW(func) wx__DECLARE_EVT0(wxEVT_ENTER_WINDOW, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4241:5: note: in expansion of macro ‘EVT_ENTER_WINDOW’ EVT_ENTER_WINDOW(func) \ ^~~~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:45:1: note: in expansion of macro ‘EVT_MOUSE_EVENTS’ EVT_MOUSE_EVENTS(DrawPane::OnMouseEvent) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxMouseEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:91:73: note: in definition of macro ‘wxDECLARE_EVENT_TABLE_ENTRY’ wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) ^~ /usr/include/wx-3.0/wx/event.h:4129:5: note: in expansion of macro ‘wx__DECLARE_EVT2’ wx__DECLARE_EVT2(evt, id, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4131:5: note: in expansion of macro ‘wx__DECLARE_EVT1’ wx__DECLARE_EVT1(evt, wxID_ANY, fn) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4214:30: note: in expansion of macro ‘wx__DECLARE_EVT0’ #define EVT_MOUSEWHEEL(func) wx__DECLARE_EVT0(wxEVT_MOUSEWHEEL, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3922:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxMouseEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4214:65: note: in expansion of macro ‘wxMouseEventHandler’ #define EVT_MOUSEWHEEL(func) wx__DECLARE_EVT0(wxEVT_MOUSEWHEEL, wxMouseEventHandler(func)) ^~~~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:4242:5: note: in expansion of macro ‘EVT_MOUSEWHEEL’ EVT_MOUSEWHEEL(func) ^~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:45:1: note: in expansion of macro ‘EVT_MOUSE_EVENTS’ EVT_MOUSE_EVENTS(DrawPane::OnMouseEvent) ^~~~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp: In constructor ‘DrawPane::DrawPane(wxFrame*, TermWindow*)’: /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxIdleEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3837:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxIdleEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:63:36: note: in expansion of macro ‘wxIdleEventHandler’ Connect( wxID_ANY, wxEVT_IDLE, wxIdleEventHandler(DrawPane::OnIdle) ); ^~~~~~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp: In destructor ‘virtual DrawPane::~DrawPane()’: /usr/include/wx-3.0/wx/event.h:88:59: error: cast between incompatible pointer to member types from ‘void (wxEvtHandler::*)(wxIdleEvent&)’ to ‘wxEventFunction’ {aka ‘void (wxEvtHandler::*)(wxEvent&)’} [-Werror=cast-function-type] #define wxStaticCastEvent(type, val) static_cast<type>(val) ^ /usr/include/wx-3.0/wx/event.h:148:49: note: in expansion of macro ‘wxStaticCastEvent’ ( wxObjectEventFunction )( wxEventFunction )wxStaticCastEvent( functype, &func ) ^~~~~~~~~~~~~~~~~ /usr/include/wx-3.0/wx/event.h:3837:5: note: in expansion of macro ‘wxEVENT_HANDLER_CAST’ wxEVENT_HANDLER_CAST(wxIdleEventFunction, func) ^~~~~~~~~~~~~~~~~~~~ /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/external_plugins/term_ui/ui/draw_pane.cpp:68:29: note: in expansion of macro ‘wxIdleEventHandler’ Disconnect( wxEVT_IDLE, wxIdleEventHandler(DrawPane::OnIdle) ); ^~~~~~~~~~~~~~~~~~ cc1plus: all warnings being treated as errors make[2]: *** [src/external_plugins/term_ui/ui/CMakeFiles/wxglterm_ui.dir/build.make:63: src/external_plugins/term_ui/ui/CMakeFiles/wxglterm_ui.dir/draw_pane.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:882: src/external_plugins/term_ui/ui/CMakeFiles/wxglterm_ui.dir/all] Error 2 make: *** [Makefile:152: all] Error 2 ==> ERROR: A failure occurred in build().

@SolarAquarion
Copy link
Author

After building it not in chroot i got this

@stonewell
Copy link
Owner

I have no idea what's the problem, it works fine on my machine. could you show me the wxgtk version number?

@SolarAquarion
Copy link
Author

local/wxgtk-common 3.0.4-1
Common libraries and headers for wxgtk2 and wxgtk3

@stonewell
Copy link
Owner

I am using debian and the package I am using is libwxgtk3.0-dev, it works fine.

@SolarAquarion
Copy link
Author

but it's all about "pkgver"

@stonewell
Copy link
Owner

sorry, I never use arch before, I could not find the reason of build failure

@SolarAquarion
Copy link
Author

SolarAquarion commented Sep 2, 2018 via email

@SolarAquarion
Copy link
Author

It's a compiler error i think

@SolarAquarion
Copy link
Author

It's definitely a compiler error, do you use gcc7 or gcc8

@SolarAquarion
Copy link
Author

There's something going on in the code that isn't allowing certain compilers to compile the code

@stonewell
Copy link
Owner

Thanks, it is caused by gcc-8, I just upgrade my linux box and get the same error, the wxwidget 3.0 code under gcc-8 generate more warnings than before.
I have add a new compilation flag to ignore the warning, please update to latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants