45.0: is not gcc 14.x ready
Looks like last version build fails with latest gcc 14.x which is now used in fedora rawhide.
Build fails with
[tkloczko@pers-jacek x86_64-redhat-linux-gnu]$ ninja -k 0
[1/8] Compiling C object src/gnome-usage.p/meson-generated_game-mode.c.o
FAILED: src/gnome-usage.p/meson-generated_game-mode.c.o
/usr/bin/gcc -Isrc/gnome-usage.p -Isrc -I../src -Idata -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/libgtop-2.0 -I/usr/include/tracker-3.0 -I/usr/include/tracker-3.0/libtracker-sparql -I/usr/include/libadwaita-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 '-DVERSION="45.0"' '-DGETTEXT_PACKAGE="gnome-usage"' '-DGNOMELOCALEDIR="/usr/share/locale"' '-DPROFILE=""' '-DAPPLICATION_ID="org.gnome.Usage"' '-DAPPLICATION_RESOURCE_PATH="/org/gnome/Usage/"' -MD -MQ src/gnome-usage.p/meson-generated_game-mode.c.o -MF src/gnome-usage.p/meson-generated_game-mode.c.o.d -o src/gnome-usage.p/meson-generated_game-mode.c.o -c src/gnome-usage.p/game-mode.c
../src/game-mode.vala: In function ‘game_mode_pid_list_get_pids’:
../src/game-mode.vala:102:9: error: assignment to ‘const void **’ from incompatible pointer type ‘void **’ [-Wincompatible-pointer-types]
102 | return _pids.get_keys_as_array ();
| ^
../src/game-mode.vala:102:9: error: assignment to ‘gint *’ {aka ‘int *’} from incompatible pointer type ‘const void **’ [-Wincompatible-pointer-types]
102 | return _pids.get_keys_as_array ();
| ^
[2/8] Compiling C object src/gnome-usage.p/meson-generated_system-monitor.c.o
FAILED: src/gnome-usage.p/meson-generated_system-monitor.c.o
/usr/bin/gcc -Isrc/gnome-usage.p -Isrc -I../src -Idata -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/libgtop-2.0 -I/usr/include/tracker-3.0 -I/usr/include/tracker-3.0/libtracker-sparql -I/usr/include/libadwaita-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 '-DVERSION="45.0"' '-DGETTEXT_PACKAGE="gnome-usage"' '-DGNOMELOCALEDIR="/usr/share/locale"' '-DPROFILE=""' '-DAPPLICATION_ID="org.gnome.Usage"' '-DAPPLICATION_RESOURCE_PATH="/org/gnome/Usage/"' -MD -MQ src/gnome-usage.p/meson-generated_system-monitor.c.o -MF src/gnome-usage.p/meson-generated_system-monitor.c.o.d -o src/gnome-usage.p/meson-generated_system-monitor.c.o -c src/gnome-usage.p/system-monitor.c
../src/system-monitor.vala: In function ‘usage_system_monitor_update_data’:
../src/system-monitor.vala:113:80: error: passing argument 3 of ‘glibtop_get_proclist’ makes integer from pointer without a cast [-Wint-conversion]
113 | var pids = GTop.get_proclist (out proclist, process_mode);
| ^
| |
| void *
In file included from src/gnome-usage.p/system-monitor.c:32:
/usr/include/libgtop-2.0/glibtop/proclist.h:140:66: note: expected ‘gint64’ {aka ‘long int’} but argument is of type ‘void *’
140 | glibtop_get_proclist(glibtop_proclist *buf, gint64 which, gint64 arg);
| ~~~~~~~^~~
../src/system-monitor.vala:114:10: error: assignment to ‘const void **’ from incompatible pointer type ‘void **’ [-Wincompatible-pointer-types]
114 | intptr[] old = (intptr[]) process_table.get_keys_as_array ();
| ^
../src/system-monitor.vala: In function ‘usage_system_monitor_sort_pids’:
../src/system-monitor.vala:238:28: error: passing argument 4 of ‘qsort’ from incompatible pointer type [-Wincompatible-pointer-types]
238 | Posix.qsort (pids, length, elm, (a, b) => {
| ^~~~~~~~~~~~~~~~~~~~~~~~
| |
| gint (*)(void *, void *) {aka int (*)(void *, void *)}
In file included from /usr/include/glib-2.0/glib/gutils.h:426,
from /usr/include/glib-2.0/glib/gthread.h:36,
from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
from /usr/include/glib-2.0/glib.h:34,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from src/gnome-usage.p/system-monitor.c:24:
/usr/include/stdlib.h:971:34: note: expected ‘__compar_fn_t’ {aka ‘int (*)(const void *, const void *)’} but argument is of type ‘gint (*)(void *, void *)’ {aka ‘int (*)(void *, void *)’}
971 | __compar_fn_t __compar) __nonnull ((1, 4));
| ~~~~~~~~~~~~~~^~~~~~~~
[3/8] Compiling C object src/gnome-usage.p/meson-generated_stack-list.c.o
FAILED: src/gnome-usage.p/meson-generated_stack-list.c.o
/usr/bin/gcc -Isrc/gnome-usage.p -Isrc -I../src -Idata -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/libgtop-2.0 -I/usr/include/tracker-3.0 -I/usr/include/tracker-3.0/libtracker-sparql -I/usr/include/libadwaita-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 '-DVERSION="45.0"' '-DGETTEXT_PACKAGE="gnome-usage"' '-DGNOMELOCALEDIR="/usr/share/locale"' '-DPROFILE=""' '-DAPPLICATION_ID="org.gnome.Usage"' '-DAPPLICATION_RESOURCE_PATH="/org/gnome/Usage/"' -MD -MQ src/gnome-usage.p/meson-generated_stack-list.c.o -MF src/gnome-usage.p/meson-generated_stack-list.c.o.d -o src/gnome-usage.p/meson-generated_stack-list.c.o -c src/gnome-usage.p/stack-list.c
../src/stack-list.vala: In function ‘__lambda24_’:
../src/stack-list.vala:39:56: error: passing argument 3 of ‘gtk_list_box_bind_model’ from incompatible pointer type [-Wincompatible-pointer-types]
39 | list_box.bind_model (model, (item) => {
| ^
| |
| GtkWidget * (*)(GObject *, void *) {aka struct _GtkWidget * (*)(struct _GObject *, void *)}
In file included from /usr/include/gtk-4.0/gtk/gtk.h:177,
from src/gnome-usage.p/stack-list.c:24:
/usr/include/gtk-4.0/gtk/gtklistbox.h:267:89: note: expected ‘GtkListBoxCreateWidgetFunc’ {aka ‘struct _GtkWidget * (*)(void *, void *)’} but argument is of type ‘GtkWidget * (*)(GObject *, void *)’ {aka ‘struct _GtkWidget * (*)(struct _GObject *, void *)’}
267 | GtkListBoxCreateWidgetFunc create_widget_func,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[4/8] Compiling C object src/gnome-usage.p/meson-generated_graph.c.o
FAILED: src/gnome-usage.p/meson-generated_graph.c.o
/usr/bin/gcc -Isrc/gnome-usage.p -Isrc -I../src -Idata -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/libgtop-2.0 -I/usr/include/tracker-3.0 -I/usr/include/tracker-3.0/libtracker-sparql -I/usr/include/libadwaita-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 '-DVERSION="45.0"' '-DGETTEXT_PACKAGE="gnome-usage"' '-DGNOMELOCALEDIR="/usr/share/locale"' '-DPROFILE=""' '-DAPPLICATION_ID="org.gnome.Usage"' '-DAPPLICATION_RESOURCE_PATH="/org/gnome/Usage/"' -MD -MQ src/gnome-usage.p/meson-generated_graph.c.o -MF src/gnome-usage.p/meson-generated_graph.c.o.d -o src/gnome-usage.p/meson-generated_graph.c.o -c src/gnome-usage.p/graph.c
../src/graph.vala: In function ‘usage_graph_view_real_snapshot’:
../src/graph.vala:112:7: error: implicit declaration of function ‘sincos’ [-Wimplicit-function-declaration]
112 | Math.sincos(angle, out sin_angle, out cos_angle);
| ^
../src/graph.vala:68:1: note: include ‘<math.h>’ or provide a declaration of ‘sincos’
67 | this.graphs.add (graph);
+++ |+#include <math.h>
68 | graph.updated.connect (this.queue_draw);
[5/8] Compiling C object src/gnome-usage.p/meson-generated_process-list-box.c.o
FAILED: src/gnome-usage.p/meson-generated_process-list-box.c.o
/usr/bin/gcc -Isrc/gnome-usage.p -Isrc -I../src -Idata -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/libgtop-2.0 -I/usr/include/tracker-3.0 -I/usr/include/tracker-3.0/libtracker-sparql -I/usr/include/libadwaita-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 '-DVERSION="45.0"' '-DGETTEXT_PACKAGE="gnome-usage"' '-DGNOMELOCALEDIR="/usr/share/locale"' '-DPROFILE=""' '-DAPPLICATION_ID="org.gnome.Usage"' '-DAPPLICATION_RESOURCE_PATH="/org/gnome/Usage/"' -MD -MQ src/gnome-usage.p/meson-generated_process-list-box.c.o -MF src/gnome-usage.p/meson-generated_process-list-box.c.o.d -o src/gnome-usage.p/meson-generated_process-list-box.c.o -c src/gnome-usage.p/process-list-box.c
../src/process-list-box.vala: In function ‘usage_process_list_box_construct’:
../src/process-list-box.vala:43:57: error: passing argument 3 of ‘gtk_list_box_bind_model’ from incompatible pointer type [-Wincompatible-pointer-types]
43 | list_box.bind_model (model, on_row_created);
| ^
| |
| GtkWidget * (*)(GObject *, void *) {aka struct _GtkWidget * (*)(struct _GObject *, void *)}
In file included from /usr/include/gtk-4.0/gtk/gtk.h:177,
from /usr/include/libadwaita-1/adwaita.h:9,
from src/gnome-usage.p/process-list-box.c:25:
/usr/include/gtk-4.0/gtk/gtklistbox.h:267:89: note: expected ‘GtkListBoxCreateWidgetFunc’ {aka ‘struct _GtkWidget * (*)(void *, void *)’} but argument is of type ‘GtkWidget * (*)(GObject *, void *)’ {aka ‘struct _GtkWidget * (*)(struct _GObject *, void *)’}
267 | GtkListBoxCreateWidgetFunc create_widget_func,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[6/8] Compiling C object src/gnome-usage.p/meson-generated_application.c.o
FAILED: src/gnome-usage.p/meson-generated_application.c.o
/usr/bin/gcc -Isrc/gnome-usage.p -Isrc -I../src -Idata -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/libgtop-2.0 -I/usr/include/tracker-3.0 -I/usr/include/tracker-3.0/libtracker-sparql -I/usr/include/libadwaita-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 '-DVERSION="45.0"' '-DGETTEXT_PACKAGE="gnome-usage"' '-DGNOMELOCALEDIR="/usr/share/locale"' '-DPROFILE=""' '-DAPPLICATION_ID="org.gnome.Usage"' '-DAPPLICATION_RESOURCE_PATH="/org/gnome/Usage/"' -MD -MQ src/gnome-usage.p/meson-generated_application.c.o -MF src/gnome-usage.p/meson-generated_application.c.o.d -o src/gnome-usage.p/meson-generated_application.c.o -c src/gnome-usage.p/application.c
../src/application.vala: In function ‘usage_application_real_activate’:
../src/application.vala:47:77: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
47 | set_accels_for_action ("app.quit", {"<Control>q"});
| ^
| |
| gchar ** {aka char **}
In file included from /usr/include/gtk-4.0/gtk/gtkwindow.h:32,
from /usr/include/gtk-4.0/gtk/gtkaboutdialog.h:29,
from /usr/include/gtk-4.0/gtk/gtk.h:33,
from /usr/include/libadwaita-1/adwaita.h:9,
from src/gnome-usage.p/application.c:24:
/usr/include/gtk-4.0/gtk/gtkapplication.h:131:88: note: expected ‘const char * const*’ but argument is of type ‘gchar **’ {aka ‘char **’}
131 | const char * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~
../src/application.vala: In function ‘usage_application_real_startup’:
../src/application.vala:56:79: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
56 | set_accels_for_action ("app.search", {"<Control>f"});
| ^
| |
| gchar ** {aka char **}
/usr/include/gtk-4.0/gtk/gtkapplication.h:131:88: note: expected ‘const char * const*’ but argument is of type ‘gchar **’ {aka ‘char **’}
131 | const char * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~
../src/application.vala: In function ‘usage_application_on_about’:
../src/application.vala:70:44: error: passing argument 2 of ‘adw_about_window_set_developers’ from incompatible pointer type [-Wincompatible-pointer-types]
70 | new Adw.AboutWindow () {
| ^
| |
| gchar ** {aka char **}
In file included from /usr/include/libadwaita-1/adwaita.h:24:
/usr/include/libadwaita-1/adw-about-window.h:113:71: note: expected ‘const char **’ but argument is of type ‘gchar **’ {aka ‘char **’}
113 | const char **developers);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
../src/application.vala:70:43: error: passing argument 2 of ‘adw_about_window_set_designers’ from incompatible pointer type [-Wincompatible-pointer-types]
70 | new Adw.AboutWindow () {
| ^
| |
| gchar ** {aka char **}
/usr/include/libadwaita-1/adw-about-window.h:119:70: note: expected ‘const char **’ but argument is of type ‘gchar **’ {aka ‘char **’}
119 | const char **designers);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~
[7/8] Compiling C object src/gnome-usage.p/meson-generated_storage_storage-view.c.o
FAILED: src/gnome-usage.p/meson-generated_storage_storage-view.c.o
/usr/bin/gcc -Isrc/gnome-usage.p -Isrc -I../src -Idata -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/libgtop-2.0 -I/usr/include/tracker-3.0 -I/usr/include/tracker-3.0/libtracker-sparql -I/usr/include/libadwaita-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 '-DVERSION="45.0"' '-DGETTEXT_PACKAGE="gnome-usage"' '-DGNOMELOCALEDIR="/usr/share/locale"' '-DPROFILE=""' '-DAPPLICATION_ID="org.gnome.Usage"' '-DAPPLICATION_RESOURCE_PATH="/org/gnome/Usage/"' -MD -MQ src/gnome-usage.p/meson-generated_storage_storage-view.c.o -MF src/gnome-usage.p/meson-generated_storage_storage-view.c.o.d -o src/gnome-usage.p/meson-generated_storage_storage-view.c.o -c src/gnome-usage.p/storage/storage-view.c
../src/storage/storage-view.vala: In function ‘usage_storage_view_constructor’:
../src/storage/storage-view.vala:89:34: error: passing argument 2 of ‘usage_stack_list_init’ from incompatible pointer type [-Wincompatible-pointer-types]
89 | listbox.init (create_file_row);
| ^~~~~~
| |
| GtkWidget * (*)(GObject *, void *) {aka struct _GtkWidget * (*)(struct _GObject *, void *)}
src/gnome-usage.p/storage/storage-view.c:521:56: note: expected ‘GtkListBoxCreateWidgetFunc’ {aka ‘struct _GtkWidget * (*)(void *, void *)’} but argument is of type ‘GtkWidget * (*)(GObject *, void *)’ {aka ‘struct _GtkWidget * (*)(struct _GObject *, void *)’}
521 | GtkListBoxCreateWidgetFunc row_function,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
ninja: build stopped: cannot make progress due to previous errors.