mate-desktop / mate-settings-daemon

MATE settings daemon
https://mate-desktop.org
GNU General Public License v2.0
44 stars 46 forks source link

[plugins] Fix build \w clang 16 #399

Closed listout closed 1 year ago

listout commented 1 year ago

Clang 16 has made -Wincompatible-function-pointer-types and other warnigns enabled by default. Hence we're getting erros such as:

msd-a11y-keyboard-atspi.c:131:53: error: incompatible function pointer types passing
      'gboolean (const AtspiDeviceEvent *, void *)' (aka 'int (const struct _AtspiDeviceEvent *, void *)') to
      parameter of type 'AtspiDeviceListenerCB' (aka 'int (*)(struct _AtspiDeviceEvent *, void *)')
      [-Wincompatible-function-pointer-types]
        self->listener = atspi_device_listener_new (on_key_press_event,
                                                    ^~~~~~~~~~~~~~~~~~
cwendling commented 1 year ago

See #400

raveit65 commented 1 year ago

https://github.com/mate-desktop/mate-settings-daemon/pull/400 is merged. Do we need this PR now?

listout commented 1 year ago

Most probably not, closing.