+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/medit-1.2.0nb20/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/medit-1.2.0nb20/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for medit-1.2.0nb20 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/build/editors/medit/work/medit-1.2.0' Making all in po gmake[2]: Entering directory '/home/pbulk/build/editors/medit/work/medit-1.2.0/po' GEN cs.gmo GEN de.gmo GEN es.gmo GEN fi.gmo GEN fr.gmo GEN ja.gmo GEN nl.gmo GEN pl.gmo GEN ru.gmo GEN zh_CN.gmo gmake[2]: Leaving directory '/home/pbulk/build/editors/medit/work/medit-1.2.0/po' Making all in po-gsv gmake[2]: Entering directory '/home/pbulk/build/editors/medit/work/medit-1.2.0/po-gsv' GEN ar.gmo GEN as.gmo GEN ast.gmo GEN az.gmo GEN be.gmo GEN bg.gmo GEN bn.gmo GEN bn_IN.gmo GEN bs.gmo GEN ca.gmo GEN ca@valencia.gmo GEN cs.gmo GEN cy.gmo GEN da.gmo GEN de.gmo GEN dz.gmo GEN el.gmo GEN en_CA.gmo GEN en_GB.gmo GEN en@shaw.gmo GEN es.gmo GEN et.gmo GEN eu.gmo GEN fa.gmo GEN fi.gmo GEN fr.gmo GEN ga.gmo GEN gl.gmo GEN gu.gmo GEN he.gmo GEN hi.gmo GEN hr.gmo GEN hu.gmo GEN id.gmo GEN it.gmo GEN ja.gmo GEN kn.gmo GEN ko.gmo GEN lt.gmo GEN lv.gmo GEN mai.gmo GEN mg.gmo GEN mk.gmo GEN ml.gmo GEN mn.gmo GEN mr.gmo GEN ms.gmo GEN nb.gmo GEN ne.gmo GEN nl.gmo GEN nn.gmo GEN oc.gmo GEN or.gmo GEN pa.gmo GEN pl.gmo GEN pt.gmo GEN pt_BR.gmo GEN ro.gmo GEN ru.gmo GEN rw.gmo GEN si.gmo GEN sk.gmo GEN sl.gmo GEN sq.gmo GEN sr.gmo GEN sr@latin.gmo GEN sv.gmo GEN ta.gmo GEN te.gmo GEN th.gmo GEN tr.gmo GEN ug.gmo GEN uk.gmo GEN vi.gmo GEN xh.gmo GEN zh_CN.gmo GEN zh_HK.gmo GEN zh_TW.gmo gmake[2]: Leaving directory '/home/pbulk/build/editors/medit/work/medit-1.2.0/po-gsv' Making all in api gmake[2]: Entering directory '/home/pbulk/build/editors/medit/work/medit-1.2.0/api' /opt/pkg/bin/gmake all-am gmake[3]: Entering directory '/home/pbulk/build/editors/medit/work/medit-1.2.0/api' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/home/pbulk/build/editors/medit/work/medit-1.2.0/api' gmake[2]: Leaving directory '/home/pbulk/build/editors/medit/work/medit-1.2.0/api' Making all in doc gmake[2]: Entering directory '/home/pbulk/build/editors/medit/work/medit-1.2.0/doc' /opt/pkg/bin/gmake all-am gmake[3]: Entering directory '/home/pbulk/build/editors/medit/work/medit-1.2.0/doc' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/home/pbulk/build/editors/medit/work/medit-1.2.0/doc' gmake[2]: Leaving directory '/home/pbulk/build/editors/medit/work/medit-1.2.0/doc' Making all in moo gmake[2]: Entering directory '/home/pbulk/build/editors/medit/work/medit-1.2.0/moo' GEN marshals.h INFO: Reading ./marshals.list... WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead GEN mooedit/moopluginprefs-gxml.h GEN mooedit/mooeditprefs-view-gxml.h GEN mooedit/mooeditprefs-file-gxml.h GEN mooedit/mooeditprefs-filters-gxml.h GEN mooedit/mooeditprefs-general-gxml.h GEN mooedit/mooeditprefs-langs-gxml.h GEN mooedit/mooeditprogress-gxml.h GEN mooedit/mooeditsavemult-gxml.h GEN mooedit/mootryencoding-gxml.h GEN mooedit/mooprint-gxml.h GEN mooedit/mootextfind-gxml.h GEN mooedit/mootextfind-prompt-gxml.h GEN mooedit/mootextgotoline-gxml.h GEN mooedit/mooquicksearch-gxml.h GEN mooedit/moostatusbar-gxml.h GEN mooedit/medit-ui.h GEN mooedit/mooedit-ui.h GEN marshals.c INFO: Reading ./marshals.list... WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead WARNING: The token "BOOL" is deprecated; use "BOOLEAN" instead GEN mooutils/mooaccelprefs-gxml.h GEN mooutils/mooaccelbutton-gxml.h GEN mooutils/moologwindow-gxml.h GEN stock-moo.h GEN moofileicon-symlink.h GEN moofileview/moofileview-drop-gxml.h GEN moofileview/moofileprops-gxml.h GEN moofileview/moocreatefolder-gxml.h GEN moofileview/moobookmark-editor-gxml.h GEN moofileview/moofileview-ui.h GEN mooapp/mooappabout-dialog-gxml.h GEN mooapp/mooappabout-license-gxml.h GEN mooapp/mooappabout-credits-gxml.h GEN mooapp-credits.h GEN moolua/lua-default-init.h GEN moolua/lua-module-init.h GEN moolua/lua-plugin-init.h GEN moopython/medit-python-init.h GEN plugins/moofileselector-prefs-gxml.h GEN plugins/moofileselector-gxml.h GEN plugins/moofind-gxml.h GEN plugins/moogrep-gxml.h GEN plugins/usertools/mooedittools-exe-gxml.h GEN plugins/usertools/mooedittools-script-gxml.h GEN plugins/usertools/moousertools-gxml.h GEN plugins/usertools/lua-tool-setup.h GEN plugins/usertools/menu.xml GEN plugins/usertools/context.xml /opt/pkg/bin/gmake all-am gmake[3]: Entering directory '/home/pbulk/build/editors/medit/work/medit-1.2.0/moo' CC main.o In file included from ./mooedit/mooedittypes.h:7, from ./mooedit/mooedit.h:21, from ./mooedit/mooeditor.h:19, from ./mooapp/mooapp.h:19, from medit-app/main.c:17: medit-app/main.c: In function 'medit_app_get_type': ./mooutils/mootype-macros.h:27:40: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 27 | (GClassInitFunc) type_name##_class_intern_init, \ | ^ ./mooutils/mootype-macros.h:51:5: note: in expansion of macro '_MOO_REGISTER_TYPE' 51 | _MOO_REGISTER_TYPE(TypeName,type_name,TYPE_PARENT,0) \ | ^~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:60:5: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC_WITH_CODE' 60 | MOO_DEFINE_TYPE_STATIC_WITH_CODE (TypeName, type_name, TYPE_PARENT, {}) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medit-app/main.c:71:1: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC' 71 | MOO_DEFINE_TYPE_STATIC (MeditApp, medit_app, MOO_TYPE_APP) | ^~~~~~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:29:40: warning: cast between incompatible function types from 'void (*)(MeditApp *)' {aka 'void (*)(struct _MooApp *)'} to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type] 29 | (GInstanceInitFunc) type_name##_init, \ | ^ ./mooutils/mootype-macros.h:51:5: note: in expansion of macro '_MOO_REGISTER_TYPE' 51 | _MOO_REGISTER_TYPE(TypeName,type_name,TYPE_PARENT,0) \ | ^~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:60:5: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC_WITH_CODE' 60 | MOO_DEFINE_TYPE_STATIC_WITH_CODE (TypeName, type_name, TYPE_PARENT, {}) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ medit-app/main.c:71:1: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC' 71 | MOO_DEFINE_TYPE_STATIC (MeditApp, medit_app, MOO_TYPE_APP) | ^~~~~~~~~~~~~~~~~~~~~~ medit-app/main.c: In function 'parse_args': medit-app/main.c:279:48: warning: cast between incompatible function types from 'gboolean (*)(void)' {aka 'int (*)(void)'} to 'gboolean (*)(GOptionContext *, GOptionGroup *, void *, GError **)' {aka 'int (*)(struct _GOptionContext *, struct _GOptionGroup *, void *, struct _GError **)'} [-Wcast-function-type] 279 | g_option_group_set_parse_hooks (grp, NULL, (GOptionParseFunc) post_parse_func); | ^ CC mooeditview.o CC mooeditview-script.o CC mooeditaction.o CC mooeditaction-factory.o mooedit/mooeditaction-factory.c: In function 'moo_edit_class_new_actionv': mooedit/mooeditaction-factory.c:424:46: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 424 | g_ptr_array_foreach (doc_conditions, (GFunc) g_free, NULL); | ^ mooedit/mooeditaction-factory.c:430:47: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 430 | g_ptr_array_foreach (view_conditions, (GFunc) g_free, NULL); | ^ CC mooeditbookmark.o mooedit/mooeditbookmark.c: In function 'update_bookmarks': mooedit/mooeditbookmark.c:127:31: warning: cast between incompatible function types from 'void (*)(MooEditBookmark *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 127 | g_slist_foreach (deleted, (GFunc) disconnect_bookmark, NULL); | ^ mooedit/mooeditbookmark.c:128:31: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 128 | g_slist_foreach (deleted, (GFunc) g_object_unref, NULL); | ^ CC mooedit.o mooedit/mooedit.c: In function '_moo_edit_queue_recheck_config_all': mooedit/mooedit.c:1193:35: warning: cast between incompatible function types from 'gboolean (*)(void)' {aka 'int (*)(void)'} to 'gboolean (*)(void *)' {aka 'int (*)(void *)'} [-Wcast-function-type] 1193 | gdk_threads_add_idle ((GSourceFunc) moo_edit_apply_config_all_in_idle, NULL); | ^ CC mooeditconfig.o mooedit/mooeditconfig.c: In function 'global_changed': mooedit/mooeditconfig.c:257:33: warning: cast between incompatible function types from 'void (*)(GObject *)' {aka 'void (*)(struct _GObject *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 257 | g_slist_foreach (instances, (GFunc) g_object_freeze_notify, NULL); | ^ mooedit/mooeditconfig.c:259:33: warning: cast between incompatible function types from 'void (*)(GObject *)' {aka 'void (*)(struct _GObject *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 259 | g_slist_foreach (instances, (GFunc) g_object_thaw_notify, NULL); | ^ mooedit/mooeditconfig.c: In function 'moo_edit_config_install_setting': mooedit/mooeditconfig.c:307:33: warning: cast between incompatible function types from 'void (*)(GObject *)' {aka 'void (*)(struct _GObject *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 307 | g_slist_foreach (instances, (GFunc) g_object_freeze_notify, NULL); | ^ mooedit/mooeditconfig.c:309:33: warning: cast between incompatible function types from 'void (*)(GObject *)' {aka 'void (*)(struct _GObject *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 309 | g_slist_foreach (instances, (GFunc) g_object_thaw_notify, NULL); | ^ CC mooeditdialogs.o mooedit/mooeditdialogs.c: In function 'files_treeview_init': mooedit/mooeditdialogs.c:278:46: warning: cast between incompatible function types from 'void (*)(GtkTreeViewColumn *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *)' {aka 'void (*)(struct _GtkTreeViewColumn *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *)'} to 'void (*)(GtkTreeViewColumn *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *, void *)' {aka 'void (*)(struct _GtkTreeViewColumn *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *, void *)'} [-Wcast-function-type] 278 | (GtkTreeCellDataFunc) name_data_func, | ^ CC mooedit-enum-types.o CC mooedit-fileops.o mooedit/mooedit-fileops.c: In function '_moo_edit_set_file': mooedit/mooedit-fileops.c:1138:33: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1138 | g_slist_foreach (free_list, (GFunc) g_free, NULL); | ^ mooedit/mooedit-fileops.c: In function 'moo_convert_file_data_to_utf8': mooedit/mooedit-fileops.c:1438:37: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1438 | g_slist_foreach (encodings, (GFunc) g_free, NULL); | ^ CC mooeditfiltersettings.o mooedit/mooeditfiltersettings.c: In function '_moo_edit_filter_free': mooedit/mooeditfiltersettings.c:308:51: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 308 | g_slist_foreach (filter->u.langs, (GFunc) g_free, NULL); | ^ mooedit/mooeditfiltersettings.c: In function 'filter_settings_store_free': mooedit/mooeditfiltersettings.c:450:39: warning: cast between incompatible function types from 'void (*)(FilterSetting *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 450 | g_slist_foreach (store->settings, (GFunc) filter_setting_free, NULL); | ^ CC mooedithistoryitem.o CC mooedit-script.o CC mooeditprefs.o CC mooeditprefspage.o mooedit/mooeditprefspage.c: In function 'scheme_combo_init': mooedit/mooeditprefspage.c:379:41: warning: cast between incompatible function types from 'void (*)(GtkCellLayout *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *)' {aka 'void (*)(struct _GtkCellLayout *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *)'} to 'void (*)(GtkCellLayout *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *, void *)' {aka 'void (*)(struct _GtkCellLayout *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *, void *)'} [-Wcast-function-type] 379 | (GtkCellLayoutDataFunc) scheme_combo_data_func, | ^ mooedit/mooeditprefspage.c:383:28: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 383 | g_slist_foreach (list, (GFunc) g_object_unref, NULL); | ^ mooedit/mooeditprefspage.c: In function 'list_to_string': mooedit/mooeditprefspage.c:516:32: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 516 | g_slist_foreach (list, (GFunc) g_free, NULL); | ^ mooedit/mooeditprefspage.c: In function 'create_lang_model': mooedit/mooeditprefspage.c:608:29: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 608 | g_slist_foreach (langs, (GFunc) g_object_unref, NULL); | ^ mooedit/mooeditprefspage.c: In function 'populate_filter_settings_store': mooedit/mooeditprefspage.c:926:31: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 926 | g_slist_foreach (strings, (GFunc) g_free, NULL); | ^ mooedit/mooeditprefspage.c: In function 'create_filter_column': mooedit/mooeditprefspage.c:999:50: warning: cast between incompatible function types from 'void (*)(GtkTreeViewColumn *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *)' {aka 'void (*)(struct _GtkTreeViewColumn *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *)'} to 'void (*)(GtkTreeViewColumn *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *, void *)' {aka 'void (*)(struct _GtkTreeViewColumn *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *, void *)'} [-Wcast-function-type] 999 | (GtkTreeCellDataFunc) filter_icon_data_func, | ^ mooedit/mooeditprefspage.c: In function 'apply_filter_settings': mooedit/mooeditprefspage.c:1082:31: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1082 | g_slist_foreach (strings, (GFunc) g_free, NULL); | ^ CC mooeditprogress.o In file included from ./mooedit/mooedittypes.h:7, from ./mooedit/mooedit.h:21, from ./mooedit/mooeditprogress.h:4, from mooedit/mooeditprogress.c:1: mooedit/mooeditprogress.c: In function 'moo_edit_progress_get_type': ./mooutils/mootype-macros.h:27:40: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 27 | (GClassInitFunc) type_name##_class_intern_init, \ | ^ ./mooutils/mootype-macros.h:51:5: note: in expansion of macro '_MOO_REGISTER_TYPE' 51 | _MOO_REGISTER_TYPE(TypeName,type_name,TYPE_PARENT,0) \ | ^~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:60:5: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC_WITH_CODE' 60 | MOO_DEFINE_TYPE_STATIC_WITH_CODE (TypeName, type_name, TYPE_PARENT, {}) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mooedit/mooeditprogress.c:36:1: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC' 36 | MOO_DEFINE_TYPE_STATIC (MooEditProgress, moo_edit_progress, GTK_TYPE_ALIGNMENT) | ^~~~~~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:29:40: warning: cast between incompatible function types from 'void (*)(MooEditProgress *)' to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type] 29 | (GInstanceInitFunc) type_name##_init, \ | ^ ./mooutils/mootype-macros.h:51:5: note: in expansion of macro '_MOO_REGISTER_TYPE' 51 | _MOO_REGISTER_TYPE(TypeName,type_name,TYPE_PARENT,0) \ | ^~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:60:5: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC_WITH_CODE' 60 | MOO_DEFINE_TYPE_STATIC_WITH_CODE (TypeName, type_name, TYPE_PARENT, {}) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mooedit/mooeditprogress.c:36:1: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC' 36 | MOO_DEFINE_TYPE_STATIC (MooEditProgress, moo_edit_progress, GTK_TYPE_ALIGNMENT) | ^~~~~~~~~~~~~~~~~~~~~~ CC mooedittab.o CC mooeditwindow.o mooedit/mooeditwindow.c: In function 'moo_edit_window_class_init': mooedit/mooeditwindow.c:450:41: warning: cast between incompatible function types from 'GtkAction * (*)(MooEditWindow *)' {aka 'struct _GtkAction * (*)(MooEditWindow *)'} to 'GtkAction * (*)(MooWindow *, void *)' {aka 'struct _GtkAction * (*)(struct _MooWindow *, void *)'} [-Wcast-function-type] 450 | (MooWindowActionFunc) create_reopen_with_encoding_action, | ^ mooedit/mooeditwindow.c:454:41: warning: cast between incompatible function types from 'GtkAction * (*)(MooEditWindow *)' {aka 'struct _GtkAction * (*)(MooEditWindow *)'} to 'GtkAction * (*)(MooWindow *, void *)' {aka 'struct _GtkAction * (*)(struct _MooWindow *, void *)'} [-Wcast-function-type] 454 | (MooWindowActionFunc) create_doc_encoding_action, | ^ mooedit/mooeditwindow.c:458:41: warning: cast between incompatible function types from 'GtkAction * (*)(MooEditWindow *)' {aka 'struct _GtkAction * (*)(MooEditWindow *)'} to 'GtkAction * (*)(MooWindow *, void *)' {aka 'struct _GtkAction * (*)(struct _MooWindow *, void *)'} [-Wcast-function-type] 458 | (MooWindowActionFunc) create_doc_line_end_action, | ^ mooedit/mooeditwindow.c:823:41: warning: cast between incompatible function types from 'GtkAction * (*)(MooEditWindow *)' {aka 'struct _GtkAction * (*)(MooEditWindow *)'} to 'GtkAction * (*)(MooWindow *, void *)' {aka 'struct _GtkAction * (*)(struct _MooWindow *, void *)'} [-Wcast-function-type] 823 | (MooWindowActionFunc) create_lang_action, | ^ mooedit/mooeditwindow.c: In function 'moo_edit_window_destroy': mooedit/mooeditwindow.c:889:46: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 889 | g_slist_foreach (window->priv->jobs, (GFunc) g_free, NULL); | ^ mooedit/mooeditwindow.c: In function 'create_lang_action': mooedit/mooeditwindow.c:4015:29: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 4015 | g_slist_foreach (langs, (GFunc) g_object_unref, NULL); | ^ mooedit/mooeditwindow.c:4017:32: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 4017 | g_slist_foreach (sections, (GFunc) g_free, NULL); | ^ CC mooeditfileinfo.o CC moofold.o CC mooindenter.o CC moolang.o CC moolangmgr.o mooedit/moolangmgr.c: In function 'string_list_free': mooedit/moolangmgr.c:202:28: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 202 | g_slist_foreach (list, (GFunc) g_free, NULL); | ^ mooedit/moolangmgr.c: In function 'get_lang_by_extension': mooedit/moolangmgr.c:295:29: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 295 | g_slist_foreach (langs, (GFunc) g_object_unref, NULL); | ^ mooedit/moolangmgr.c: In function 'get_lang_for_mime_type': mooedit/moolangmgr.c:497:29: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 497 | g_slist_foreach (langs, (GFunc) g_object_unref, NULL); | ^ mooedit/moolangmgr.c: In function 'read_langs': mooedit/moolangmgr.c:529:20: warning: assignment to 'MooLang *' from incompatible pointer type 'GtkSourceLanguage *' {aka 'struct _GtkSourceLanguage *'} [-Wincompatible-pointer-types] 529 | info->lang = g_object_ref (lang); | ^ CC moolinebuffer.o CC moolinemark.o CC mooplugin.o mooedit/mooplugin.c: In function 'moo_plugin_get_type': mooedit/mooplugin.c:132:13: warning: cast between incompatible function types from 'void (*)(MooPluginClass *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 132 | (GClassInitFunc) moo_plugin_class_init, | ^ mooedit/mooplugin.c: In function 'moo_win_plugin_get_type': mooedit/mooplugin.c:159:13: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 159 | (GClassInitFunc) some_plugin_class_init, | ^ mooedit/mooplugin.c: In function 'moo_doc_plugin_get_type': mooedit/mooplugin.c:186:13: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 186 | (GClassInitFunc) some_plugin_class_init, | ^ mooedit/mooplugin.c: In function 'moo_plugin_shutdown': mooedit/mooplugin.c:975:28: warning: cast between incompatible function types from 'void * (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 975 | g_slist_foreach (list, (GFunc) g_object_ref, NULL); | ^ mooedit/mooplugin.c: In function 'sync_pages': mooedit/mooplugin.c:1313:34: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1313 | g_slist_foreach (plugin_ids, (GFunc) g_free, NULL); | ^ CC mooplugin-loader.o CC mootextbtree.o CC mootextbuffer.o mooedit/mootextbuffer.c: In function 'marks_moved_or_deleted': mooedit/mootextbuffer.c:653:29: warning: cast between incompatible function types from 'void * (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 653 | g_slist_foreach (moved, (GFunc) g_object_ref, NULL); | ^ mooedit/mootextbuffer.c:654:31: warning: cast between incompatible function types from 'void * (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 654 | g_slist_foreach (deleted, (GFunc) g_object_ref, NULL); | ^ mooedit/mootextbuffer.c:669:31: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 669 | g_slist_foreach (deleted, (GFunc) g_object_unref, NULL); | ^ mooedit/mootextbuffer.c:670:29: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 670 | g_slist_foreach (moved, (GFunc) g_object_unref, NULL); | ^ CC mootextfind.o CC mootextprint.o mooedit/mootextprint.c: In function 'hf_format_free': mooedit/mootextprint.c:2119:42: warning: cast between incompatible function types from 'void (*)(HFFormatChunk *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2119 | g_slist_foreach (format->chunks, (GFunc) hf_format_chunk_free, NULL); | ^ CC mootextsearch.o CC mootextstylescheme.o CC mootextview.o mooedit/mootextview.c: In function 'moo_text_view_unrealize': mooedit/mootextview.c:2116:46: warning: cast between incompatible function types from 'void (*)(MooLineMark *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2116 | g_slist_foreach (view->priv->line_marks, (GFunc) _moo_line_mark_unrealize, NULL); | ^ mooedit/mootextview.c: In function 'moo_text_view_size_allocate': mooedit/mootextview.c:3725:31: warning: this statement may fall through [-Wimplicit-fallthrough=] 3725 | child_alloc.x = MAX (allocation->width - border_width - right, 0); mooedit/mootextview.c:3726:13: note: here 3726 | case MOO_TEXT_VIEW_POS_LEFT: | ^~~~ mooedit/mootextview.c:3732:31: warning: this statement may fall through [-Wimplicit-fallthrough=] 3732 | child_alloc.y = MAX (allocation->height - bottom - border_width, 0); mooedit/mootextview.c:3733:13: note: here 3733 | case MOO_TEXT_VIEW_POS_TOP: | ^~~~ CC mootextview-input.o CC mooeditor.o CC mooeditor-tests.o CC xdgmimealias.o CC xdgmime.o xdgmime/xdgmime.c: In function 'xdg_mime_init': xdgmime/xdgmime.c:395:32: warning: cast between incompatible function types from 'int (*)(const char *)' to 'int (*)(const char *, void *)' [-Wcast-function-type] 395 | xdg_run_command_on_dirs ((XdgDirectoryFunc) xdg_mime_init_from_directory, | ^ CC xdgmimecache.o xdgmime/xdgmimecache.c: In function 'cache_glob_lookup_literal': xdgmime/xdgmimecache.c:357:19: warning: unused parameter 'n_mime_types' [-Wunused-parameter] 357 | int n_mime_types) | ~~~~~~~~~~~~^~~~~~~~~~~~ CC xdgmimeglob.o CC xdgmimeicon.o CC xdgmimemagic.o CC xdgmimeparent.o CC mooutils-thread.o mooutils/mooutils-thread.c: In function 'got_data': mooutils/mooutils-thread.c:145:33: warning: cast between incompatible function types from 'void (*)(void *, EventDataQueue *)' to 'void (*)(void *, void *, void *)' [-Wcast-function-type] 145 | g_hash_table_foreach (data, (GHFunc) invoke_callback, NULL); | ^ In file included from mooutils/mooutils-thread.c:20: mooutils/mooutils-thread.c: In function 'moo_async_job_get_type': ./mooutils/mootype-macros.h:27:40: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 27 | (GClassInitFunc) type_name##_class_intern_init, \ | ^ ./mooutils/mootype-macros.h:51:5: note: in expansion of macro '_MOO_REGISTER_TYPE' 51 | _MOO_REGISTER_TYPE(TypeName,type_name,TYPE_PARENT,0) \ | ^~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:60:5: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC_WITH_CODE' 60 | MOO_DEFINE_TYPE_STATIC_WITH_CODE (TypeName, type_name, TYPE_PARENT, {}) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mooutils/mooutils-thread.c:407:1: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC' 407 | MOO_DEFINE_TYPE_STATIC (MooAsyncJob, moo_async_job, G_TYPE_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:29:40: warning: cast between incompatible function types from 'void (*)(MooAsyncJob *)' to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type] 29 | (GInstanceInitFunc) type_name##_init, \ | ^ ./mooutils/mootype-macros.h:51:5: note: in expansion of macro '_MOO_REGISTER_TYPE' 51 | _MOO_REGISTER_TYPE(TypeName,type_name,TYPE_PARENT,0) \ | ^~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:60:5: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC_WITH_CODE' 60 | MOO_DEFINE_TYPE_STATIC_WITH_CODE (TypeName, type_name, TYPE_PARENT, {}) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mooutils/mooutils-thread.c:407:1: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC' 407 | MOO_DEFINE_TYPE_STATIC (MooAsyncJob, moo_async_job, G_TYPE_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~ CC moohistorymgr.o mooutils/moohistorymgr.c: In function 'moo_history_mgr_dispose': mooutils/moohistorymgr.c:211:63: warning: cast between incompatible function types from 'void (*)(MooHistoryItem *)' {aka 'void (*)(struct _MooHistoryItem *)'} to 'void (*)(MooHistoryItem *, void *)' {aka 'void (*)(struct _MooHistoryItem *, void *)'} [-Wcast-function-type] 211 | moo_history_item_queue_foreach (mgr->priv->files, (MooHistoryItemListFunc) moo_history_item_free, NULL); | ^ mooutils/moohistorymgr.c: In function 'open_selected': mooutils/moohistorymgr.c:1339:29: warning: cast between incompatible function types from 'void (*)(MooHistoryItem *)' {aka 'void (*)(struct _MooHistoryItem *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 1339 | g_slist_foreach (items, (GFunc) moo_history_item_free, NULL); | ^ mooutils/moohistorymgr.c: In function 'idle_loader_free': mooutils/moohistorymgr.c:1400:49: warning: cast between incompatible function types from 'void (*)(MooHistoryItem *)' {aka 'void (*)(struct _MooHistoryItem *)'} to 'void (*)(MooHistoryItem *, void *)' {aka 'void (*)(struct _MooHistoryItem *, void *)'} [-Wcast-function-type] 1400 | moo_history_item_list_foreach (data->items, (MooHistoryItemListFunc) moo_history_item_free, NULL); | ^ CC mooaccel.o mooutils/mooaccel.c: In function 'moo_test_mooaccel': mooutils/mooaccel.c:1039:47: warning: cast between incompatible function types from 'gboolean (*)(void)' {aka 'int (*)(void)'} to 'gboolean (*)(void *)' {aka 'int (*)(void *)'} [-Wcast-function-type] 1039 | (MooTestSuiteInit) test_suite_init, | ^ CC mooaccelbutton.o CC mooaccelprefs.o In file included from mooutils/mooaccelprefs.c:26: mooutils/mooaccelprefs.c: In function '_moo_accel_prefs_page_get_type': ./mooutils/mootype-macros.h:27:40: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 27 | (GClassInitFunc) type_name##_class_intern_init, \ | ^ ./mooutils/mootype-macros.h:51:5: note: in expansion of macro '_MOO_REGISTER_TYPE' 51 | _MOO_REGISTER_TYPE(TypeName,type_name,TYPE_PARENT,0) \ | ^~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:60:5: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC_WITH_CODE' 60 | MOO_DEFINE_TYPE_STATIC_WITH_CODE (TypeName, type_name, TYPE_PARENT, {}) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mooutils/mooaccelprefs.c:55:1: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC' 55 | MOO_DEFINE_TYPE_STATIC (MooAccelPrefsPage, _moo_accel_prefs_page, MOO_TYPE_PREFS_PAGE) | ^~~~~~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:29:40: warning: cast between incompatible function types from 'void (*)(MooAccelPrefsPage *)' to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type] 29 | (GInstanceInitFunc) type_name##_init, \ | ^ ./mooutils/mootype-macros.h:51:5: note: in expansion of macro '_MOO_REGISTER_TYPE' 51 | _MOO_REGISTER_TYPE(TypeName,type_name,TYPE_PARENT,0) \ | ^~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:60:5: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC_WITH_CODE' 60 | MOO_DEFINE_TYPE_STATIC_WITH_CODE (TypeName, type_name, TYPE_PARENT, {}) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mooutils/mooaccelprefs.c:55:1: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC' 55 | MOO_DEFINE_TYPE_STATIC (MooAccelPrefsPage, _moo_accel_prefs_page, MOO_TYPE_PREFS_PAGE) | ^~~~~~~~~~~~~~~~~~~~~~ mooutils/mooaccelprefs.c: In function '_moo_accel_prefs_page_init': mooutils/mooaccelprefs.c:286:46: warning: cast between incompatible function types from 'void (*)(GtkTreeViewColumn *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *)' {aka 'void (*)(struct _GtkTreeViewColumn *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *)'} to 'void (*)(GtkTreeViewColumn *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *, void *)' {aka 'void (*)(struct _GtkTreeViewColumn *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *, void *)'} [-Wcast-function-type] 286 | (GtkTreeCellDataFunc) global_cell_data_func, | ^ mooutils/mooaccelprefs.c: In function 'moo_accel_prefs_page_apply': mooutils/mooaccelprefs.c:374:42: warning: cast between incompatible function types from 'void (*)(GtkAction *, Shortcut *)' {aka 'void (*)(struct _GtkAction *, Shortcut *)'} to 'void (*)(void *, void *, void *)' [-Wcast-function-type] 374 | g_hash_table_foreach (page->changed, (GHFunc) apply_one, NULL); | ^ mooutils/mooaccelprefs.c:375:49: warning: cast between incompatible function types from '__attribute__((const)) gboolean (*)(void)' {aka '__attribute__((const)) int (*)(void)'} to 'gboolean (*)(void *, void *, void *)' {aka 'int (*)(void *, void *, void *)'} [-Wcast-function-type] 375 | g_hash_table_foreach_remove (page->changed, (GHRFunc) gtk_true, NULL); | ^ mooutils/mooaccelprefs.c:377:29: warning: cast between incompatible function types from 'gboolean (*)(GtkTreeModel *, GtkTreePath *, GtkTreeIter *)' {aka 'int (*)(struct _GtkTreeModel *, struct _GtkTreePath *, struct _GtkTreeIter *)'} to 'gboolean (*)(GtkTreeModel *, GtkTreePath *, GtkTreeIter *, void *)' {aka 'int (*)(struct _GtkTreeModel *, struct _GtkTreePath *, struct _GtkTreeIter *, void *)'} [-Wcast-function-type] 377 | (GtkTreeModelForeachFunc) apply_global, | ^ CC mooaction.o mooutils/mooaction.c: In function 'moo_action_get_type': mooutils/mooaction.c:95:13: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 95 | (GClassInitFunc) type_name##_class_intern_init, \ | ^ mooutils/mooaction.c:118:1: note: in expansion of macro 'DEFINE_ACTION_TYPE' 118 | DEFINE_ACTION_TYPE (MooAction, moo_action, GTK_TYPE_ACTION) | ^~~~~~~~~~~~~~~~~~ mooutils/mooaction.c:100:13: warning: cast between incompatible function types from 'void (*)(MooAction *)' {aka 'void (*)(struct _MooAction *)'} to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type] 100 | (GInstanceInitFunc) type_name##_init, \ | ^ mooutils/mooaction.c:118:1: note: in expansion of macro 'DEFINE_ACTION_TYPE' 118 | DEFINE_ACTION_TYPE (MooAction, moo_action, GTK_TYPE_ACTION) | ^~~~~~~~~~~~~~~~~~ mooutils/mooaction.c: In function 'moo_toggle_action_get_type': mooutils/mooaction.c:95:13: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 95 | (GClassInitFunc) type_name##_class_intern_init, \ | ^ mooutils/mooaction.c:119:1: note: in expansion of macro 'DEFINE_ACTION_TYPE' 119 | DEFINE_ACTION_TYPE (MooToggleAction, moo_toggle_action, GTK_TYPE_TOGGLE_ACTION) | ^~~~~~~~~~~~~~~~~~ mooutils/mooaction.c:100:13: warning: cast between incompatible function types from 'void (*)(MooToggleAction *)' {aka 'void (*)(struct _MooToggleAction *)'} to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type] 100 | (GInstanceInitFunc) type_name##_init, \ | ^ mooutils/mooaction.c:119:1: note: in expansion of macro 'DEFINE_ACTION_TYPE' 119 | DEFINE_ACTION_TYPE (MooToggleAction, moo_toggle_action, GTK_TYPE_TOGGLE_ACTION) | ^~~~~~~~~~~~~~~~~~ mooutils/mooaction.c: In function 'moo_radio_action_get_type': mooutils/mooaction.c:95:13: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 95 | (GClassInitFunc) type_name##_class_intern_init, \ | ^ mooutils/mooaction.c:120:1: note: in expansion of macro 'DEFINE_ACTION_TYPE' 120 | DEFINE_ACTION_TYPE (MooRadioAction, moo_radio_action, GTK_TYPE_RADIO_ACTION) | ^~~~~~~~~~~~~~~~~~ mooutils/mooaction.c:100:13: warning: cast between incompatible function types from 'void (*)(MooRadioAction *)' {aka 'void (*)(struct _MooRadioAction *)'} to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type] 100 | (GInstanceInitFunc) type_name##_init, \ | ^ mooutils/mooaction.c:120:1: note: in expansion of macro 'DEFINE_ACTION_TYPE' 120 | DEFINE_ACTION_TYPE (MooRadioAction, moo_radio_action, GTK_TYPE_RADIO_ACTION) | ^~~~~~~~~~~~~~~~~~ CC mooactionbase.o mooutils/mooactionbase.c: In function 'moo_action_base_get_type': mooutils/mooactionbase.c:140:13: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 140 | (GClassInitFunc) class_init, | ^ mooutils/mooactionbase.c: In function 'sync_proxies_use_underline': mooutils/mooactionbase.c:390:31: warning: cast between incompatible function types from 'void * (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 390 | g_slist_foreach (proxies, (GFunc) g_object_ref, NULL); | ^ CC mooactioncollection.o CC mooactionfactory.o CC mooactiongroup.o CC mooapp-ipc.o mooutils/mooapp-ipc.c: In function 'dispatch': mooutils/mooapp-ipc.c:275:40: warning: cast between incompatible function types from 'void (*)(ClientInfo *)' to 'void (*)(ClientInfo *, void *)' [-Wcast-function-type] 275 | client_info_list_foreach (clients, (ClientInfoListFunc) client_info_ref, NULL); | ^ CC mooappinput.o mooutils/mooappinput.c: In function 'moo_app_input_free': mooutils/mooappinput.c:146:33: warning: cast between incompatible function types from 'void (*)(InputChannel *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 146 | g_slist_foreach (ch->pipes, (GFunc) input_channel_free, NULL); | ^ mooutils/mooappinput.c: In function 'input_channel_shutdown': mooutils/mooappinput.c:574:39: warning: cast between incompatible function types from 'void (*)(Connection *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 574 | g_slist_foreach (ch->connections, (GFunc) connection_free, NULL); | ^ CC moobigpaned.o mooutils/moobigpaned.c: In function 'config_free': mooutils/moobigpaned.c:1624:56: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1624 | g_slist_foreach (config->paned[pos].order, (GFunc) g_free, NULL); | ^ CC mooclosure.o mooutils/mooclosure.c: In function 'moo_closure_signal_new': mooutils/mooclosure.c:207:58: warning: cast between incompatible function types from 'void (*)(MooClosureSignal *)' to 'void (*)(void *, GObject *)' {aka 'void (*)(void *, struct _GObject *)'} [-Wcast-function-type] 207 | cl->object = _moo_object_ptr_new (G_OBJECT (object), (GWeakNotify) object_died, cl); | ^ mooutils/mooclosure.c: In function 'moo_closure_simple_new': mooutils/mooclosure.c:279:39: warning: cast between incompatible function types from 'void (*)(MooClosureSimple *)' to 'void (*)(void *, GObject *)' {aka 'void (*)(void *, struct _GObject *)'} [-Wcast-function-type] 279 | (GWeakNotify) closure_simple_object_died, | ^ mooutils/mooclosure.c: In function '_moo_object_ptr_new': mooutils/mooclosure.c:336:32: warning: cast between incompatible function types from 'void (*)(MooObjectPtr *)' {aka 'void (*)(struct _MooObjectPtr *)'} to 'void (*)(void *, GObject *)' {aka 'void (*)(void *, struct _GObject *)'} [-Wcast-function-type] 336 | g_object_weak_ref (object, (GWeakNotify) object_ptr_object_died, ptr); | ^ mooutils/mooclosure.c: In function '_moo_object_ptr_die': mooutils/mooclosure.c:348:47: warning: cast between incompatible function types from 'void (*)(MooObjectPtr *)' {aka 'void (*)(struct _MooObjectPtr *)'} to 'void (*)(void *, GObject *)' {aka 'void (*)(void *, struct _GObject *)'} [-Wcast-function-type] 348 | g_object_weak_unref (ptr->target, (GWeakNotify) object_ptr_object_died, ptr); | ^ CC moocombo.o mooutils/moocombo.c: In function 'moo_combo_get_type': mooutils/moocombo.c:137:13: warning: cast between incompatible function types from 'void (*)(MooComboClass *)' {aka 'void (*)(struct _MooComboClass *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 137 | (GClassInitFunc) moo_combo_class_init, | ^ mooutils/moocombo.c:142:13: warning: cast between incompatible function types from 'void (*)(MooCombo *)' {aka 'void (*)(struct _MooCombo *)'} to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type] 142 | (GInstanceInitFunc) moo_combo_init, | ^ mooutils/moocombo.c:148:13: warning: cast between incompatible function types from 'void (*)(GtkCellLayoutIface *)' {aka 'void (*)(struct _GtkCellLayoutIface *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 148 | (GInterfaceInitFunc) moo_combo_cell_layout_init, | ^ CC moodialogs.o CC mooeditops.o mooutils/mooeditops.c: In function 'moo_edit_ops_get_type': mooutils/mooeditops.c:43:13: warning: cast between incompatible function types from 'void (*)(MooEditOpsIface *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 43 | (GClassInitFunc) moo_edit_ops_class_init, /* class_init */ | ^ mooutils/mooeditops.c: In function 'moo_undo_ops_get_type': mooutils/mooeditops.c:365:13: warning: cast between incompatible function types from 'void (*)(MooUndoOpsIface *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 365 | (GClassInitFunc) moo_undo_ops_class_init, | ^ CC mooencodings.o mooutils/mooencodings.c: In function 'setup_combo': mooutils/mooencodings.c:763:41: warning: cast between incompatible function types from 'void (*)(GtkCellLayout *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *)' {aka 'void (*)(struct _GtkCellLayout *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *)'} to 'void (*)(GtkCellLayout *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *, void *)' {aka 'void (*)(struct _GtkCellLayout *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *, void *)'} [-Wcast-function-type] 763 | (GtkCellLayoutDataFunc) cell_data_func, | ^ mooutils/mooencodings.c:767:47: warning: cast between incompatible function types from 'gboolean (*)(GtkTreeModel *, GtkTreeIter *)' {aka 'int (*)(struct _GtkTreeModel *, struct _GtkTreeIter *)'} to 'gboolean (*)(GtkTreeModel *, GtkTreeIter *, void *)' {aka 'int (*)(struct _GtkTreeModel *, struct _GtkTreeIter *, void *)'} [-Wcast-function-type] 767 | gtk_combo_box_set_row_separator_func (combo, (GtkTreeViewRowSeparatorFunc) row_separator_func, | ^ In file included from mooutils/mooencodings.c:20: mooutils/mooencodings.c: In function 'moo_encodings_menu_action_get_type': ./mooutils/mootype-macros.h:27:40: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 27 | (GClassInitFunc) type_name##_class_intern_init, \ | ^ ./mooutils/mootype-macros.h:51:5: note: in expansion of macro '_MOO_REGISTER_TYPE' 51 | _MOO_REGISTER_TYPE(TypeName,type_name,TYPE_PARENT,0) \ | ^~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:60:5: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC_WITH_CODE' 60 | MOO_DEFINE_TYPE_STATIC_WITH_CODE (TypeName, type_name, TYPE_PARENT, {}) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mooutils/mooencodings.c:1132:1: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC' 1132 | MOO_DEFINE_TYPE_STATIC (MooEncodingsMenuAction, moo_encodings_menu_action, MOO_TYPE_ACTION) | ^~~~~~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:29:40: warning: cast between incompatible function types from 'void (*)(MooEncodingsMenuAction *)' to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type] 29 | (GInstanceInitFunc) type_name##_init, \ | ^ ./mooutils/mootype-macros.h:51:5: note: in expansion of macro '_MOO_REGISTER_TYPE' 51 | _MOO_REGISTER_TYPE(TypeName,type_name,TYPE_PARENT,0) \ | ^~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:60:5: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC_WITH_CODE' 60 | MOO_DEFINE_TYPE_STATIC_WITH_CODE (TypeName, type_name, TYPE_PARENT, {}) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mooutils/mooencodings.c:1132:1: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC' 1132 | MOO_DEFINE_TYPE_STATIC (MooEncodingsMenuAction, moo_encodings_menu_action, MOO_TYPE_ACTION) | ^~~~~~~~~~~~~~~~~~~~~~ CC mooentry.o mooutils/mooentry.c: In function 'moo_entry_get_type': mooutils/mooentry.c:113:13: warning: cast between incompatible function types from 'void (*)(MooEntryClass *)' {aka 'void (*)(struct _MooEntryClass *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 113 | (GClassInitFunc) moo_entry_class_init, | ^ mooutils/mooentry.c:118:13: warning: cast between incompatible function types from 'void (*)(MooEntry *)' {aka 'void (*)(struct _MooEntry *)'} to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type] 118 | (GInstanceInitFunc) moo_entry_init, | ^ mooutils/mooentry.c:123:13: warning: cast between incompatible function types from 'void (*)(GtkEditableClass *)' {aka 'void (*)(struct _GtkEditableClass *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 123 | (GInterfaceInitFunc) moo_entry_editable_init, NULL, NULL | ^ mooutils/mooentry.c:127:13: warning: cast between incompatible function types from 'void (*)(MooUndoOpsIface *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 127 | (GInterfaceInitFunc) moo_entry_undo_ops_init, NULL, NULL | ^ mooutils/mooentry.c: At top level: mooutils/mooentry.c:773:5: warning: cast between incompatible function types from 'gboolean (*)(InsertAction *, InsertAction *)' {aka 'int (*)(InsertAction *, InsertAction *)'} to 'gboolean (*)(MooUndoAction *, MooUndoAction *, void *)' {aka 'int (*)(struct _MooUndoAction *, struct _MooUndoAction *, void *)'} [-Wcast-function-type] 773 | (MooUndoActionMerge) insert_action_merge, | ^ mooutils/mooentry.c:774:5: warning: cast between incompatible function types from 'void (*)(InsertAction *)' to 'void (*)(MooUndoAction *, void *)' {aka 'void (*)(struct _MooUndoAction *, void *)'} [-Wcast-function-type] 774 | (MooUndoActionDestroy) insert_action_destroy | ^ mooutils/mooentry.c:780:5: warning: cast between incompatible function types from 'gboolean (*)(DeleteAction *, DeleteAction *)' {aka 'int (*)(DeleteAction *, DeleteAction *)'} to 'gboolean (*)(MooUndoAction *, MooUndoAction *, void *)' {aka 'int (*)(struct _MooUndoAction *, struct _MooUndoAction *, void *)'} [-Wcast-function-type] 780 | (MooUndoActionMerge) delete_action_merge, | ^ mooutils/mooentry.c:781:5: warning: cast between incompatible function types from 'void (*)(DeleteAction *)' to 'void (*)(MooUndoAction *, void *)' {aka 'void (*)(struct _MooUndoAction *, void *)'} [-Wcast-function-type] 781 | (MooUndoActionDestroy) delete_action_destroy | ^ CC moofiledialog.o mooutils/moofiledialog.c: In function 'string_slist_free': mooutils/moofiledialog.c:207:28: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 207 | g_slist_foreach (list, (GFunc) g_free, NULL); | ^ CC moofileicon.o mooutils/moofileicon.c: In function 'add_arrow': mooutils/moofileicon.c:323:9: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] 323 | arrow = gdk_pixbuf_new_from_inline (-1, SYMLINK_ARROW, TRUE, NULL); | ^~~~~ In file included from /home/pbulk/build/editors/medit/work/.buildlink/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, from /home/pbulk/build/editors/medit/work/.buildlink/include/gtk-2.0/gdk/gdkpixbuf.h:37, from /home/pbulk/build/editors/medit/work/.buildlink/include/gtk-2.0/gdk/gdkcairo.h:28, from /home/pbulk/build/editors/medit/work/.buildlink/include/gtk-2.0/gdk/gdk.h:33, from /home/pbulk/build/editors/medit/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./mooutils/moofileicon.h:19, from mooutils/moofileicon.c:16: /home/pbulk/build/editors/medit/work/.buildlink/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:298:12: note: declared here 298 | GdkPixbuf* gdk_pixbuf_new_from_inline (gint data_length, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mooutils/moofileicon.c:329:9: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] 329 | small_arrow = gdk_pixbuf_new_from_inline (-1, SYMLINK_ARROW_SMALL, TRUE, NULL); | ^~~~~~~~~~~ In file included from /home/pbulk/build/editors/medit/work/.buildlink/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, from /home/pbulk/build/editors/medit/work/.buildlink/include/gtk-2.0/gdk/gdkpixbuf.h:37, from /home/pbulk/build/editors/medit/work/.buildlink/include/gtk-2.0/gdk/gdkcairo.h:28, from /home/pbulk/build/editors/medit/work/.buildlink/include/gtk-2.0/gdk/gdk.h:33, from /home/pbulk/build/editors/medit/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./mooutils/moofileicon.h:19, from mooutils/moofileicon.c:16: /home/pbulk/build/editors/medit/work/.buildlink/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:298:12: note: declared here 298 | GdkPixbuf* gdk_pixbuf_new_from_inline (gint data_length, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CC moofilewatch.o CC moofilewriter.o In file included from mooutils/moofilewriter.c:18: mooutils/moofilewriter.c: In function 'moo_file_reader_get_type': ./mooutils/mootype-macros.h:27:40: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 27 | (GClassInitFunc) type_name##_class_intern_init, \ | ^ ./mooutils/mootype-macros.h:51:5: note: in expansion of macro '_MOO_REGISTER_TYPE' 51 | _MOO_REGISTER_TYPE(TypeName,type_name,TYPE_PARENT,0) \ | ^~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:60:5: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC_WITH_CODE' 60 | MOO_DEFINE_TYPE_STATIC_WITH_CODE (TypeName, type_name, TYPE_PARENT, {}) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mooutils/moofilewriter.c:43:1: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC' 43 | MOO_DEFINE_TYPE_STATIC (MooFileReader, moo_file_reader, G_TYPE_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:29:40: warning: cast between incompatible function types from 'void (*)(MooFileReader *)' {aka 'void (*)(struct _MooFileReader *)'} to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type] 29 | (GInstanceInitFunc) type_name##_init, \ | ^ ./mooutils/mootype-macros.h:51:5: note: in expansion of macro '_MOO_REGISTER_TYPE' 51 | _MOO_REGISTER_TYPE(TypeName,type_name,TYPE_PARENT,0) \ | ^~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:60:5: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC_WITH_CODE' 60 | MOO_DEFINE_TYPE_STATIC_WITH_CODE (TypeName, type_name, TYPE_PARENT, {}) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mooutils/moofilewriter.c:43:1: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC' 43 | MOO_DEFINE_TYPE_STATIC (MooFileReader, moo_file_reader, G_TYPE_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~ mooutils/moofilewriter.c: In function 'moo_file_writer_get_type': ./mooutils/mootype-macros.h:27:40: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 27 | (GClassInitFunc) type_name##_class_intern_init, \ | ^ ./mooutils/mootype-macros.h:51:5: note: in expansion of macro '_MOO_REGISTER_TYPE' 51 | _MOO_REGISTER_TYPE(TypeName,type_name,TYPE_PARENT,0) \ | ^~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:60:5: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC_WITH_CODE' 60 | MOO_DEFINE_TYPE_STATIC_WITH_CODE (TypeName, type_name, TYPE_PARENT, {}) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mooutils/moofilewriter.c:166:1: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC' 166 | MOO_DEFINE_TYPE_STATIC (MooFileWriter, moo_file_writer, G_TYPE_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:29:40: warning: cast between incompatible function types from 'void (*)(MooFileWriter *)' {aka 'void (*)(struct _MooFileWriter *)'} to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type] 29 | (GInstanceInitFunc) type_name##_init, \ | ^ ./mooutils/mootype-macros.h:51:5: note: in expansion of macro '_MOO_REGISTER_TYPE' 51 | _MOO_REGISTER_TYPE(TypeName,type_name,TYPE_PARENT,0) \ | ^~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:60:5: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC_WITH_CODE' 60 | MOO_DEFINE_TYPE_STATIC_WITH_CODE (TypeName, type_name, TYPE_PARENT, {}) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mooutils/moofilewriter.c:166:1: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC' 166 | MOO_DEFINE_TYPE_STATIC (MooFileWriter, moo_file_writer, G_TYPE_OBJECT) | ^~~~~~~~~~~~~~~~~~~~~~ mooutils/moofilewriter.c: In function 'moo_local_file_writer_get_type': ./mooutils/mootype-macros.h:27:40: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 27 | (GClassInitFunc) type_name##_class_intern_init, \ | ^ ./mooutils/mootype-macros.h:51:5: note: in expansion of macro '_MOO_REGISTER_TYPE' 51 | _MOO_REGISTER_TYPE(TypeName,type_name,TYPE_PARENT,0) \ | ^~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:60:5: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC_WITH_CODE' 60 | MOO_DEFINE_TYPE_STATIC_WITH_CODE (TypeName, type_name, TYPE_PARENT, {}) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mooutils/moofilewriter.c:264:1: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC' 264 | MOO_DEFINE_TYPE_STATIC (MooLocalFileWriter, moo_local_file_writer, MOO_TYPE_FILE_WRITER) | ^~~~~~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:29:40: warning: cast between incompatible function types from 'void (*)(MooLocalFileWriter *)' {aka 'void (*)(struct _MooLocalFileWriter *)'} to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type] 29 | (GInstanceInitFunc) type_name##_init, \ | ^ ./mooutils/mootype-macros.h:51:5: note: in expansion of macro '_MOO_REGISTER_TYPE' 51 | _MOO_REGISTER_TYPE(TypeName,type_name,TYPE_PARENT,0) \ | ^~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:60:5: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC_WITH_CODE' 60 | MOO_DEFINE_TYPE_STATIC_WITH_CODE (TypeName, type_name, TYPE_PARENT, {}) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mooutils/moofilewriter.c:264:1: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC' 264 | MOO_DEFINE_TYPE_STATIC (MooLocalFileWriter, moo_local_file_writer, MOO_TYPE_FILE_WRITER) | ^~~~~~~~~~~~~~~~~~~~~~ mooutils/moofilewriter.c: In function 'moo_string_writer_get_type': ./mooutils/mootype-macros.h:27:40: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 27 | (GClassInitFunc) type_name##_class_intern_init, \ | ^ ./mooutils/mootype-macros.h:51:5: note: in expansion of macro '_MOO_REGISTER_TYPE' 51 | _MOO_REGISTER_TYPE(TypeName,type_name,TYPE_PARENT,0) \ | ^~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:60:5: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC_WITH_CODE' 60 | MOO_DEFINE_TYPE_STATIC_WITH_CODE (TypeName, type_name, TYPE_PARENT, {}) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mooutils/moofilewriter.c:502:1: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC' 502 | MOO_DEFINE_TYPE_STATIC (MooStringWriter, moo_string_writer, MOO_TYPE_FILE_WRITER) | ^~~~~~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:29:40: warning: cast between incompatible function types from 'void (*)(MooStringWriter *)' {aka 'void (*)(struct _MooStringWriter *)'} to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type] 29 | (GInstanceInitFunc) type_name##_init, \ | ^ ./mooutils/mootype-macros.h:51:5: note: in expansion of macro '_MOO_REGISTER_TYPE' 51 | _MOO_REGISTER_TYPE(TypeName,type_name,TYPE_PARENT,0) \ | ^~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:60:5: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC_WITH_CODE' 60 | MOO_DEFINE_TYPE_STATIC_WITH_CODE (TypeName, type_name, TYPE_PARENT, {}) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mooutils/moofilewriter.c:502:1: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC' 502 | MOO_DEFINE_TYPE_STATIC (MooStringWriter, moo_string_writer, MOO_TYPE_FILE_WRITER) | ^~~~~~~~~~~~~~~~~~~~~~ CC moofiltermgr.o mooutils/moofiltermgr.c: In function 'mgr_do_save': mooutils/moofiltermgr.c:1139:32: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1139 | g_slist_foreach (user_ids, (GFunc) g_free, NULL); | ^ CC moofontsel.o CC mooglade.o mooutils/mooglade.c: In function 'widget_free': mooutils/mooglade.c:1056:47: warning: cast between incompatible function types from 'void (*)(Child *)' {aka 'void (*)(struct _Child *)'} to 'void (*)(Child *, void *)' {aka 'void (*)(struct _Child *, void *)'} [-Wcast-function-type] 1056 | child_list_foreach (widget->children, (ChildListFunc) child_free, NULL); | ^ mooutils/mooglade.c:1058:47: warning: cast between incompatible function types from 'void (*)(Signal *)' {aka 'void (*)(struct _Signal *)'} to 'void (*)(Signal *, void *)' {aka 'void (*)(struct _Signal *, void *)'} [-Wcast-function-type] 1058 | signal_list_foreach (widget->signals, (SignalListFunc) signal_free, NULL); | ^ mooutils/mooglade.c: In function 'widget_props_free': mooutils/mooglade.c:1089:55: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1089 | g_ptr_array_foreach (props->custom_props, (GFunc) g_free, NULL); | ^ CC moohelp.o mooutils/moohelp.c: In function 'moo_help_set_func': mooutils/moohelp.c:98:37: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *)' {aka 'int (*)(struct _GtkWidget *)'} to 'gboolean (*)(GtkWidget *, void *)' {aka 'int (*)(struct _GtkWidget *, void *)'} [-Wcast-function-type] 98 | moo_help_set_func_full (widget, (MooHelpFunc) func, NULL, NULL); | ^ CC moohistorycombo.o mooutils/moohistorycombo.c: In function 'moo_history_combo_init': mooutils/moohistorycombo.c:175:41: warning: cast between incompatible function types from 'void (*)(GtkCellLayout *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *)' {aka 'void (*)(struct _GtkCellLayout *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *)'} to 'void (*)(GtkCellLayout *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *, void *)' {aka 'void (*)(struct _GtkCellLayout *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *, void *)'} [-Wcast-function-type] 175 | (GtkCellLayoutDataFunc) cell_data_func, | ^ mooutils/moohistorycombo.c: In function 'moo_history_combo_popup': mooutils/moohistorycombo.c:357:50: warning: cast between incompatible function types from 'int (*)(GtkTreeModel *, GtkTreeIter *, GtkTreeIter *)' {aka 'int (*)(struct _GtkTreeModel *, struct _GtkTreeIter *, struct _GtkTreeIter *)'} to 'gint (*)(GtkTreeModel *, GtkTreeIter *, GtkTreeIter *, void *)' {aka 'int (*)(struct _GtkTreeModel *, struct _GtkTreeIter *, struct _GtkTreeIter *, void *)'} [-Wcast-function-type] 357 | (GtkTreeIterCompareFunc) default_sort_func, | ^ CC moohistorylist.o CC mooi18n.o CC moomarkup.o CC moomenu.o CC moomenuaction.o CC moomenumgr.o mooutils/moomenumgr.c: In function 'moo_menu_mgr_finalize': mooutils/moomenumgr.c:193:46: warning: cast between incompatible function types from 'void (*)(Menu *)' to 'void (*)(Menu *, void *)' [-Wcast-function-type] 193 | menu_list_foreach (mgr->priv->menus, (MenuListFunc) menu_free, NULL); | ^ CC moomenutoolbutton.o CC moo-mime.o CC moonotebook.o mooutils/moonotebook.c: In function 'delete_page': mooutils/moonotebook.c:1719:30: warning: cast between incompatible function types from 'void (*)(void **)' to 'void (*)(void *, GObject *)' {aka 'void (*)(void *, struct _GObject *)'} [-Wcast-function-type] 1719 | (GWeakNotify) g_nullify_pointer, | ^ mooutils/moonotebook.c: In function 'moo_notebook_set_focus_child': mooutils/moonotebook.c:3636:42: warning: cast between incompatible function types from 'void (*)(void **)' to 'void (*)(void *, GObject *)' {aka 'void (*)(void *, struct _GObject *)'} [-Wcast-function-type] 3636 | (GWeakNotify) g_nullify_pointer, | ^ mooutils/moonotebook.c:3642:36: warning: cast between incompatible function types from 'void (*)(void **)' to 'void (*)(void *, GObject *)' {aka 'void (*)(void *, struct _GObject *)'} [-Wcast-function-type] 3642 | (GWeakNotify) g_nullify_pointer, | ^ CC moopane.o mooutils/moopane.c: In function 'get_pixbuf': mooutils/moopane.c:1662:13: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] 1662 | pixbuf = gdk_pixbuf_new_from_inline (-1, icon->data, TRUE, NULL); | ^~~~~~ In file included from /home/pbulk/build/editors/medit/work/.buildlink/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, from /home/pbulk/build/editors/medit/work/.buildlink/include/gtk-2.0/gdk/gdkpixbuf.h:37, from /home/pbulk/build/editors/medit/work/.buildlink/include/gtk-2.0/gdk/gdkcairo.h:28, from /home/pbulk/build/editors/medit/work/.buildlink/include/gtk-2.0/gdk/gdk.h:33, from /home/pbulk/build/editors/medit/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from mooutils/moopane.h:19, from mooutils/moopaned.h:19, from mooutils/moopane.c:25: /home/pbulk/build/editors/medit/work/.buildlink/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:298:12: note: declared here 298 | GdkPixbuf* gdk_pixbuf_new_from_inline (gint data_length, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CC moopaned.o mooutils/moopaned.c: In function 'draw_border': mooutils/moopaned.c:1662:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1662 | rect.x = widget->allocation.width - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1663 | paned->priv->button_box_size - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1664 | paned->priv->border_size; | ~~~~~~~~~~~~~~~~~~~~~~~~ mooutils/moopaned.c:1665:9: note: here 1665 | case MOO_PANE_POS_LEFT: | ^~~~ mooutils/moopaned.c:1682:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 1682 | rect.y = widget->allocation.height - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1683 | paned->priv->button_box_size - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1684 | paned->priv->border_size; | ~~~~~~~~~~~~~~~~~~~~~~~~ mooutils/moopaned.c:1685:9: note: here 1685 | case MOO_PANE_POS_TOP: | ^~~~ mooutils/moopaned.c: In function '_moo_paned_get_button_position': mooutils/moopaned.c:2048:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 2048 | rect->x = widget->allocation.width - 30; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mooutils/moopaned.c:2049:13: note: here 2049 | case MOO_PANE_POS_LEFT: | ^~~~ mooutils/moopaned.c:2054:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 2054 | rect->y = widget->allocation.height - 30; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mooutils/moopaned.c:2055:13: note: here 2055 | case MOO_PANE_POS_TOP: | ^~~~ CC mooprefs.o CC mooprefsdialog.o mooutils/mooprefsdialog.c: In function 'moo_prefs_dialog_destroy': mooutils/mooprefsdialog.c:208:33: warning: cast between incompatible function types from 'gboolean (*)(GtkTreeModel *, GtkTreePath *, GtkTreeIter *)' {aka 'int (*)(struct _GtkTreeModel *, struct _GtkTreePath *, struct _GtkTreeIter *)'} to 'gboolean (*)(GtkTreeModel *, GtkTreePath *, GtkTreeIter *, void *)' {aka 'int (*)(struct _GtkTreeModel *, struct _GtkTreePath *, struct _GtkTreeIter *, void *)'} [-Wcast-function-type] 208 | (GtkTreeModelForeachFunc) destroy_page, NULL); | ^ CC mooprefspage.o mooutils/mooprefspage.c: In function 'moo_prefs_page_init_sig': mooutils/mooprefspage.c:292:43: warning: cast between incompatible function types from 'void (*)(GtkWidget *)' {aka 'void (*)(struct _GtkWidget *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 292 | g_slist_foreach (page->priv->widgets, (GFunc) setting_init, NULL); | ^ mooutils/mooprefspage.c:293:44: warning: cast between incompatible function types from 'void (*)(MooPrefsPage *)' {aka 'void (*)(struct _MooPrefsPage *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 293 | g_slist_foreach (page->priv->children, (GFunc) moo_prefs_page_init_sig, NULL); | ^ mooutils/mooprefspage.c: In function 'moo_prefs_page_apply': mooutils/mooprefspage.c:300:43: warning: cast between incompatible function types from 'void (*)(GtkWidget *)' {aka 'void (*)(struct _GtkWidget *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 300 | g_slist_foreach (page->priv->widgets, (GFunc) setting_apply, NULL); | ^ mooutils/mooprefspage.c:305:44: warning: cast between incompatible function types from 'void (*)(MooPrefsPage *)' {aka 'void (*)(struct _MooPrefsPage *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 305 | g_slist_foreach (page->priv->children, (GFunc) moo_prefs_page_apply, NULL); | ^ CC moospawn.o CC moostock.o mooutils/moostock.c: In function 'add_default_image': mooutils/moostock.c:97:5: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] 97 | pixbuf = gdk_pixbuf_new_from_inline (-1, inline_data, FALSE, NULL); | ^~~~~~ In file included from /home/pbulk/build/editors/medit/work/.buildlink/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, from /home/pbulk/build/editors/medit/work/.buildlink/include/gtk-2.0/gdk/gdkpixbuf.h:37, from /home/pbulk/build/editors/medit/work/.buildlink/include/gtk-2.0/gdk/gdkcairo.h:28, from /home/pbulk/build/editors/medit/work/.buildlink/include/gtk-2.0/gdk/gdk.h:33, from /home/pbulk/build/editors/medit/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from ./mooutils/moostock.h:19, from mooutils/moostock.c:16: /home/pbulk/build/editors/medit/work/.buildlink/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:298:12: note: declared here 298 | GdkPixbuf* gdk_pixbuf_new_from_inline (gint data_length, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CC moouixml.o mooutils/moouixml.c: In function 'node_free': mooutils/moouixml.c:590:42: warning: cast between incompatible function types from 'void (*)(Node *)' {aka 'void (*)(MooUiNode *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 590 | g_slist_foreach (node->children, (GFunc) node_free, NULL); | ^ CC mooundo.o CC mooutils-enums.o CC mooutils-file.o CC mooutils-fs.o CC mooutils-gobject.o mooutils/mooutils-gobject.c: In function 'test_one_enum': mooutils/mooutils-gobject.c:998:14: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 998 | if (!bad != _moo_value_convert (&sval, &eval)) | ^~ mooutils/mooutils-gobject.c:998:9: note: add parentheses around left hand side expression to silence this warning 998 | if (!bad != _moo_value_convert (&sval, &eval)) | ^~~~ | ( ) mooutils/mooutils-gobject.c: In function 'test_one_flags': mooutils/mooutils-gobject.c:1050:14: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 1050 | if (!bad != _moo_value_convert (&sval, &eval)) | ^~ mooutils/mooutils-gobject.c:1050:9: note: add parentheses around left hand side expression to silence this warning 1050 | if (!bad != _moo_value_convert (&sval, &eval)) | ^~~~ | ( ) mooutils/mooutils-gobject.c: In function '_moo_object_watch_alloc': mooutils/mooutils-gobject.c:1577:46: warning: cast between incompatible function types from 'void (*)(MooObjectWatch *)' {aka 'void (*)(struct _MooObjectWatch *)'} to 'void (*)(void *, GObject *)' {aka 'void (*)(void *, struct _GObject *)'} [-Wcast-function-type] 1577 | w->source = _moo_object_ptr_new (source, (GWeakNotify) watch_source_died, w); | ^ mooutils/mooutils-gobject.c:1578:46: warning: cast between incompatible function types from 'void (*)(MooObjectWatch *)' {aka 'void (*)(struct _MooObjectWatch *)'} to 'void (*)(void *, GObject *)' {aka 'void (*)(void *, struct _GObject *)'} [-Wcast-function-type] 1578 | w->target = _moo_object_ptr_new (target, (GWeakNotify) watch_target_died, w); | ^ CC mooutils-misc.o mooutils/mooutils-misc.c: In function 'thread_io_func': mooutils/mooutils-misc.c:2136:16: warning: cast between incompatible function types from 'GSourceFunc' {aka 'int (*)(void *)'} to 'gboolean (*)(GIOChannel *, GIOCondition, void *)' {aka 'int (*)(struct _GIOChannel *, GIOCondition, void *)'} [-Wcast-function-type] 2136 | ret = ((GIOFunc) sd->func) (source, condition, sd->data); | ^ mooutils/mooutils-misc.c: In function '_moo_io_add_watch_full': mooutils/mooutils-misc.c:2164:16: warning: cast between incompatible function types from 'GIOFunc' {aka 'int (*)(struct _GIOChannel *, GIOCondition, void *)'} to 'gboolean (*)(void *)' {aka 'int (*)(void *)'} [-Wcast-function-type] 2164 | sd->func = (GSourceFunc) func; | ^ CC mooutils-script.o CC mooutils-treeview.o In file included from mooutils/mooutils-treeview.c:20: mooutils/mooutils-treeview.c: In function 'moo_expander_cell_get_type': ./mooutils/mootype-macros.h:27:40: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 27 | (GClassInitFunc) type_name##_class_intern_init, \ | ^ ./mooutils/mootype-macros.h:51:5: note: in expansion of macro '_MOO_REGISTER_TYPE' 51 | _MOO_REGISTER_TYPE(TypeName,type_name,TYPE_PARENT,0) \ | ^~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:60:5: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC_WITH_CODE' 60 | MOO_DEFINE_TYPE_STATIC_WITH_CODE (TypeName, type_name, TYPE_PARENT, {}) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mooutils/mooutils-treeview.c:921:1: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC' 921 | MOO_DEFINE_TYPE_STATIC (MooExpanderCell, moo_expander_cell, GTK_TYPE_CELL_RENDERER) | ^~~~~~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:29:40: warning: cast between incompatible function types from 'void (*)(MooExpanderCell *)' to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type] 29 | (GInstanceInitFunc) type_name##_init, \ | ^ ./mooutils/mootype-macros.h:51:5: note: in expansion of macro '_MOO_REGISTER_TYPE' 51 | _MOO_REGISTER_TYPE(TypeName,type_name,TYPE_PARENT,0) \ | ^~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:60:5: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC_WITH_CODE' 60 | MOO_DEFINE_TYPE_STATIC_WITH_CODE (TypeName, type_name, TYPE_PARENT, {}) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mooutils/mooutils-treeview.c:921:1: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC' 921 | MOO_DEFINE_TYPE_STATIC (MooExpanderCell, moo_expander_cell, GTK_TYPE_CELL_RENDERER) | ^~~~~~~~~~~~~~~~~~~~~~ CC moowindow.o mooutils/moowindow.c: In function 'moo_window_dispose': mooutils/moowindow.c:646:26: warning: cast between incompatible function types from 'void (*)(AccelEntry *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 646 | (GFunc) accel_entry_free, NULL); | ^ mooutils/moowindow.c: In function 'update_accels': mooutils/moowindow.c:711:51: warning: cast between incompatible function types from 'void (*)(AccelEntry *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 711 | g_slist_foreach (window->priv->global_accels, (GFunc) accel_entry_free, NULL); | ^ CC moo-test-utils.o mooutils/moo-test-utils.c: In function 'moo_test_suite_free': mooutils/moo-test-utils.c:142:30: warning: cast between incompatible function types from 'void (*)(TestAssertInfo *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 142 | (GFunc) test_assert_info_free, | ^ CC moobookmarkmgr.o moofileview/moobookmarkmgr.c: In function 'init_editor_dialog': moofileview/moobookmarkmgr.c:963:46: warning: cast between incompatible function types from 'void (*)(GtkTreeViewColumn *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *)' {aka 'void (*)(struct _GtkTreeViewColumn *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *)'} to 'void (*)(GtkTreeViewColumn *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *, void *)' {aka 'void (*)(struct _GtkTreeViewColumn *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *, void *)'} [-Wcast-function-type] 963 | (GtkTreeCellDataFunc) icon_data_func, | ^ moofileview/moobookmarkmgr.c:979:46: warning: cast between incompatible function types from 'void (*)(GtkTreeViewColumn *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *)' {aka 'void (*)(struct _GtkTreeViewColumn *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *)'} to 'void (*)(GtkTreeViewColumn *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *, void *)' {aka 'void (*)(struct _GtkTreeViewColumn *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *, void *)'} [-Wcast-function-type] 979 | (GtkTreeCellDataFunc) label_data_func, | ^ moofileview/moobookmarkmgr.c:997:46: warning: cast between incompatible function types from 'void (*)(GtkTreeViewColumn *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *)' {aka 'void (*)(struct _GtkTreeViewColumn *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *)'} to 'void (*)(GtkTreeViewColumn *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *, void *)' {aka 'void (*)(struct _GtkTreeViewColumn *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *, void *)'} [-Wcast-function-type] 997 | (GtkTreeCellDataFunc) path_data_func, | ^ moofileview/moobookmarkmgr.c: In function 'delete_clicked': moofileview/moobookmarkmgr.c:1208:28: warning: cast between incompatible function types from 'void (*)(GtkTreePath *)' {aka 'void (*)(struct _GtkTreePath *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 1208 | g_list_foreach (paths, (GFunc) gtk_tree_path_free, NULL); | ^ moofileview/moobookmarkmgr.c:1209:27: warning: cast between incompatible function types from 'void (*)(GtkTreeRowReference *)' {aka 'void (*)(struct _GtkTreeRowReference *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 1209 | g_list_foreach (rows, (GFunc) gtk_tree_row_reference_free, NULL); | ^ moofileview/moobookmarkmgr.c: In function 'init_icon_combo': moofileview/moobookmarkmgr.c:1430:41: warning: cast between incompatible function types from 'void (*)(GtkCellLayout *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *)' {aka 'void (*)(struct _GtkCellLayout *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *)'} to 'void (*)(GtkCellLayout *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *, void *)' {aka 'void (*)(struct _GtkCellLayout *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *, void *)'} [-Wcast-function-type] 1430 | (GtkCellLayoutDataFunc) combo_icon_data_func, | ^ moofileview/moobookmarkmgr.c:1436:41: warning: cast between incompatible function types from 'void (*)(GtkCellLayout *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *)' {aka 'void (*)(struct _GtkCellLayout *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *)'} to 'void (*)(GtkCellLayout *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *, void *)' {aka 'void (*)(struct _GtkCellLayout *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *, void *)'} [-Wcast-function-type] 1436 | (GtkCellLayoutDataFunc) combo_label_data_func, | ^ moofileview/moobookmarkmgr.c: In function 'fill_icon_store': moofileview/moobookmarkmgr.c:1579:33: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1579 | g_slist_foreach (stock_ids, (GFunc) g_free, NULL); | ^ CC moobookmarkview.o moofileview/moobookmarkview.c: In function '_moo_bookmark_view_init': moofileview/moobookmarkview.c:116:46: warning: cast between incompatible function types from 'void (*)(GtkTreeViewColumn *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *)' {aka 'void (*)(struct _GtkTreeViewColumn *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *)'} to 'void (*)(GtkTreeViewColumn *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *, void *)' {aka 'void (*)(struct _GtkTreeViewColumn *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *, void *)'} [-Wcast-function-type] 116 | (GtkTreeCellDataFunc) icon_data_func, | ^ moofileview/moobookmarkview.c:124:46: warning: cast between incompatible function types from 'void (*)(GtkTreeViewColumn *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *)' {aka 'void (*)(struct _GtkTreeViewColumn *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *)'} to 'void (*)(GtkTreeViewColumn *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *, void *)' {aka 'void (*)(struct _GtkTreeViewColumn *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *, void *)'} [-Wcast-function-type] 124 | (GtkTreeCellDataFunc) label_data_func, | ^ CC moofile.o CC moofileentry.o moofileview/moofileentry.c: In function '_moo_file_entry_completion_init': moofileview/moofileentry.c:247:32: warning: cast between incompatible function types from 'gboolean (*)(MooFile *)' {aka 'int (*)(struct _MooFile *)'} to 'gboolean (*)(MooFile *, void *)' {aka 'int (*)(struct _MooFile *, void *)'} [-Wcast-function-type] 247 | cmpl->priv->visible_func = (MooFileVisibleFunc) completion_default_visible_func; | ^ moofileview/moofileentry.c: In function 'moo_file_entry_completion_finalize': moofileview/moofileentry.c:278:30: warning: cast between incompatible function types from 'void (*)(MooFileEntryCompletion *)' {aka 'void (*)(struct _MooFileEntryCompletion *)'} to 'void (*)(void *, GObject *)' {aka 'void (*)(void *, struct _GObject *)'} [-Wcast-function-type] 278 | (GWeakNotify) completion_entry_destroyed, | ^ moofileview/moofileentry.c: In function '_moo_file_entry_completion_set_entry': moofileview/moofileentry.c:1461:30: warning: cast between incompatible function types from 'void (*)(MooFileEntryCompletion *)' {aka 'void (*)(struct _MooFileEntryCompletion *)'} to 'void (*)(void *, GObject *)' {aka 'void (*)(void *, struct _GObject *)'} [-Wcast-function-type] 1461 | (GWeakNotify) completion_entry_destroyed, | ^ moofileview/moofileentry.c:1470:28: warning: cast between incompatible function types from 'void (*)(MooFileEntryCompletion *)' {aka 'void (*)(struct _MooFileEntryCompletion *)'} to 'void (*)(void *, GObject *)' {aka 'void (*)(void *, struct _GObject *)'} [-Wcast-function-type] 1470 | (GWeakNotify) completion_entry_destroyed, | ^ CC moofilesystem.o moofileview/moofilesystem.c: In function 'moo_file_system_dispose': moofileview/moofilesystem.c:260:49: warning: cast between incompatible function types from 'void (*)(MooFolderImpl *)' {aka 'void (*)(struct _MooFolderImpl *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 260 | g_queue_foreach (fs->priv->cache.queue, (GFunc) _moo_folder_impl_free, NULL); | ^ moofileview/moofilesystem.c: In function '_moo_file_system_create': moofileview/moofilesystem.c:287:28: warning: cast between incompatible function types from 'void (*)(void **)' to 'void (*)(void *, GObject *)' {aka 'void (*)(void *, struct _GObject *)'} [-Wcast-function-type] 287 | (GWeakNotify) g_nullify_pointer, &fs_instance); | ^ CC moofileview.o moofileview/moofileview.c: In function 'history_clear': moofileview/moofileview.c:2097:53: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2097 | g_slist_foreach (fileview->priv->history->back, (GFunc) g_free, NULL); | ^ moofileview/moofileview.c:2098:52: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2098 | g_slist_foreach (fileview->priv->history->fwd, (GFunc) g_free, NULL); | ^ moofileview/moofileview.c: In function 'history_add': moofileview/moofileview.c:2209:37: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2209 | g_slist_foreach (hist->fwd, (GFunc) g_free, NULL); | ^ moofileview/moofileview.c: In function 'file_view_paste_clipboard': moofileview/moofileview.c:2810:36: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2810 | g_list_foreach (filenames, (GFunc) g_free, NULL); | ^ moofileview/moofileview.c:2840:36: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 2840 | g_list_foreach (filenames, (GFunc) g_free, NULL); | ^ moofileview/moofileview.c: In function 'moo_file_view_popup_menu': moofileview/moofileview.c:3544:31: warning: cast between incompatible function types from 'void (*)(GtkTreePath *)' {aka 'void (*)(struct _GtkTreePath *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 3544 | g_list_foreach (selected, (GFunc) gtk_tree_path_free, NULL); | ^ moofileview/moofileview.c: In function 'file_list_button_press': moofileview/moofileview.c:3579:31: warning: cast between incompatible function types from 'void (*)(GtkTreePath *)' {aka 'void (*)(struct _GtkTreePath *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 3579 | g_list_foreach (selected, (GFunc) gtk_tree_path_free, NULL); | ^ moofileview/moofileview.c: In function 'free_string_list': moofileview/moofileview.c:5813:27: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 5813 | g_list_foreach (list, (GFunc) g_free, NULL); | ^ moofileview/moofileview.c: In function 'init_gui': moofileview/moofileview.c:1385:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 1385 | _moo_tree_view_set_active (fileview->priv->view, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1386 | GTK_WIDGET (fileview->priv->treeview)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ moofileview/moofileview.c:1388:9: note: here 1388 | case MOO_FILE_VIEW_BOOKMARK: | ^~~~ CC moofileview-dialogs.o moofileview/moofileview-dialogs.c: In function 'container_cleanup': moofileview/moofileview-dialogs.c:197:31: warning: cast between incompatible function types from 'void * (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 197 | g_list_foreach (children, (GFunc) g_object_ref, NULL); | ^ CC moofileview-tools.o In file included from ./mooutils/mooutils.h:6, from moofileview/moofileview-tools.c:26: moofileview/moofileview-tools.c: In function '_moo_file_view_tool_action_get_type': ./mooutils/mootype-macros.h:27:40: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 27 | (GClassInitFunc) type_name##_class_intern_init, \ | ^ ./mooutils/mootype-macros.h:51:5: note: in expansion of macro '_MOO_REGISTER_TYPE' 51 | _MOO_REGISTER_TYPE(TypeName,type_name,TYPE_PARENT,0) \ | ^~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:60:5: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC_WITH_CODE' 60 | MOO_DEFINE_TYPE_STATIC_WITH_CODE (TypeName, type_name, TYPE_PARENT, {}) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ moofileview/moofileview-tools.c:49:1: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC' 49 | MOO_DEFINE_TYPE_STATIC (ToolAction, _moo_file_view_tool_action, MOO_TYPE_ACTION) | ^~~~~~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:29:40: warning: cast between incompatible function types from 'void (*)(ToolAction *)' to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type] 29 | (GInstanceInitFunc) type_name##_init, \ | ^ ./mooutils/mootype-macros.h:51:5: note: in expansion of macro '_MOO_REGISTER_TYPE' 51 | _MOO_REGISTER_TYPE(TypeName,type_name,TYPE_PARENT,0) \ | ^~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:60:5: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC_WITH_CODE' 60 | MOO_DEFINE_TYPE_STATIC_WITH_CODE (TypeName, type_name, TYPE_PARENT, {}) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ moofileview/moofileview-tools.c:49:1: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC' 49 | MOO_DEFINE_TYPE_STATIC (ToolAction, _moo_file_view_tool_action, MOO_TYPE_ACTION) | ^~~~~~~~~~~~~~~~~~~~~~ moofileview/moofileview-tools.c: In function 'moo_file_view_tool_action_finalize': moofileview/moofileview-tools.c:63:42: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 63 | g_slist_foreach (action->extensions, (GFunc) g_free, NULL); | ^ moofileview/moofileview-tools.c:65:41: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 65 | g_slist_foreach (action->mimetypes, (GFunc) g_free, NULL); | ^ moofileview/moofileview-tools.c: In function 'tools_info_free': moofileview/moofileview-tools.c:166:41: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 166 | g_slist_foreach (info->actions, (GFunc) g_object_unref, NULL); | ^ moofileview/moofileview-tools.c: In function '_moo_file_view_tools_check': moofileview/moofileview-tools.c:439:28: warning: cast between incompatible function types from 'void (*)(MooFile *)' {aka 'void (*)(struct _MooFile *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 439 | g_list_foreach (files, (GFunc) _moo_file_unref, NULL); | ^ CC moofolder.o moofileview/moofolder.c: In function 'moo_folder_do_reload': moofileview/moofolder.c:1012:27: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1012 | g_slist_foreach (new, (GFunc) g_free, NULL); | ^ moofileview/moofolder.c:1013:31: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1013 | g_slist_foreach (deleted, (GFunc) g_free, NULL); | ^ moofileview/moofolder.c: In function 'files_list_free': moofileview/moofolder.c:1172:29: warning: cast between incompatible function types from 'void (*)(MooFile *)' {aka 'void (*)(struct _MooFile *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 1172 | g_slist_foreach (*list, (GFunc) _moo_file_unref, NULL); | ^ CC moofoldermodel.o In file included from moofileview/moofoldermodel.c:19: moofileview/moofoldermodel-private.h: In function 'file_list_destroy': moofileview/moofoldermodel-private.h:148:34: warning: cast between incompatible function types from 'void (*)(MooFile *)' {aka 'void (*)(struct _MooFile *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 148 | g_list_foreach (flist->list, (GFunc) _moo_file_unref, NULL); | ^ moofileview/moofoldermodel.c: In function '_moo_folder_model_get_type': moofileview/moofoldermodel.c:60:13: warning: cast between incompatible function types from 'void (*)(MooFolderModelClass *)' {aka 'void (*)(struct _MooFolderModelClass *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 60 | (GClassInitFunc) moo_folder_model_class_init, | ^ moofileview/moofoldermodel.c:65:13: warning: cast between incompatible function types from 'void (*)(MooFolderModel *)' {aka 'void (*)(struct _MooFolderModel *)'} to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type] 65 | (GInstanceInitFunc) moo_folder_model_init, | ^ moofileview/moofoldermodel.c:70:13: warning: cast between incompatible function types from 'void (*)(GtkTreeModelIface *)' {aka 'void (*)(struct _GtkTreeModelIface *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 70 | (GInterfaceInitFunc) moo_folder_model_tree_iface_init, | ^ moofileview/moofoldermodel.c: In function '_moo_folder_model_set_folder': moofileview/moofoldermodel.c:247:33: warning: cast between incompatible function types from 'void (*)(MooFile *)' {aka 'void (*)(struct _MooFile *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 247 | g_slist_foreach (files, (GFunc) _moo_file_unref, NULL); | ^ moofileview/moofoldermodel.c: In function 'moo_folder_model_disconnect_folder': moofileview/moofoldermodel.c:401:33: warning: cast between incompatible function types from 'void (*)(MooFile *)' {aka 'void (*)(struct _MooFile *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 401 | g_slist_foreach (files, (GFunc) _moo_file_unref, NULL); | ^ CC mooiconview.o moofileview/mooiconview.c: In function 'path_set_new': moofileview/mooiconview.c:2026:29: warning: cast between incompatible function types from 'gint (*)(const GtkTreePath *, const GtkTreePath *)' {aka 'int (*)(const struct _GtkTreePath *, const struct _GtkTreePath *)'} to 'gint (*)(const void *, const void *, void *)' {aka 'int (*)(const void *, const void *, void *)'} [-Wcast-function-type] 2026 | return g_tree_new_full ((GCompareDataFunc) gtk_tree_path_compare, NULL, | ^ moofileview/mooiconview.c: In function 'free_selection': moofileview/mooiconview.c:2925:22: warning: cast between incompatible function types from 'void (*)(GtkTreeRowReference *)' {aka 'void (*)(struct _GtkTreeRowReference *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 2925 | (GFunc) gtk_tree_row_reference_free, NULL); | ^ moofileview/mooiconview.c: In function 'selection_clear': moofileview/mooiconview.c:2951:26: warning: cast between incompatible function types from 'void (*)(GtkTreeRowReference *)' {aka 'void (*)(struct _GtkTreeRowReference *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 2951 | (GFunc) gtk_tree_row_reference_free, NULL); | ^ moofileview/mooiconview.c: In function '_moo_icon_view_unselect_all': moofileview/mooiconview.c:3414:22: warning: cast between incompatible function types from 'void (*)(GtkTreeRowReference *)' {aka 'void (*)(struct _GtkTreeRowReference *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 3414 | (GFunc) gtk_tree_row_reference_free, NULL); | ^ CC mootreeview.o moofileview/mootreeview.c: In function 'moo_tree_view_finalize': moofileview/mootreeview.c:153:38: warning: cast between incompatible function types from 'void (*)(Child *)' {aka 'void (*)(struct _MooTreeViewChild *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 153 | g_slist_foreach (view->children, (GFunc) child_free, NULL); | ^ CC gtksourcecontextengine.o gtksourceview/gtksourcecontextengine.c: In function 'context_unref': gtksourceview/gtksourcecontextengine.c:3445:12: warning: cast between incompatible function types from 'void (*)(void *, Context *)' {aka 'void (*)(void *, struct _Context *)'} to 'void (*)(void *, void *, void *)' [-Wcast-function-type] 3445 | (GHFunc) context_unref_hash_cb, | ^ gtksourceview/gtksourcecontextengine.c: In function 'context_freeze': gtksourceview/gtksourcecontextengine.c:3510:12: warning: cast between incompatible function types from 'void (*)(void *, Context *)' {aka 'void (*)(void *, struct _Context *)'} to 'void (*)(void *, void *, void *)' [-Wcast-function-type] 3510 | (GHFunc) context_freeze_hash_cb, | ^ gtksourceview/gtksourcecontextengine.c: In function 'context_thaw': gtksourceview/gtksourcecontextengine.c:3554:31: warning: cast between incompatible function types from 'void (*)(Context *)' {aka 'void (*)(struct _Context *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 3554 | g_slist_foreach (children, (GFunc) context_thaw, NULL); | ^ gtksourceview/gtksourcecontextengine.c: In function 'context_definition_unref': gtksourceview/gtksourcecontextengine.c:5852:41: warning: cast between incompatible function types from 'void (*)(DefinitionChild *)' {aka 'void (*)(struct _DefinitionChild *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 5852 | g_slist_foreach (definition->children, (GFunc) definition_child_free, NULL); | ^ CC gtksourceengine.o CC gtksourceiter.o gtksourceview/gtksourceiter.c: In function 'gtk_source_iter_forward_search': gtksourceview/gtksourceiter.c:616:51: warning: implicit conversion from 'GtkSourceSearchFlags' to 'GtkTextSearchFlags' [-Wenum-conversion] 616 | return gtk_text_iter_forward_search (iter, str, flags, | ^~~~~ gtksourceview/gtksourceiter.c: In function 'gtk_source_iter_backward_search': gtksourceview/gtksourceiter.c:719:52: warning: implicit conversion from 'GtkSourceSearchFlags' to 'GtkTextSearchFlags' [-Wenum-conversion] 719 | return gtk_text_iter_backward_search (iter, str, flags, | ^~~~~ CC gtksourcelanguage-parser-1.o gtksourceview/gtksourcelanguage-parser-1.c: In function 'parseKeywordList': gtksourceview/gtksourcelanguage-parser-1.c:488:25: warning: cast between incompatible function types from 'xmlFreeFunc' {aka 'void (*)(void *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 488 | g_slist_foreach (list, (GFunc) xmlFree, NULL); | ^ CC gtksourcelanguage-parser-2.o gtksourceview/gtksourcelanguage-parser-2.c: In function '_gtk_source_language_file_parse_version2': gtksourceview/gtksourcelanguage-parser-2.c:1755:33: warning: cast between incompatible function types from 'void (*)(GtkSourceContextReplace *)' {aka 'void (*)(struct _GtkSourceContextReplace *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 1755 | g_queue_foreach (replacements, (GFunc) _gtk_source_context_replace_free, NULL); | ^ CC gtksourcelanguage.o CC gtksourcelanguagemanager.o gtksourceview/gtksourcelanguagemanager.c: In function 'ensure_languages': gtksourceview/gtksourcelanguagemanager.c:362:30: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 362 | g_slist_foreach (filenames, (GFunc) g_free, NULL); | ^ CC gtksourcestyle.o CC gtksourcestylescheme.o gtksourceview/gtksourcestylescheme.c: In function 'gtk_source_style_scheme_finalize': gtksourceview/gtksourcestylescheme.c:81:47: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 81 | g_ptr_array_foreach (scheme->priv->authors, (GFunc)g_free, NULL); | ^ CC gtksourcestyleschememanager.o gtksourceview/gtksourcestyleschememanager.c: In function 'reload_if_needed': gtksourceview/gtksourcestyleschememanager.c:378:26: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 378 | g_slist_foreach (files, (GFunc) g_free, NULL); | ^ CC gtksourceview-utils.o CC gtktextregion.o CC eggsmclient.o CC eggsmclient-xsmp.o CC eggdesktopfile.o eggsmclient/eggdesktopfile.c: In function 'egg_desktop_file_launchv': eggsmclient/eggdesktopfile.c:1293:33: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1293 | g_ptr_array_foreach (env, (GFunc)g_free, NULL); | ^ CC mooappabout.o CC mooapp.o mooapp/mooapp.c: In function 'moo_app_get_type': mooapp/mooapp.c:174:13: warning: cast between incompatible function types from 'void (*)(MooAppClass *)' {aka 'void (*)(struct _MooAppClass *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 174 | (GClassInitFunc) moo_app_class_init, | ^ mooapp/mooapp.c:179:13: warning: cast between incompatible function types from 'void (*)(MooApp *)' {aka 'void (*)(struct _MooApp *)'} to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type] 179 | (GInstanceInitFunc) moo_app_instance_init, | ^ mooapp/mooapp.c: In function 'moo_app_run': mooapp/mooapp.c:891:35: warning: cast between incompatible function types from 'gboolean (*)(void)' {aka 'int (*)(void)'} to 'gboolean (*)(void *)' {aka 'int (*)(void *)'} [-Wcast-function-type] 891 | gdk_threads_add_timeout (100, (GSourceFunc) check_signal, NULL); | ^ CC moohtml.o CC moolinklabel.o CXX medit-lua.o CXX mooluaplugin.o In file included from moolua/mooluaplugin.cpp:18: moolua/mooluaplugin.cpp: In function 'GType moo_lua_plugin_get_type()': ./mooedit/mooplugin-macro.h:96:13: warning: cast between incompatible function types from 'void (*)(MooPluginClass*)' to 'GClassInitFunc' {aka 'void (*)(void*, void*)'} [-Wcast-function-type] 96 | (GClassInitFunc) name__##_plugin_class_init, \ ./mooedit/mooplugin-macro.h:118:1: note: in expansion of macro 'MOO_PLUGIN_DEFINE_FULL' 118 | MOO_PLUGIN_DEFINE_FULL(Name__,name__, \ | ^~~~~~~~~~~~~~~~~~~~~~ moolua/mooluaplugin.cpp:115:1: note: in expansion of macro 'MOO_PLUGIN_DEFINE' 115 | MOO_PLUGIN_DEFINE (MooLua, moo_lua, | ^~~~~~~~~~~~~~~~~ ./mooedit/mooplugin-macro.h:101:13: warning: cast between incompatible function types from 'void (*)(MooPlugin*)' to 'GInstanceInitFunc' {aka 'void (*)(_GTypeInstance*, void*)'} [-Wcast-function-type] 101 | (GInstanceInitFunc) name__##_plugin_instance_init, \ ./mooedit/mooplugin-macro.h:118:1: note: in expansion of macro 'MOO_PLUGIN_DEFINE_FULL' 118 | MOO_PLUGIN_DEFINE_FULL(Name__,name__, \ | ^~~~~~~~~~~~~~~~~~~~~~ moolua/mooluaplugin.cpp:115:1: note: in expansion of macro 'MOO_PLUGIN_DEFINE' 115 | MOO_PLUGIN_DEFINE (MooLua, moo_lua, | ^~~~~~~~~~~~~~~~~ CXX moolua-tests.o CXX moo-lua-api-util.o moolua/moo-lua-api-util.cpp: In function 'GClosure* signal_closure_new(lua_State*, int)': moolua/moo-lua-api-util.cpp:945:38: warning: cast between incompatible function types from 'void (*)(MooLuaSignalClosure*, GValue*, guint, const GValue*)' {aka 'void (*)(MooLuaSignalClosure*, _GValue*, unsigned int, const _GValue*)'} to 'GClosureMarshal' {aka 'void (*)(_GClosure*, _GValue*, unsigned int, const _GValue*, void*, void*)'} [-Wcast-function-type] 945 | g_closure_set_marshal (gclosure, (GClosureMarshal) signal_closure_marshal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX moo-lua-api.o CXX gtk-lua-api.o CXX lfs.o CXX moolua.o CXX luaall.o In file included from moolua/lua/luaall.cpp:27: moolua/lua/lauxlib.c: In function 'int luaL_loadfile(lua_State*, const char*)': moolua/lua/lauxlib.c:577:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 577 | while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0]) ; | ^~~~~ moolua/lua/lauxlib.c:578:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 578 | lf.extraline = 0; | ^~ In file included from moolua/lua/luaall.cpp:9: moolua/lua/ldebug.c: In function 'Instruction symbexec(const Proto*, int, int)': moolua/lua/ldebug.c:268:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 268 | #define check(x) if (!(x)) return 0; | ^~ moolua/lua/ldebug.c:272:26: note: in expansion of macro 'check' 272 | #define checkreg(pt,reg) check((reg) < (pt)->maxstacksize) | ^~~~~ moolua/lua/ldebug.c:401:9: note: in expansion of macro 'checkreg' 401 | checkreg(pt, a+3); | ^~~~~~~~ moolua/lua/ldebug.c:403:7: note: here 403 | case OP_JMP: { | ^~~~ In file included from moolua/lua/luaall.cpp:14: moolua/lua/llex.c: In function 'int llex(LexState*, SemInfo*)': moolua/lua/llex.c:367:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 367 | else luaX_lexerror(ls, "invalid long string delimiter", TK_STRING); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ moolua/lua/llex.c:369:7: note: here 369 | case '=': { | ^~~~ In file included from moolua/lua/luaall.cpp:21: moolua/lua/ltable.c: In function 'const TValue* luaH_get(Table*, const TValue*)': moolua/lua/ltable.c:478:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 478 | return luaH_getnum(t, k); /* use specialized version */ | ^ moolua/lua/ltable.c:481:5: note: here 481 | default: { | ^~~~~~~ In file included from moolua/lua/luaall.cpp:35: moolua/lua/slnunico.c: In function 'int match_class(int, int, int)': moolua/lua/slnunico.c:526:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 526 | if (0x40==(~0x3f&c)/*64-127*/ && 1&(0x7e/*a-f*/>>(0x1f&c))) goto matched; | ^~ moolua/lua/slnunico.c:527:2: note: here 527 | case 'd' : msk = 1<expanded_rows, (GFunc) gtk_tree_path_free, NULL); | ^ plugins/moofilelist.c: In function 'path_list_free': plugins/moofilelist.c:1859:28: warning: cast between incompatible function types from 'void (*)(GtkTreePath *)' {aka 'void (*)(struct _GtkTreePath *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 1859 | g_list_foreach (paths, (GFunc) gtk_tree_path_free, NULL); | ^ plugins/moofilelist.c: In function 'treeview_button_press': plugins/moofilelist.c:2100:31: warning: cast between incompatible function types from 'void (*)(GtkTreePath *)' {aka 'void (*)(struct _GtkTreePath *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 2100 | g_list_foreach (selected, (GFunc) gtk_tree_path_free, NULL); | ^ plugins/moofilelist.c: In function 'create_treeview': plugins/moofilelist.c:2132:43: warning: cast between incompatible function types from 'gboolean (*)(GtkTreeModel *, GtkTreeIter *)' {aka 'int (*)(struct _GtkTreeModel *, struct _GtkTreeIter *)'} to 'gboolean (*)(GtkTreeModel *, GtkTreeIter *, void *)' {aka 'int (*)(struct _GtkTreeModel *, struct _GtkTreeIter *, void *)'} [-Wcast-function-type] 2132 | (GtkTreeViewRowSeparatorFunc) row_separator_func, | ^ plugins/moofilelist.c:2135:42: warning: cast between incompatible function types from 'gboolean (*)(GtkTreeModel *, int, const char *, GtkTreeIter *)' {aka 'int (*)(struct _GtkTreeModel *, int, const char *, struct _GtkTreeIter *)'} to 'gboolean (*)(GtkTreeModel *, gint, const gchar *, GtkTreeIter *, void *)' {aka 'int (*)(struct _GtkTreeModel *, int, const char *, struct _GtkTreeIter *, void *)'} [-Wcast-function-type] 2135 | (GtkTreeViewSearchEqualFunc) tree_view_search_equal_func, | ^ plugins/moofilelist.c:2169:46: warning: cast between incompatible function types from 'void (*)(GtkTreeViewColumn *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *)' {aka 'void (*)(struct _GtkTreeViewColumn *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *)'} to 'void (*)(GtkTreeViewColumn *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *, void *)' {aka 'void (*)(struct _GtkTreeViewColumn *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *, void *)'} [-Wcast-function-type] 2169 | (GtkTreeCellDataFunc) pixbuf_data_func, | ^ plugins/moofilelist.c:2175:46: warning: cast between incompatible function types from 'void (*)(GtkTreeViewColumn *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *)' {aka 'void (*)(struct _GtkTreeViewColumn *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *)'} to 'void (*)(GtkTreeViewColumn *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *, void *)' {aka 'void (*)(struct _GtkTreeViewColumn *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *, void *)'} [-Wcast-function-type] 2175 | (GtkTreeCellDataFunc) text_data_func, | ^ In file included from plugins/moofilelist.c:18: plugins/moofilelist.c: In function 'file_list_window_plugin_get_type': ./mooedit/mooplugin-macro.h:156:13: warning: cast between incompatible function types from 'void (*)(MooWinPluginClass *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 156 | (GClassInitFunc) name__##_window_plugin_class_init, \ | ^ plugins/moofilelist.c:2414:1: note: in expansion of macro 'MOO_WIN_PLUGIN_DEFINE' 2414 | MOO_WIN_PLUGIN_DEFINE (FileList, file_list) | ^~~~~~~~~~~~~~~~~~~~~ plugins/moofilelist.c: In function 'file_list_plugin_get_type': ./mooedit/mooplugin-macro.h:96:13: warning: cast between incompatible function types from 'void (*)(MooPluginClass *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 96 | (GClassInitFunc) name__##_plugin_class_init, \ | ^ ./mooedit/mooplugin-macro.h:118:1: note: in expansion of macro 'MOO_PLUGIN_DEFINE_FULL' 118 | MOO_PLUGIN_DEFINE_FULL(Name__,name__, \ | ^~~~~~~~~~~~~~~~~~~~~~ plugins/moofilelist.c:2415:1: note: in expansion of macro 'MOO_PLUGIN_DEFINE' 2415 | MOO_PLUGIN_DEFINE (FileList, file_list, | ^~~~~~~~~~~~~~~~~ ./mooedit/mooplugin-macro.h:101:13: warning: cast between incompatible function types from 'void (*)(MooPlugin *)' to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type] 101 | (GInstanceInitFunc) name__##_plugin_instance_init, \ | ^ ./mooedit/mooplugin-macro.h:118:1: note: in expansion of macro 'MOO_PLUGIN_DEFINE_FULL' 118 | MOO_PLUGIN_DEFINE_FULL(Name__,name__, \ | ^~~~~~~~~~~~~~~~~~~~~~ plugins/moofilelist.c:2415:1: note: in expansion of macro 'MOO_PLUGIN_DEFINE' 2415 | MOO_PLUGIN_DEFINE (FileList, file_list, | ^~~~~~~~~~~~~~~~~ CC moofind.o plugins/moofind.c: In function 'do_grep': plugins/moofind.c:606:28: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 606 | g_slist_foreach (dirs, (GFunc) g_free, NULL); | ^ plugins/moofind.c: In function 'do_find': plugins/moofind.c:645:28: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 645 | g_slist_foreach (dirs, (GFunc) g_free, NULL); | ^ In file included from plugins/moofind.c:20: plugins/moofind.c: In function 'find_window_plugin_get_type': ./mooedit/mooplugin-macro.h:156:13: warning: cast between incompatible function types from 'void (*)(MooWinPluginClass *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 156 | (GClassInitFunc) name__##_window_plugin_class_init, \ | ^ plugins/moofind.c:1126:1: note: in expansion of macro 'MOO_WIN_PLUGIN_DEFINE' 1126 | MOO_WIN_PLUGIN_DEFINE (Find, find) | ^~~~~~~~~~~~~~~~~~~~~ plugins/moofind.c: In function 'find_plugin_get_type': ./mooedit/mooplugin-macro.h:96:13: warning: cast between incompatible function types from 'void (*)(MooPluginClass *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 96 | (GClassInitFunc) name__##_plugin_class_init, \ | ^ ./mooedit/mooplugin-macro.h:118:1: note: in expansion of macro 'MOO_PLUGIN_DEFINE_FULL' 118 | MOO_PLUGIN_DEFINE_FULL(Name__,name__, \ | ^~~~~~~~~~~~~~~~~~~~~~ plugins/moofind.c:1127:1: note: in expansion of macro 'MOO_PLUGIN_DEFINE' 1127 | MOO_PLUGIN_DEFINE (Find, find, | ^~~~~~~~~~~~~~~~~ ./mooedit/mooplugin-macro.h:101:13: warning: cast between incompatible function types from 'void (*)(MooPlugin *)' to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type] 101 | (GInstanceInitFunc) name__##_plugin_instance_init, \ | ^ ./mooedit/mooplugin-macro.h:118:1: note: in expansion of macro 'MOO_PLUGIN_DEFINE_FULL' 118 | MOO_PLUGIN_DEFINE_FULL(Name__,name__, \ | ^~~~~~~~~~~~~~~~~~~~~~ plugins/moofind.c:1127:1: note: in expansion of macro 'MOO_PLUGIN_DEFINE' 1127 | MOO_PLUGIN_DEFINE (Find, find, | ^~~~~~~~~~~~~~~~~ CC readtags.o CC ctags-plugin.o In file included from plugins/ctags/ctags-plugin.c:18: plugins/ctags/ctags-plugin.c: In function 'ctags_window_plugin_get_type': ./mooedit/mooplugin-macro.h:156:13: warning: cast between incompatible function types from 'void (*)(MooWinPluginClass *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 156 | (GClassInitFunc) name__##_window_plugin_class_init, \ | ^ plugins/ctags/ctags-plugin.c:165:1: note: in expansion of macro 'MOO_WIN_PLUGIN_DEFINE' 165 | MOO_WIN_PLUGIN_DEFINE (Ctags, ctags) | ^~~~~~~~~~~~~~~~~~~~~ plugins/ctags/ctags-plugin.c: In function 'ctags_plugin_get_type': ./mooedit/mooplugin-macro.h:96:13: warning: cast between incompatible function types from 'void (*)(MooPluginClass *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 96 | (GClassInitFunc) name__##_plugin_class_init, \ | ^ ./mooedit/mooplugin-macro.h:118:1: note: in expansion of macro 'MOO_PLUGIN_DEFINE_FULL' 118 | MOO_PLUGIN_DEFINE_FULL(Name__,name__, \ | ^~~~~~~~~~~~~~~~~~~~~~ plugins/ctags/ctags-plugin.c:166:1: note: in expansion of macro 'MOO_PLUGIN_DEFINE' 166 | MOO_PLUGIN_DEFINE (Ctags, ctags, | ^~~~~~~~~~~~~~~~~ ./mooedit/mooplugin-macro.h:101:13: warning: cast between incompatible function types from 'void (*)(MooPlugin *)' to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type] 101 | (GInstanceInitFunc) name__##_plugin_instance_init, \ | ^ ./mooedit/mooplugin-macro.h:118:1: note: in expansion of macro 'MOO_PLUGIN_DEFINE_FULL' 118 | MOO_PLUGIN_DEFINE_FULL(Name__,name__, \ | ^~~~~~~~~~~~~~~~~~~~~~ plugins/ctags/ctags-plugin.c:166:1: note: in expansion of macro 'MOO_PLUGIN_DEFINE' 166 | MOO_PLUGIN_DEFINE (Ctags, ctags, | ^~~~~~~~~~~~~~~~~ CC ctags-doc.o plugins/ctags/ctags-doc.c: In function 'moo_ctags_doc_plugin_update': plugins/ctags/ctags-doc.c:384:32: warning: cast between incompatible function types from 'void (*)(MooCtagsEntry *)' {aka 'void (*)(struct _MooCtagsEntry *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] 384 | g_slist_foreach (list, (GFunc) _moo_ctags_entry_unref, NULL); | ^ CC ctags-view.o plugins/ctags/ctags-view.c: In function '_moo_ctags_view_init': plugins/ctags/ctags-view.c:149:42: warning: cast between incompatible function types from 'gboolean (*)(GtkTreeModel *, int, const char *, GtkTreeIter *)' {aka 'int (*)(struct _GtkTreeModel *, int, const char *, struct _GtkTreeIter *)'} to 'gboolean (*)(GtkTreeModel *, gint, const gchar *, GtkTreeIter *, void *)' {aka 'int (*)(struct _GtkTreeModel *, int, const char *, struct _GtkTreeIter *, void *)'} [-Wcast-function-type] 149 | (GtkTreeViewSearchEqualFunc) tree_view_search_equal_func, | ^ plugins/ctags/ctags-view.c:155:46: warning: cast between incompatible function types from 'void (*)(GtkTreeViewColumn *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *)' {aka 'void (*)(struct _GtkTreeViewColumn *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *)'} to 'void (*)(GtkTreeViewColumn *, GtkCellRenderer *, GtkTreeModel *, GtkTreeIter *, void *)' {aka 'void (*)(struct _GtkTreeViewColumn *, struct _GtkCellRenderer *, struct _GtkTreeModel *, struct _GtkTreeIter *, void *)'} [-Wcast-function-type] 155 | (GtkTreeCellDataFunc) data_func, | ^ CC moousertools.o In file included from ./mooedit/mooedittypes.h:7, from ./mooedit/mooindenter.h:19, from ./mooedit/mootextview.h:20, from ./plugins/support/moolineview.h:19, from ./plugins/support/moooutputfilter.h:19, from plugins/usertools/moocommand.h:20, from plugins/usertools/moousertools.h:20, from plugins/usertools/moousertools.c:16: plugins/usertools/moousertools.c: In function '_moo_tool_action_get_type': ./mooutils/mootype-macros.h:27:40: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 27 | (GClassInitFunc) type_name##_class_intern_init, \ | ^ ./mooutils/mootype-macros.h:51:5: note: in expansion of macro '_MOO_REGISTER_TYPE' 51 | _MOO_REGISTER_TYPE(TypeName,type_name,TYPE_PARENT,0) \ | ^~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:60:5: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC_WITH_CODE' 60 | MOO_DEFINE_TYPE_STATIC_WITH_CODE (TypeName, type_name, TYPE_PARENT, {}) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plugins/usertools/moousertools.c:84:1: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC' 84 | MOO_DEFINE_TYPE_STATIC (MooToolAction, _moo_tool_action, MOO_TYPE_EDIT_ACTION) | ^~~~~~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:29:40: warning: cast between incompatible function types from 'void (*)(MooToolAction *)' to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type] 29 | (GInstanceInitFunc) type_name##_init, \ | ^ ./mooutils/mootype-macros.h:51:5: note: in expansion of macro '_MOO_REGISTER_TYPE' 51 | _MOO_REGISTER_TYPE(TypeName,type_name,TYPE_PARENT,0) \ | ^~~~~~~~~~~~~~~~~~ ./mooutils/mootype-macros.h:60:5: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC_WITH_CODE' 60 | MOO_DEFINE_TYPE_STATIC_WITH_CODE (TypeName, type_name, TYPE_PARENT, {}) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plugins/usertools/moousertools.c:84:1: note: in expansion of macro 'MOO_DEFINE_TYPE_STATIC' 84 | MOO_DEFINE_TYPE_STATIC (MooToolAction, _moo_tool_action, MOO_TYPE_EDIT_ACTION) | ^~~~~~~~~~~~~~~~~~~~~~ plugins/usertools/moousertools.c: In function 'generate_real_list': plugins/usertools/moousertools.c:1092:32: warning: cast between incompatible function types from 'void (*)(MooUserToolInfo *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1092 | g_slist_foreach (sys_list, (GFunc) _moo_user_tool_info_unref, NULL); | ^ In file included from plugins/usertools/moousertools.c:23: plugins/usertools/moousertools.c: In function 'user_tools_plugin_get_type': ./mooedit/mooplugin-macro.h:96:13: warning: cast between incompatible function types from 'void (*)(MooPluginClass *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 96 | (GClassInitFunc) name__##_plugin_class_init, \ | ^ ./mooedit/mooplugin-macro.h:118:1: note: in expansion of macro 'MOO_PLUGIN_DEFINE_FULL' 118 | MOO_PLUGIN_DEFINE_FULL(Name__,name__, \ | ^~~~~~~~~~~~~~~~~~~~~~ plugins/usertools/moousertools.c:1381:1: note: in expansion of macro 'MOO_PLUGIN_DEFINE' 1381 | MOO_PLUGIN_DEFINE (UserTools, user_tools, | ^~~~~~~~~~~~~~~~~ ./mooedit/mooplugin-macro.h:101:13: warning: cast between incompatible function types from 'void (*)(MooPlugin *)' to 'void (*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *, void *)'} [-Wcast-function-type] 101 | (GInstanceInitFunc) name__##_plugin_instance_init, \ | ^ ./mooedit/mooplugin-macro.h:118:1: note: in expansion of macro 'MOO_PLUGIN_DEFINE_FULL' 118 | MOO_PLUGIN_DEFINE_FULL(Name__,name__, \ | ^~~~~~~~~~~~~~~~~~~~~~ plugins/usertools/moousertools.c:1381:1: note: in expansion of macro 'MOO_PLUGIN_DEFINE' 1381 | MOO_PLUGIN_DEFINE (UserTools, user_tools, | ^~~~~~~~~~~~~~~~~ mv: cannot rename .deps/moousertools.Tpo to .deps/moousertools.Po: Disc quota exceeded gmake[3]: *** [Makefile:5415: moousertools.o] Error 2 gmake[3]: Leaving directory '/home/pbulk/build/editors/medit/work/medit-1.2.0/moo' gmake[2]: *** [Makefile:1705: all] Error 2 gmake[2]: Leaving directory '/home/pbulk/build/editors/medit/work/medit-1.2.0/moo' gmake[1]: *** [Makefile:450: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/editors/medit/work/medit-1.2.0' gmake: *** [Makefile:380: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/medit *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/medit