46.alpha: 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/2] Compiling C object src/gnome-sudoku.p/meson-generated_gnome-sudoku.c.o
FAILED: src/gnome-sudoku.p/meson-generated_gnome-sudoku.c.o
/usr/bin/gcc -Isrc/gnome-sudoku.p -Isrc -I../src -Ilib -I../lib -Idata -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/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gee-0.8 -I/usr/include/json-glib-1.0 -I/usr/include/libadwaita-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -include config.h -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 -pthread -mfpmath=sse -msse -msse2 -MD -MQ src/gnome-sudoku.p/meson-generated_gnome-sudoku.c.o -MF src/gnome-sudoku.p/meson-generated_gnome-sudoku.c.o.d -o src/gnome-sudoku.p/meson-generated_gnome-sudoku.c.o -c src/gnome-sudoku.p/gnome-sudoku.c
../src/gnome-sudoku.vala: In function ‘sudoku_real_startup’:
../src/gnome-sudoku.vala:152:81: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
152 | set_accels_for_action ("app.new-game", {"<Primary>n"});
| ^
| |
| 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 src/gnome-sudoku.p/gnome-sudoku.c:25:
/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/gnome-sudoku.vala:153:78: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
153 | set_accels_for_action ("app.print", {"<Primary>p"});
| ^
| |
| 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/gnome-sudoku.vala:154:77: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
154 | set_accels_for_action ("app.quit", {"<Primary>q"});
| ^
| |
| 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/gnome-sudoku.vala:155:78: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
155 | set_accels_for_action ("app.reset", {"<Primary>r"});
| ^
| |
| 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/gnome-sudoku.vala:156:77: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
156 | set_accels_for_action ("app.undo", {"<Primary>z"});
| ^
| |
| 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/gnome-sudoku.vala:157:77: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
157 | set_accels_for_action ("app.redo", {"<Primary><Shift>z"});
| ^
| |
| 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/gnome-sudoku.vala:158:77: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
158 | set_accels_for_action ("app.help", {"F1"});
| ^
| |
| 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/gnome-sudoku.vala: In function ‘sudoku_about_cb’:
../src/gnome-sudoku.vala:517:29: error: passing argument 1 of ‘_vala_array_dup1’ from incompatible pointer type [-Wincompatible-pointer-types]
517 | var about = new Adw.AboutWindow () {
| ^~~~~~~~~~~~~~
| |
| const gchar ** {aka const char **}
gnome-sudoku.c:2979:27: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘const gchar **’ {aka ‘const char **’}
../src/gnome-sudoku.vala:517:44: error: passing argument 2 of ‘adw_about_window_set_developers’ from incompatible pointer type [-Wincompatible-pointer-types]
517 | var about = new Adw.AboutWindow () {
| ^
| |
| gchar ** {aka char **}
In file included from /usr/include/libadwaita-1/adwaita.h:24,
from src/gnome-sudoku.p/gnome-sudoku.c:29:
/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);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
ninja: build stopped: cannot make progress due to previous errors.