3.38.1: 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/5] Compiling C object src/gnome-taquin.p/meson-generated_base-window.c.o
FAILED: src/gnome-taquin.p/meson-generated_base-window.c.o
/usr/bin/gcc -Isrc/gnome-taquin.p -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/librsvg-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w '-DGETTEXT_PACKAGE="gnome-taquin"' -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 -include config.h -MD -MQ src/gnome-taquin.p/meson-generated_base-window.c.o -MF src/gnome-taquin.p/meson-generated_base-window.c.o.d -o src/gnome-taquin.p/meson-generated_base-window.c.o -c src/gnome-taquin.p/base-window.c
../src/base-window.vala: In function ‘base_window_create_about_dialog’:
../src/base-window.vala:474:42: error: passing argument 2 of ‘gtk_about_dialog_set_artists’ from incompatible pointer type [-Wincompatible-pointer-types]
474 | if (artists.length > 0) about_dialog.set_artists (artists);
| ^~~~~~~
| |
| gchar ** {aka char **}
In file included from /usr/include/gtk-3.0/gtk/gtk.h:31,
from src/gnome-taquin.p/base-window.c:22:
/usr/include/gtk-3.0/gtk/gtkaboutdialog.h:198:82: note: expected ‘const gchar **’ {aka ‘const char **’} but argument is of type ‘gchar **’ {aka ‘char **’}
198 | const gchar **artists);
| ~~~~~~~~~~~~~~~~~^~~~~~~
../src/base-window.vala:475:42: error: passing argument 2 of ‘gtk_about_dialog_set_authors’ from incompatible pointer type [-Wincompatible-pointer-types]
475 | if (authors.length > 0) about_dialog.set_authors (authors);
| ^~~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkaboutdialog.h:188:82: note: expected ‘const gchar **’ {aka ‘const char **’} but argument is of type ‘gchar **’ {aka ‘char **’}
188 | const gchar **authors);
| ~~~~~~~~~~~~~~~~~^~~~~~~
../src/base-window.vala:478:46: error: passing argument 2 of ‘gtk_about_dialog_set_documenters’ from incompatible pointer type [-Wincompatible-pointer-types]
478 | if (documenters.length > 0) about_dialog.set_documenters (documenters);
| ^~~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkaboutdialog.h:193:82: note: expected ‘const gchar **’ {aka ‘const char **’} but argument is of type ‘gchar **’ {aka ‘char **’}
193 | const gchar **documenters);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
[2/5] Compiling C object src/gnome-taquin.p/meson-generated_adaptative-window.c.o
FAILED: src/gnome-taquin.p/meson-generated_adaptative-window.c.o
/usr/bin/gcc -Isrc/gnome-taquin.p -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/librsvg-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w '-DGETTEXT_PACKAGE="gnome-taquin"' -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 -include config.h -MD -MQ src/gnome-taquin.p/meson-generated_adaptative-window.c.o -MF src/gnome-taquin.p/meson-generated_adaptative-window.c.o.d -o src/gnome-taquin.p/meson-generated_adaptative-window.c.o -c src/gnome-taquin.p/adaptative-window.c
../src/adaptative-window.vala: In function ‘adaptative_window_change_window_size’:
../src/adaptative-window.vala:323:26: error: passing argument 2 of ‘g_list_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
323 | adaptative_children.@foreach ((adaptative_child) => adaptative_child.set_window_size (new_window_size));
| ^~~~~~~~~~~~~~~~~
| |
| void (*)(const void *, void *)
In file included from /usr/include/glib-2.0/glib/ghash.h:36,
from /usr/include/glib-2.0/glib.h:52,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from src/gnome-taquin.p/adaptative-window.c:21:
/usr/include/glib-2.0/glib/glist.h:139:60: note: expected ‘GFunc’ {aka ‘void (*)(void *, void *)’} but argument is of type ‘void (*)(const void *, void *)’
139 | GFunc func,
| ~~~~~~~~~~~~~~~~~~^~~~
[3/5] Compiling C object src/gnome-taquin.p/meson-generated_overlayed-list.c.o
FAILED: src/gnome-taquin.p/meson-generated_overlayed-list.c.o
/usr/bin/gcc -Isrc/gnome-taquin.p -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/librsvg-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w '-DGETTEXT_PACKAGE="gnome-taquin"' -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 -include config.h -MD -MQ src/gnome-taquin.p/meson-generated_overlayed-list.c.o -MF src/gnome-taquin.p/meson-generated_overlayed-list.c.o.d -o src/gnome-taquin.p/meson-generated_overlayed-list.c.o -c src/gnome-taquin.p/overlayed-list.c
../src/overlayed-list.vala: In function ‘_overlayed_list_get_selection_state’:
../src/overlayed-list.vala:303:27: error: passing argument 2 of ‘g_list_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
303 | selected_rows.foreach ((row) => {
| ^~~~~~~~~~~~~~~~~~~
| |
| void (*)(const void *, void *)
In file included from /usr/include/glib-2.0/glib/ghash.h:36,
from /usr/include/glib-2.0/glib.h:52,
from /usr/include/gtk-3.0/gdk/gdkconfig.h:8,
from /usr/include/gtk-3.0/gdk/gdk.h:30,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from src/gnome-taquin.p/overlayed-list.c:21:
/usr/include/glib-2.0/glib/glist.h:139:60: note: expected ‘GFunc’ {aka ‘void (*)(void *, void *)’} but argument is of type ‘void (*)(const void *, void *)’
139 | GFunc func,
| ~~~~~~~~~~~~~~~~~~^~~~
../src/overlayed-list.vala: In function ‘overlayed_list_constructor’:
../src/overlayed-list.vala:39:57: error: passing argument 3 of ‘gtk_list_box_bind_model’ from incompatible pointer type [-Wincompatible-pointer-types]
39 | main_list_box.bind_model (main_list_store, create_rows);
| ^~~~~~~~
| |
| GtkWidget * (*)(GObject *, void *) {aka struct _GtkWidget * (*)(struct _GObject *, void *)}
In file included from /usr/include/gtk-3.0/gtk/gtk.h:140:
/usr/include/gtk-3.0/gtk/gtklistbox.h:312:89: note: expected ‘GtkListBoxCreateWidgetFunc’ {aka ‘struct _GtkWidget * (*)(void *, void *)’} but argument is of type ‘GtkWidget * (*)(GObject *, void *)’ {aka ‘struct _GtkWidget * (*)(struct _GObject *, void *)’}
312 | GtkListBoxCreateWidgetFunc create_widget_func,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[4/5] Compiling C object src/gnome-taquin.p/meson-generated_taquin-main.c.o
FAILED: src/gnome-taquin.p/meson-generated_taquin-main.c.o
/usr/bin/gcc -Isrc/gnome-taquin.p -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/librsvg-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w '-DGETTEXT_PACKAGE="gnome-taquin"' -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 -include config.h -MD -MQ src/gnome-taquin.p/meson-generated_taquin-main.c.o -MF src/gnome-taquin.p/meson-generated_taquin-main.c.o.d -o src/gnome-taquin.p/meson-generated_taquin-main.c.o -c src/gnome-taquin.p/taquin-main.c
../src/taquin-main.vala: In function ‘taquin_real_startup’:
../src/taquin-main.vala:235:78: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
235 | set_accels_for_action ("base.copy", { "<Primary>c" });
| ^~~~~~~
| |
| gchar ** {aka char **}
In file included from /usr/include/gtk-3.0/gtk/gtkwindow.h:33,
from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
from /usr/include/gtk-3.0/gtk/gtk.h:31,
from src/gnome-taquin.p/taquin-main.c:24:
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../src/taquin-main.vala:236:82: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
236 | set_accels_for_action ("base.copy-alt", { "<Shift><Primary>c" });
| ^~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../src/taquin-main.vala:237:80: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
237 | set_accels_for_action ("ui.new-game", { "<Primary>n" });
| ^~~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../src/taquin-main.vala:238:88: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
238 | set_accels_for_action ("ui.start-or-restart", { "<Shift><Primary>n" });
| ^
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../src/taquin-main.vala:239:77: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
239 | set_accels_for_action ("app.quit", { "<Primary>q",
| ^~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../src/taquin-main.vala:241:79: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
241 | set_accels_for_action ("base.paste", { "<Primary>v" });
| ^~~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../src/taquin-main.vala:242:83: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
242 | set_accels_for_action ("base.paste-alt", { "<Shift><Primary>v" });
| ^~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../src/taquin-main.vala:243:76: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
243 | set_accels_for_action ("ui.undo", { "<Primary>z" });
| ^~~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../src/taquin-main.vala:246:80: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
246 | set_accels_for_action ("base.escape", { "Escape" });
| ^~~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../src/taquin-main.vala:247:90: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
247 | set_accels_for_action ("base.toggle-hamburger", { "F10",
| ^
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../src/taquin-main.vala:251:90: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
251 | set_accels_for_action ("win.show-help-overlay", { "F1", // TODO test: if showing Yelp fails, should fallback there
| ^~~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
ninja: build stopped: cannot make progress due to previous errors.