New build 'warnings'
- BTW: I will check why the
-Werror
is no longer working.
E.g. (from https://gitlab.gnome.org/GNOME/gjs/-/jobs/6475)
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:23,
from /root/jhbuild/checkout/gjs/libgjs-private/gjs-gdbus-wrapper.h:27,
from /root/jhbuild/checkout/gjs/libgjs-private/gjs-gdbus-wrapper.cpp:7:
/root/jhbuild/checkout/gjs/libgjs-private/gjs-gdbus-wrapper.cpp: In function 'GType gjs_dbus_implementation_get_type()':
/root/jhbuild/checkout/gjs/libgjs-private/gjs-gdbus-wrapper.cpp:33:38: warning: cast between incompatible function types from 'void (*)(gpointer)' {aka 'void (*)(void*)'} to 'GClassInitFunc' {aka 'void (*)(void*, void*)'} [-Wcast-function-type]
G_DEFINE_TYPE(GjsDBusImplementation, gjs_dbus_implementation, G_TYPE_DBUS_INTERFACE_SKELETON)
^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1977:57: note: in definition of macro '_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER'