<div dir="ltr"><div dir="ltr">Try --enable-debug=yes, with so many deprecated functions and GCC being more picky now it's hard to compile without any warnings.<br></div><div><br></div><div>Cheers,</div><div>Andre Miranda<br></div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 3, 2019 at 5:35 PM Alexis BRENON @Xfce <<a href="mailto:brenon.alexis%2Bxfce@gmail.com">brenon.alexis+xfce@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi,<br>
<br>
Thanks for the answer. For sure, I think that is a problem with the<br>
compilation... I tried to compile with full debug:<br>
<br>
$ ./autogen.sh --enable-debug=full<br>
[...]<br>
Build Configuration:<br>
<br>
* Debug Support:    full<br>
<br>
Now type "make" to compile.<br>
<br>
$ make<br>
[...]<br>
  CC       libxkb_la-xkb-plugin.lo<br>
In file included from<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/libxfce4panel.h:29,<br>
                 from<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-plugin-provider.h:23,<br>
                 from<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:26,<br>
                 from<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-plugin.h:28,<br>
                 from xkb-plugin.h:29,<br>
                 from xkb-plugin.c:34:<br>
xkb-plugin.c: In function 'xkb_plugin_register_type':<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros.h:189:7:<br>
error: cast between incompatible function types from 'void (*)(void<br>
*)' to 'void (*)(void *, void *)' [-Werror=cast-function-type]<br>
       (GClassInitFunc) type_name##_class_intern_init, \<br>
       ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros.h:211:3:<br>
note: in expansion of macro 'XFCE_PANEL_DEFINE_TYPE'<br>
   XFCE_PANEL_DEFINE_TYPE (TypeName, type_name, XFCE_TYPE_PANEL_PLUGIN) \<br>
   ^~~~~~~~~~~~~~~~~~~~~~<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros.h:122:3:<br>
note: in expansion of macro '_XPP_DEFINE_PLUGIN'<br>
   _XPP_DEFINE_PLUGIN (TypeName, type_name, FALSE, args)<br>
   ^~~~~~~~~~~~~~~~~~<br>
xkb-plugin.c:128:1: note: in expansion of macro 'XFCE_PANEL_DEFINE_PLUGIN'<br>
 XFCE_PANEL_DEFINE_PLUGIN (XkbPlugin, xkb_plugin)<br>
 ^~~~~~~~~~~~~~~~~~~~~~~~<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros.h:194:7:<br>
error: cast between incompatible function types from 'void<br>
(*)(XkbPlugin *)' {aka 'void (*)(struct _XkbPlugin *)'} to 'void<br>
(*)(GTypeInstance *, void *)' {aka 'void (*)(struct _GTypeInstance *,<br>
void *)'} [-Werror=cast-function-type]<br>
       (GInstanceInitFunc) type_name##_init, \<br>
       ^<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros.h:211:3:<br>
note: in expansion of macro 'XFCE_PANEL_DEFINE_TYPE'<br>
   XFCE_PANEL_DEFINE_TYPE (TypeName, type_name, XFCE_TYPE_PANEL_PLUGIN) \<br>
   ^~~~~~~~~~~~~~~~~~~~~~<br>
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros.h:122:3:<br>
note: in expansion of macro '_XPP_DEFINE_PLUGIN'<br>
   _XPP_DEFINE_PLUGIN (TypeName, type_name, FALSE, args)<br>
   ^~~~~~~~~~~~~~~~~~<br>
xkb-plugin.c:128:1: note: in expansion of macro 'XFCE_PANEL_DEFINE_PLUGIN'<br>
 XFCE_PANEL_DEFINE_PLUGIN (XkbPlugin, xkb_plugin)<br>
 ^~~~~~~~~~~~~~~~~~~~~~~~<br>
cc1: all warnings being treated as errors<br>
[...]<br>
<br>
I know makefile but not autogen... Do I need to recompile xfce4-panel<br>
instead of using the one provided by ArchLinux (xfce4-panel 4.12.2<br>
(Xfce 4.12))?<br>
<br>
Kind,<br>
Alexis.<br>
_______________________________________________<br>
Xfce4-dev mailing list<br>
<a href="mailto:Xfce4-dev@xfce.org" target="_blank">Xfce4-dev@xfce.org</a><br>
<a href="https://mail.xfce.org/mailman/listinfo/xfce4-dev" rel="noreferrer" target="_blank">https://mail.xfce.org/mailman/listinfo/xfce4-dev</a></blockquote></div></div>