[Bug 1221685] New: GCC 14: gdl package fails
https://bugzilla.suse.com/show_bug.cgi?id=1221685 Bug ID: 1221685 Summary: GCC 14: gdl package fails Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME Assignee: gnome-bugs@suse.de Reporter: michal.jires@suse.com QA Contact: qa-bugs@suse.de Blocks: 1220571 Target Milestone: --- Found By: --- Blocker: --- Building gdl with GCC 14 fails here: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:G... Due to (exhaustive list of errors): gdl-dock-item.c: In function ‘gdl_dock_item_class_init’: gdl-dock-item.c:358:44: error: passing argument 1 of ‘gdl_dock_object_class_set_is_compound’ from incompatible pointer type [-Wincompatible-pointer-types] 358 | gdl_dock_object_class_set_is_compound (object_class, FALSE); | ^~~~~~~~~~~~ | | | GObjectClass * {aka struct _GObjectClass *} In file included from gdl-dock.h:26, from gdl-dock-item.c:38: ../gdl/gdl-dock-object.h:354:74: note: expected ‘GdlDockObjectClass *’ {aka ‘struct _GdlDockObjectClass *’} but argument is of type ‘GObjectClass *’ {aka ‘struct _GObjectClass *’} 354 | void gdl_dock_object_class_set_is_compound (GdlDockObjectClass *object_class, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ gdl-dock-item.c: In function ‘gdl_dock_item_set_property’: gdl-dock-item.c:747:36: error: initialization of ‘GObject *’ {aka ‘struct _GObject *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types] 747 | GObject * parent = gtk_widget_get_parent (GTK_WIDGET (item)); | ^~~~~~~~~~~~~~~~~~~~~ gdl-dock-layout.c: In function ‘gdl_dock_layout_set_master’: gdl-dock-layout.c:623:30: error: assignment to ‘GdlDockMaster *’ {aka ‘struct _GdlDockMaster *’} from incompatible pointer type ‘GObject *’ {aka ‘struct _GObject *’} [-Wincompatible-pointer-types] 623 | layout->priv->master = g_object_ref (master); | ^ gdl-dock-bar.c: In function ‘gdl_dock_bar_set_master’: gdl-dock-bar.c:428:31: error: assignment to ‘GdlDockMaster *’ {aka ‘struct _GdlDockMaster *’} from incompatible pointer type ‘GObject *’ {aka ‘struct _GObject *’} [-Wincompatible-pointer-types] 428 | dockbar->priv->master = g_object_ref (master); | ^ See the meta bug#1220571 for more info. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1221685 https://bugzilla.suse.com/show_bug.cgi?id=1221685#c1 --- Comment #1 from Martin Jambor <mjambor@suse.com> --- The corresponding Gentoo bug seems to be https://bugs.gentoo.org/919197 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1221685 https://bugzilla.suse.com/show_bug.cgi?id=1221685#c5 Alynx Zhou <alynx.zhou@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alynx.zhou@suse.com --- Comment #5 from Alynx Zhou <alynx.zhou@suse.com> --- Hi, does this still happen? I assume this is fixed now. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1221685 https://bugzilla.suse.com/show_bug.cgi?id=1221685#c6 Martin Jambor <mjambor@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Assignee|gnome-bugs@suse.de |mjambor@suse.com --- Comment #6 from Martin Jambor <mjambor@suse.com> --- Well, the build failure has been worked around with a compiler flag but (unless there has been a change I did not notice) the code is still invalid C99 and it is a worthy goal to try and reduce the number of packages where we need these flags (fixing other code bases has revealed quite few actual bugs). So I am assigning the bug to myself (and lowering its priority) so that in a year or three we can go over them and check if the work around is still necessary (sort of hoping upstream will take care of it but we will see). -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com