[Users] Latest git74 doesn't build

Brian Morrison bdm at fenrir.org.uk
Mon Apr 8 12:21:32 UTC 2024


Here is the error output:

prefs_other.c: In function ‘prefs_other_save’:
prefs_other.c:627:42: error: passing argument 1 of ‘prefs_keybind_preset_changed’ from incompatible pointer type [-Wincompatible-pointer-types]
  627 |         prefs_keybind_preset_changed(page->keys_preset_combo);
      |                                      ~~~~^~~~~~~~~~~~~~~~~~~
      |                                          |
      |                                          GtkWidget * {aka struct _GtkWidget *}
prefs_other.c:104:55: note: expected ‘GtkComboBox *’ {aka ‘struct _GtkComboBox *’} but argument is of type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’}
  104 | static void prefs_keybind_preset_changed(GtkComboBox *widget)
      |                                          ~~~~~~~~~~~~~^~~~~~
prefs_other.c:682:17: warning: ‘gtk_rc_reparse_all_for_settings’ is deprecated: Use 'GtkStyleContext' instead [-Wdeprecated-declarations]
  682 |                 gtk_rc_reparse_all_for_settings(gtk_settings_get_default(), TRUE);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:273,
                 from prefs_other.c:31:
/usr/include/gtk-3.0/gtk/deprecated/gtkrc.h:183:10: note: declared here
  183 | gboolean gtk_rc_reparse_all_for_settings (GtkSettings *settings,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:1604: prefs_other.o] Error 1
make[4]: *** Waiting for unfinished jobs....
prefs_matcher.c: In function ‘prefs_matcher_list_view_create’:
prefs_matcher.c:2313:9: warning: ‘gtk_tree_view_set_rules_hint’ is deprecated [-Wdeprecated-declarations]
 2313 |         gtk_tree_view_set_rules_hint(list_view, prefs_common.use_stripes_everywhere);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27,
                 from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29,
                 from /usr/include/gtk-3.0/gtk/gtk.h:42,
                 from prefs_matcher.c:28:
/usr/include/gtk-3.0/gtk/gtktreeview.h:246:24: note: declared here
  246 | void                   gtk_tree_view_set_rules_hint                (GtkTreeView               *tree_view,
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: Leaving directory '/home/bdm/rpmbuild/BUILD/claws-mail-4.2.0git74/src'
make[3]: *** [Makefile:1660: all-recursive] Error 1
make[3]: Leaving directory '/home/bdm/rpmbuild/BUILD/claws-mail-4.2.0git74/src'
make[2]: *** [Makefile:1339: all] Error 2
make[2]: Leaving directory '/home/bdm/rpmbuild/BUILD/claws-mail-4.2.0git74/src'
make[1]: *** [Makefile:795: all-recursive] Error 1
make[1]: Leaving directory '/home/bdm/rpmbuild/BUILD/claws-mail-4.2.0git74'
make: *** [Makefile:569: all] Error 2


-- 

Brian Morrison


More information about the Users mailing list