-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 control: forwarded -1 https://gitlab.xfce.org/panel-plugins/xfce4-notes-plugin/-/issues/84
On Wed, 2024-07-03 at 12:48 +0000, Matthias Klose wrote: > Common build failures are new warnings resulting in build failures with > -Werror turned on, or new/dropped symbols in Debian symbols files. > For other C/C++ related build failures see the porting guide at > http://gcc.gnu.org/gcc-14/porting_to.html Hi Matthias, I'm taking a look at this. The provided extract from the build log doesn't show the error, which are: application.c: In function '__lambda16_': application.c:3461:87: error: passing argument 2 of 'gtk_menu_shell_append' from incompatible pointer type [-Wincompatible-pointer-types] 3461 | gtk_menu_shell_append ((GtkMenuShell*) _data2_->menu, _tmp9_); | ^~~~~~ | | | GtkMenuItem * {aka struct _GtkMenuItem *} In file included from /usr/include/gtk-3.0/gtk/gtkmenu.h:33, from /usr/include/gtk-3.0/gtk/gtklabel.h:34, from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35, from /usr/include/gtk-3.0/gtk/gtk.h:33: /usr/include/gtk-3.0/gtk/gtkmenushell.h:92:55: note: expected 'GtkWidget *' {aka 'struct _GtkWidget *'} but argument is of type 'GtkMenuItem *' {aka 'struct _GtkMenuItem *'} 92 | GtkWidget *child); | ~~~~~~~~~~~~~~^~~~~ application.c:3470:63: error: passing argument 2 of 'gtk_menu_shell_append' from incompatible pointer type [-Wincompatible-pointer-types] 3470 | gtk_menu_shell_append ((GtkMenuShell*) _data2_->menu, (GtkMenuItem*) mi_sep); | ^~~~~~~~~~~~~~~~~~~~~ | | | GtkMenuItem * {aka struct _GtkMenuItem *} /usr/include/gtk-3.0/gtk/gtkmenushell.h:92:55: note: expected 'GtkWidget *' {aka 'struct _GtkWidget *'} but argument is of type 'GtkMenuItem *' {aka 'struct _GtkMenuItem *'} 92 | GtkWidget *child); | ~~~~~~~~~~~~~~^~~~~ And I guess it's indeed a warning coming from -Wincompatible-pointer-types treated as an error. I've forwarded the bug upstream (https://gitlab.xfce.org/panel-plugins/xfce4- notes-plugin/-/issues/84 ) but I have some difficulties tracking the original problem because it comes from Vala code. I've noticed https://gitlab.gnome.org/GNOME/gtk/-/issues/5870 which seems relevant but I'm unsure how to really fix that. We might have to drop xfce4-notes-plugin from testing for a while until it's fixed. Regards, - -- Yves-Alexis -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAmajbikACgkQ3rYcyPpX RFvnqgf+MQe8UVMfg4fbmwPUe56unR8R48LFApO6qnZDrirG2EwTL1udIr/vhSbx kd6nTJBONapj+VUd+276wJqzZltbjKrGB84DU0tCKcN9iflk1af3/wEUTkox1teA 6NRamFq4bxGM2AtrRPl3e+hH6SHigbM1DzpGTjwd2eEVngTbfDHJRpC4cAzOCtw3 6M720UBoM5vPVGrBlJXmvgoG6I2taLhxJ0JnGR+du4FtSI5b4c7taMURnqxN1R+H AmZxlx/iy2t0ybnkHi4hj7SfzjHvJxdGMpOaaIjuiPT64R1BXKY89n+oKEqGnv7M BcKyi0Ufe6TMojdL7QiykSJ55LDYPg== =3g1W -----END PGP SIGNATURE-----
