Cast error inside flatpak runtime
Maybe it is caused by the new GLib/GI/G* requirement.
CCLD libmodules_resources.la
CCLD libwarnlib.la
installed-tests/gimarshallingtests.c: In function ‘gi_marshalling_tests_interface_get_type’:
installed-tests/gimarshallingtests.c:4877:45: error: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
(GClassInitFunc) gi_marshalling_tests_interface_class_init, 0, NULL, 0);
^
installed-tests/gimarshallingtests.c: In function ‘gi_marshalling_tests_interface2_get_type’:
installed-tests/gimarshallingtests.c:4955:45: error: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
(GClassInitFunc) gi_marshalling_tests_interface2_class_init, 0, NULL, 0);
^
installed-tests/gimarshallingtests.c: In function ‘gi_marshalling_tests_interface3_get_type’:
installed-tests/gimarshallingtests.c:4976:45: error: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Werror=cast-function-type]
(GClassInitFunc) gi_marshalling_tests_interface3_class_init, 0, NULL, 0);
^
ar: `u' modifier ignored since `D' is the default (see `U')
CXXLD libgjs.la