45.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/2] Compiling C object src/xdg-desktop-portal-gnome.p/inputcapture.c.o
FAILED: src/xdg-desktop-portal-gnome.p/inputcapture.c.o
/usr/bin/gcc -Isrc/xdg-desktop-portal-gnome.p -Isrc -I../src -I/usr/include/freetype2 -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/gtk-4.0/unix-print -I/usr/include/gsettings-desktop-schemas -I/usr/include/gnome-desktop-4.0 -I/usr/include/libadwaita-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DHAVE_GTK_X11 -DHAVE_GTK_WAYLAND -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 -mfpmath=sse -msse -msse2 -MD -MQ src/xdg-desktop-portal-gnome.p/inputcapture.c.o -MF src/xdg-desktop-portal-gnome.p/inputcapture.c.o.d -o src/xdg-desktop-portal-gnome.p/inputcapture.c.o -c ../src/inputcapture.c
In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9,
from /usr/include/glib-2.0/glib/gtypes.h:34,
from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from ../src/inputcapture.h:21,
from ../src/inputcapture.c:21:
../src/inputcapture.c: In function ‘input_capture_dialog_handle_free’:
../src/inputcapture.c:92:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
92 | g_clear_pointer ((GtkWindow**)&dialog_handle->dialog, gtk_window_destroy);
/usr/include/glib-2.0/glib/gmacros.h:871:47: note: in definition of macro ‘G_STATIC_ASSERT’
871 | #define G_STATIC_ASSERT(expr) _Static_assert (expr, "Expression evaluates to false")
| ^~~~
../src/inputcapture.c:92:3: note: in expansion of macro ‘g_clear_pointer’
92 | g_clear_pointer ((GtkWindow**)&dialog_handle->dialog, gtk_window_destroy);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/gatomic.h:30,
from /usr/include/glib-2.0/glib/gthread.h:34,
from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
from /usr/include/glib-2.0/glib.h:34:
../src/inputcapture.c:92:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
92 | g_clear_pointer ((GtkWindow**)&dialog_handle->dialog, gtk_window_destroy);
/usr/include/glib-2.0/glib/glib-typeof.h:39:36: note: in definition of macro ‘glib_typeof’
39 | #define glib_typeof(t) __typeof__ (t)
| ^
../src/inputcapture.c:92:3: note: in expansion of macro ‘g_clear_pointer’
92 | g_clear_pointer ((GtkWindow**)&dialog_handle->dialog, gtk_window_destroy);
| ^~~~~~~~~~~~~~~
../src/inputcapture.c: In function ‘create_input_capture_dialog’:
../src/inputcapture.c:412:46: error: passing argument 2 of ‘gtk_window_group_add_window’ from incompatible pointer type [-Wincompatible-pointer-types]
412 | gtk_window_group_add_window (window_group, dialog);
| ^~~~~~
| |
| GtkWidget * {aka struct _GtkWidget *}
In file included from /usr/include/gtk-4.0/gtk/gtk.h:304,
from ../src/inputcapturedialog.h:21,
from ../src/inputcapture.c:22:
/usr/include/gtk-4.0/gtk/gtkwindowgroup.h:71:70: note: expected ‘GtkWindow *’ {aka ‘struct _GtkWindow *’} but argument is of type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’}
71 | GtkWindow *window);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
../src/inputcapture.c:433:3: warning: ‘gtk_widget_show’ is deprecated: Use 'gtk_widget_set_visible or gtk_window_present' instead [-Wdeprecated-declarations]
433 | gtk_widget_show (dialog);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtkapplication.h:26,
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:
/usr/include/gtk-4.0/gtk/gtkwidget.h:271:12: note: declared here
271 | void gtk_widget_show (GtkWidget *widget);
| ^~~~~~~~~~~~~~~
ninja: build stopped: cannot make progress due to previous errors.