diff mbox series

[meta-xfce] xfce4-settings: Document the need for compiler flags.

Message ID 20241127005545.86128-1-schonm@gmail.com
State New
Headers show
Series [meta-xfce] xfce4-settings: Document the need for compiler flags. | expand

Commit Message

Jason Schonberg Nov. 27, 2024, 12:55 a.m. UTC
Signed-off-by: Jason Schonberg <schonm@gmail.com>
---
 .../xfce4-settings/xfce4-settings_4.18.3.bb       | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
diff mbox series

Patch

diff --git a/meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.18.3.bb b/meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.18.3.bb
index f9620d85d..bc34c4cee 100644
--- a/meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.18.3.bb
+++ b/meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.18.3.bb
@@ -11,7 +11,22 @@  REQUIRED_DISTRO_FEATURES = "x11"
 SRC_URI += "file://0001-xsettings.xml-Set-default-themes.patch"
 SRC_URI[sha256sum] = "2db9e99be503280739a08779503bdf11db8b9db9851c3a981deb449002f3f1a1"
 
+#| ../../../xfce4-settings-4.18.3/dialogs/keyboard-settings/command-dialog.c:113:3: warning: 'xfce_titled_dialog_create_action_area' is deprecated [-Wdeprecated-declarations]
+#|   113 |   xfce_titled_dialog_create_action_area (XFCE_TITLED_DIALOG (dialog));
+#|       |   ^
+#| /home/jason/yocto/poky/build/tmp/work/cortexa76-poky-linux/xfce4-settings/4.18.3/recipe-sysroot/usr/include/xfce4/libxfce4ui-2/libxfce4ui/xfce-titled-dialog.h:90:73: note: 'xfce_titled_dialog_create_action_area' has been explicitly marked deprecated here
+#|    90 | xfce_titled_dialog_create_action_area (XfceTitledDialog *titled_dialog) G_GNUC_DEPRECATED;
+#|       |                                                                         ^
+#| /home/jason/yocto/poky/build/tmp/work/cortexa76-poky-linux/xfce4-settings/4.18.3/recipe-sysroot/usr/include/glib-2.0/glib/gmacros.h:709:42: note: expanded from macro 'G_GNUC_DEPRECATED'
+#|   709 | #define G_GNUC_DEPRECATED __attribute__((__deprecated__))
+#|       |                                          ^
+#| 1 warning generated.
+#| ../../../xfce4-settings-4.18.3/dialogs/keyboard-settings/xfce-keyboard-settings.c:806:18: error: call to undeclared function 'xfce_shortcut_conflict_dialog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
+#|   806 |       response = xfce_shortcut_conflict_dialog (GTK_WINDOW (dialog),
+#|       |                  ^
+#| 1 error generated.
 CFLAGS += " -Wno-deprecated-declarations -Wno-implicit-function-declaration"
+
 EXTRA_OECONF += "--enable-maintainer-mode --disable-debug"
 
 PACKAGECONFIG ??= " \