45.0.1 fails to compile with gcc 14.x (due to -Wincompatible-pointer-types being an error)
Looks like last version build fails with latest gcc 14.x which is now used in fedora rawhide.
Build fails with
[tkloczko@pers-jacek x86_64-redhat-linux-gnu]$ ninja -k 0
[1/20] Compiling C object editor/dconf-editor.p/meson-generated_model-utils.c.o
FAILED: editor/dconf-editor.p/meson-generated_model-utils.c.o
/usr/bin/gcc -Ieditor/dconf-editor.p -Ieditor -I../editor -I. -I.. -I/usr/include/dconf -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -DHAVE_CONFIG_H -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -pthread '-DPKGDATADIR="/usr/share/dconf-editor"' '-DVERSION="45.0.1"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="dconf-editor"' -w -MD -MQ editor/dconf-editor.p/meson-generated_model-utils.c.o -MF editor/dconf-editor.p/meson-generated_model-utils.c.o.d -o editor/dconf-editor.p/meson-generated_model-utils.c.o -c editor/dconf-editor.p/model-utils.c
../editor/model-utils.vala: In function ‘registry_variant_dict_end’:
../editor/model-utils.vala:135:32: error: passing argument 2 of ‘g_hash_table_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
135 | hash_table.@foreach ((key, variant) => builder.add ("{qv}", key, variant));
| ^~~~~~~~~~~~~~~~~~~~
| |
| void (*)(const void *, const void *, void *)
In file included from /usr/include/glib-2.0/glib.h:52,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from editor/dconf-editor.p/model-utils.c:21:
/usr/include/glib-2.0/glib/ghash.h:114:61: note: expected ‘GHFunc’ {aka ‘void (*)(void *, void *, void *)’} but argument is of type ‘void (*)(const void *, const void *, void *)’
114 | GHFunc func,
| ~~~~~~~~~~~~~~~~^~~~
[2/20] Compiling C object editor/dconf-editor.p/meson-generated_modifications-handler.c.o
FAILED: editor/dconf-editor.p/meson-generated_modifications-handler.c.o
/usr/bin/gcc -Ieditor/dconf-editor.p -Ieditor -I../editor -I. -I.. -I/usr/include/dconf -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -DHAVE_CONFIG_H -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -pthread '-DPKGDATADIR="/usr/share/dconf-editor"' '-DVERSION="45.0.1"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="dconf-editor"' -w -MD -MQ editor/dconf-editor.p/meson-generated_modifications-handler.c.o -MF editor/dconf-editor.p/meson-generated_modifications-handler.c.o.d -o editor/dconf-editor.p/meson-generated_modifications-handler.c.o -c editor/dconf-editor.p/modifications-handler.c
../editor/modifications-handler.vala: In function ‘modifications_handler_key_has_planned_change’:
../editor/modifications-handler.vala:212:32: error: passing argument 2 of ‘g_hash_table_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
212 | keys_awaiting_hashtable.@foreach ((key_awaiting, planned_value) => {
| ^~~~~~~~~~~~~~~~~~~~
| |
| void (*)(const void *, const void *, void *)
In file included from /usr/include/glib-2.0/glib.h:52,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from editor/dconf-editor.p/modifications-handler.c:21:
/usr/include/glib-2.0/glib/ghash.h:114:61: note: expected ‘GHFunc’ {aka ‘void (*)(void *, void *, void *)’} but argument is of type ‘void (*)(const void *, const void *, void *)’
114 | GHFunc func,
| ~~~~~~~~~~~~~~~~^~~~
../editor/modifications-handler.vala: In function ‘modifications_handler_get_key_planned_value’:
../editor/modifications-handler.vala:225:32: error: passing argument 2 of ‘g_hash_table_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
225 | keys_awaiting_hashtable.@foreach ((key_awaiting, planned_value) => {
| ^~~~~~~~~~~~~~~~~~~~
| |
| void (*)(const void *, const void *, void *)
/usr/include/glib-2.0/glib/ghash.h:114:61: note: expected ‘GHFunc’ {aka ‘void (*)(void *, void *, void *)’} but argument is of type ‘void (*)(const void *, const void *, void *)’
114 | GHFunc func,
| ~~~~~~~~~~~~~~~~^~~~
../editor/modifications-handler.vala: In function ‘modifications_handler_get_delayed_settings’:
../editor/modifications-handler.vala:235:32: error: passing argument 2 of ‘g_hash_table_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
235 | keys_awaiting_hashtable.@foreach ((key_path, planned_value) => {
| ^~~~~~~~~~~~~~~~~~~~
| |
| void (*)(const void *, const void *, void *)
/usr/include/glib-2.0/glib/ghash.h:114:61: note: expected ‘GHFunc’ {aka ‘void (*)(void *, void *, void *)’} but argument is of type ‘void (*)(const void *, const void *, void *)’
114 | GHFunc func,
| ~~~~~~~~~~~~~~~~^~~~
[3/20] Compiling C object editor/dconf-editor.p/meson-generated_source-manager.c.o
FAILED: editor/dconf-editor.p/meson-generated_source-manager.c.o
/usr/bin/gcc -Ieditor/dconf-editor.p -Ieditor -I../editor -I. -I.. -I/usr/include/dconf -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -DHAVE_CONFIG_H -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -pthread '-DPKGDATADIR="/usr/share/dconf-editor"' '-DVERSION="45.0.1"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="dconf-editor"' -w -MD -MQ editor/dconf-editor.p/meson-generated_source-manager.c.o -MF editor/dconf-editor.p/meson-generated_source-manager.c.o.d -o editor/dconf-editor.p/meson-generated_source-manager.c.o -c editor/dconf-editor.p/source-manager.c
../editor/source-manager.vala: In function ‘source_manager_create_schema_source’:
../editor/source-manager.vala:119:18: error: assignment to ‘gchar **’ {aka ‘char **’} from incompatible pointer type ‘const gchar * const*’ {aka ‘const char * const*’} [-Wincompatible-pointer-types]
119 | string[] system_data_dirs = GLib.Environment.get_system_data_dirs ();
| ^
glib-2.0.vapi: In function ‘_vala_g_hash_set_foreach’:
glib-2.0.vapi:5644:44: error: passing argument 2 of ‘g_hash_table_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
In file included from /usr/include/glib-2.0/glib.h:52,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from editor/dconf-editor.p/source-manager.c:21:
/usr/include/glib-2.0/glib/ghash.h:114:61: note: expected ‘GHFunc’ {aka ‘void (*)(void *, void *, void *)’} but argument is of type ‘void (*)(const void *, const void *, void *)’
114 | GHFunc func,
| ~~~~~~~~~~~~~~~~^~~~
../editor/source-manager.vala: In function ‘___lambda99_’:
../editor/source-manager.vala:182:35: error: passing argument 2 of ‘_vala_g_hash_set_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
182 | paths.foreach ((path_spec) => add_relocatable_schema_info (relocatable_schema_paths, schema_id, path_spec));
| ^~~~~~~~~~~~~~~~~~~
| |
| void (*)(const void *, void *)
source-manager.c:1775:33: note: expected ‘GFunc’ {aka ‘void (*)(void *, void *)’} but argument is of type ‘void (*)(const void *, void *)’
../editor/source-manager.vala: In function ‘source_manager_refresh_relocatable_schema_paths’:
../editor/source-manager.vala:181:34: error: passing argument 2 of ‘g_hash_table_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
181 | startup_relocatable_schema_paths.foreach ((schema_id, paths) => {
| ^~~~~~~~~~~~~~~~~~~~~
| |
| void (*)(const void *, const void *, void *)
/usr/include/glib-2.0/glib/ghash.h:114:61: note: expected ‘GHFunc’ {aka ‘void (*)(void *, void *, void *)’} but argument is of type ‘void (*)(const void *, const void *, void *)’
114 | GHFunc func,
| ~~~~~~~~~~~~~~~~^~~~
../editor/source-manager.vala: In function ‘schema_path_tree_add_schema_with_path_specs’:
../editor/source-manager.vala:286:40: error: passing argument 2 of ‘_vala_g_hash_set_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
286 | path_specs.foreach ((path_spec) => {
| ^~~~~
| |
| void (*)(const void *, void *)
source-manager.c:1775:33: note: expected ‘GFunc’ {aka ‘void (*)(void *, void *)’} but argument is of type ‘void (*)(const void *, void *)’
../editor/source-manager.vala: In function ‘schema_path_tree_remove_unmarked_from_path’:
../editor/source-manager.vala:335:39: error: passing argument 2 of ‘g_hash_table_foreach_remove’ from incompatible pointer type [-Wincompatible-pointer-types]
335 | schemas.foreach_remove ((schema_id, cached_schema_info) => {
| ^~~~~~~~~~~~~~~~~~~~~
| |
| gboolean (*)(const void *, const void *, void *) {aka int (*)(const void *, const void *, void *)}
/usr/include/glib-2.0/glib/ghash.h:122:61: note: expected ‘GHRFunc’ {aka ‘int (*)(void *, void *, void *)’} but argument is of type ‘gboolean (*)(const void *, const void *, void *)’ {aka ‘int (*)(const void *, const void *, void *)’}
122 | GHRFunc func,
| ~~~~~~~~~~~~~~~~^~~~
[4/20] Compiling C object editor/dconf-editor.p/meson-generated_dconf-model.c.o
FAILED: editor/dconf-editor.p/meson-generated_dconf-model.c.o
/usr/bin/gcc -Ieditor/dconf-editor.p -Ieditor -I../editor -I. -I.. -I/usr/include/dconf -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -DHAVE_CONFIG_H -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -pthread '-DPKGDATADIR="/usr/share/dconf-editor"' '-DVERSION="45.0.1"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="dconf-editor"' -w -MD -MQ editor/dconf-editor.p/meson-generated_dconf-model.c.o -MF editor/dconf-editor.p/meson-generated_dconf-model.c.o.d -o editor/dconf-editor.p/meson-generated_dconf-model.c.o -c editor/dconf-editor.p/dconf-model.c
../editor/dconf-model.vala: In function ‘_settings_model_core_apply_key_value_changes’:
../editor/dconf-model.vala:829:33: error: passing argument 2 of ‘g_hash_table_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
829 | changes.foreach ((key_path, planned_value) => {
| ^~~~~~~~~~~~~~~~~~~~
| |
| void (*)(const void *, const void *, void *)
In file included from /usr/include/glib-2.0/glib.h:52,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from editor/dconf-editor.p/dconf-model.c:23:
/usr/include/glib-2.0/glib/ghash.h:114:61: note: expected ‘GHFunc’ {aka ‘void (*)(void *, void *, void *)’} but argument is of type ‘void (*)(const void *, const void *, void *)’
114 | GHFunc func,
| ~~~~~~~~~~~~~~~~^~~~
../editor/dconf-model.vala:863:39: error: passing argument 2 of ‘g_hash_table_foreach_remove’ from incompatible pointer type [-Wincompatible-pointer-types]
863 | delayed_settings_hashtable.foreach_remove ((key_descriptor, schema_settings) => { schema_settings.apply (); return true; });
| ^~~~~~~~~~~~~~~~~~~~~
| |
| gboolean (*)(const void *, const void *, void *) {aka int (*)(const void *, const void *, void *)}
/usr/include/glib-2.0/glib/ghash.h:122:61: note: expected ‘GHRFunc’ {aka ‘int (*)(void *, void *, void *)’} but argument is of type ‘gboolean (*)(const void *, const void *, void *)’ {aka ‘int (*)(const void *, const void *, void *)’}
122 | GHRFunc func,
| ~~~~~~~~~~~~~~~~^~~~
[5/20] Compiling C object editor/dconf-editor.p/meson-generated_overlayed-list.c.o
FAILED: editor/dconf-editor.p/meson-generated_overlayed-list.c.o
/usr/bin/gcc -Ieditor/dconf-editor.p -Ieditor -I../editor -I. -I.. -I/usr/include/dconf -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -DHAVE_CONFIG_H -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -pthread '-DPKGDATADIR="/usr/share/dconf-editor"' '-DVERSION="45.0.1"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="dconf-editor"' -w -MD -MQ editor/dconf-editor.p/meson-generated_overlayed-list.c.o -MF editor/dconf-editor.p/meson-generated_overlayed-list.c.o.d -o editor/dconf-editor.p/meson-generated_overlayed-list.c.o -c editor/dconf-editor.p/overlayed-list.c
../editor/overlayed-list.vala: In function ‘_overlayed_list_get_selection_state’:
../editor/overlayed-list.vala:303:27: error: passing argument 2 of ‘g_list_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
303 | selected_rows.foreach ((row) => {
| ^~~~~~~~~~~~~~~~~~
| |
| void (*)(const void *, void *)
In file included from /usr/include/glib-2.0/glib/ghash.h:36,
from /usr/include/glib-2.0/glib.h:52,
from /usr/include/gtk-3.0/gdk/gdkconfig.h:8,
from /usr/include/gtk-3.0/gdk/gdk.h:30,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from editor/dconf-editor.p/overlayed-list.c:21:
/usr/include/glib-2.0/glib/glist.h:139:60: note: expected ‘GFunc’ {aka ‘void (*)(void *, void *)’} but argument is of type ‘void (*)(const void *, void *)’
139 | GFunc func,
| ~~~~~~~~~~~~~~~~~~^~~~
../editor/overlayed-list.vala: In function ‘overlayed_list_constructor’:
../editor/overlayed-list.vala:39:57: error: passing argument 3 of ‘gtk_list_box_bind_model’ from incompatible pointer type [-Wincompatible-pointer-types]
39 | main_list_box.bind_model (main_list_store, create_rows);
| ^~~~~~~~
| |
| GtkWidget * (*)(GObject *, void *) {aka struct _GtkWidget * (*)(struct _GObject *, void *)}
In file included from /usr/include/gtk-3.0/gtk/gtk.h:140:
/usr/include/gtk-3.0/gtk/gtklistbox.h:312:89: note: expected ‘GtkListBoxCreateWidgetFunc’ {aka ‘struct _GtkWidget * (*)(void *, void *)’} but argument is of type ‘GtkWidget * (*)(GObject *, void *)’ {aka ‘struct _GtkWidget * (*)(struct _GObject *, void *)’}
312 | GtkListBoxCreateWidgetFunc create_widget_func,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[6/20] Compiling C object editor/dconf-editor.p/meson-generated_adaptative-window.c.o
FAILED: editor/dconf-editor.p/meson-generated_adaptative-window.c.o
/usr/bin/gcc -Ieditor/dconf-editor.p -Ieditor -I../editor -I. -I.. -I/usr/include/dconf -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -DHAVE_CONFIG_H -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -pthread '-DPKGDATADIR="/usr/share/dconf-editor"' '-DVERSION="45.0.1"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="dconf-editor"' -w -MD -MQ editor/dconf-editor.p/meson-generated_adaptative-window.c.o -MF editor/dconf-editor.p/meson-generated_adaptative-window.c.o.d -o editor/dconf-editor.p/meson-generated_adaptative-window.c.o -c editor/dconf-editor.p/adaptative-window.c
../editor/adaptative-window.vala: In function ‘adaptative_window_change_window_size’:
../editor/adaptative-window.vala:222:26: error: passing argument 2 of ‘g_list_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
222 | adaptative_children.@foreach ((adaptative_child) => adaptative_child.set_window_size (new_window_size));
| ^~~~~~~~~~~~~~~~~
| |
| void (*)(const void *, void *)
In file included from /usr/include/glib-2.0/glib/ghash.h:36,
from /usr/include/glib-2.0/glib.h:52,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from editor/dconf-editor.p/adaptative-window.c:21:
/usr/include/glib-2.0/glib/glist.h:139:60: note: expected ‘GFunc’ {aka ‘void (*)(void *, void *)’} but argument is of type ‘void (*)(const void *, void *)’
139 | GFunc func,
| ~~~~~~~~~~~~~~~~~~^~~~
[7/20] Compiling C object editor/dconf-editor.p/meson-generated_bookmarks-window.c.o
FAILED: editor/dconf-editor.p/meson-generated_bookmarks-window.c.o
/usr/bin/gcc -Ieditor/dconf-editor.p -Ieditor -I../editor -I. -I.. -I/usr/include/dconf -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -DHAVE_CONFIG_H -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -pthread '-DPKGDATADIR="/usr/share/dconf-editor"' '-DVERSION="45.0.1"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="dconf-editor"' -w -MD -MQ editor/dconf-editor.p/meson-generated_bookmarks-window.c.o -MF editor/dconf-editor.p/meson-generated_bookmarks-window.c.o.d -o editor/dconf-editor.p/meson-generated_bookmarks-window.c.o -c editor/dconf-editor.p/bookmarks-window.c
../editor/bookmarks-window.vala: In function ‘bookmarks_window_update_bookmarks_icons_from_variant’:
../editor/bookmarks-window.vala:131:60: error: passing argument 2 of ‘bookmarks_window_update_bookmarks_icons_from_array’ from incompatible pointer type [-Wincompatible-pointer-types]
131 | update_bookmarks_icons_from_array (variant.get_strv ());
| ^~~~~
| |
| const gchar ** {aka const char **}
editor/dconf-editor.p/bookmarks-window.c:399:66: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘const gchar **’ {aka ‘const char **’}
399 | gchar** bookmarks,
| ~~~~~~~~^~~~~~~~~
[8/20] Compiling C object editor/dconf-editor.p/meson-generated_registry-view.c.o
FAILED: editor/dconf-editor.p/meson-generated_registry-view.c.o
/usr/bin/gcc -Ieditor/dconf-editor.p -Ieditor -I../editor -I. -I.. -I/usr/include/dconf -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -DHAVE_CONFIG_H -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -pthread '-DPKGDATADIR="/usr/share/dconf-editor"' '-DVERSION="45.0.1"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="dconf-editor"' -w -MD -MQ editor/dconf-editor.p/meson-generated_registry-view.c.o -MF editor/dconf-editor.p/meson-generated_registry-view.c.o.d -o editor/dconf-editor.p/meson-generated_registry-view.c.o -c editor/dconf-editor.p/registry-view.c
../editor/registry-view.vala: In function ‘registry_view_set_key_model’:
../editor/registry-view.vala:38:57: error: passing argument 3 of ‘gtk_list_box_bind_model’ from incompatible pointer type [-Wincompatible-pointer-types]
38 | key_list_box.bind_model (list_model, new_list_box_row);
| ^~~~~~~
| |
| GtkWidget * (*)(GObject *, void *) {aka struct _GtkWidget * (*)(struct _GObject *, void *)}
In file included from /usr/include/gtk-3.0/gtk/gtk.h:140,
from editor/dconf-editor.p/registry-view.c:21:
/usr/include/gtk-3.0/gtk/gtklistbox.h:312:89: note: expected ‘GtkListBoxCreateWidgetFunc’ {aka ‘struct _GtkWidget * (*)(void *, void *)’} but argument is of type ‘GtkWidget * (*)(GObject *, void *)’ {aka ‘struct _GtkWidget * (*)(struct _GObject *, void *)’}
312 | GtkListBoxCreateWidgetFunc create_widget_func,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[9/20] Compiling C object editor/dconf-editor.p/meson-generated_base-window.c.o
FAILED: editor/dconf-editor.p/meson-generated_base-window.c.o
/usr/bin/gcc -Ieditor/dconf-editor.p -Ieditor -I../editor -I. -I.. -I/usr/include/dconf -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -DHAVE_CONFIG_H -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -pthread '-DPKGDATADIR="/usr/share/dconf-editor"' '-DVERSION="45.0.1"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="dconf-editor"' -w -MD -MQ editor/dconf-editor.p/meson-generated_base-window.c.o -MF editor/dconf-editor.p/meson-generated_base-window.c.o.d -o editor/dconf-editor.p/meson-generated_base-window.c.o -c editor/dconf-editor.p/base-window.c
../editor/base-window.vala: In function ‘base_window_create_about_dialog’:
../editor/base-window.vala:432:42: error: passing argument 2 of ‘gtk_about_dialog_set_artists’ from incompatible pointer type [-Wincompatible-pointer-types]
432 | if (artists.length > 0) about_dialog.set_artists (artists);
| ^~~~~~~
| |
| gchar ** {aka char **}
In file included from /usr/include/gtk-3.0/gtk/gtk.h:31,
from editor/dconf-editor.p/base-window.c:22:
/usr/include/gtk-3.0/gtk/gtkaboutdialog.h:198:82: note: expected ‘const gchar **’ {aka ‘const char **’} but argument is of type ‘gchar **’ {aka ‘char **’}
198 | const gchar **artists);
| ~~~~~~~~~~~~~~~~~^~~~~~~
../editor/base-window.vala:433:42: error: passing argument 2 of ‘gtk_about_dialog_set_authors’ from incompatible pointer type [-Wincompatible-pointer-types]
433 | if (authors.length > 0) about_dialog.set_authors (authors);
| ^~~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkaboutdialog.h:188:82: note: expected ‘const gchar **’ {aka ‘const char **’} but argument is of type ‘gchar **’ {aka ‘char **’}
188 | const gchar **authors);
| ~~~~~~~~~~~~~~~~~^~~~~~~
../editor/base-window.vala:436:46: error: passing argument 2 of ‘gtk_about_dialog_set_documenters’ from incompatible pointer type [-Wincompatible-pointer-types]
436 | if (documenters.length > 0) about_dialog.set_documenters (documenters);
| ^~~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkaboutdialog.h:193:82: note: expected ‘const gchar **’ {aka ‘const char **’} but argument is of type ‘gchar **’ {aka ‘char **’}
193 | const gchar **documenters);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
[10/20] Compiling C object editor/dconf-editor.p/meson-generated_dconf-view.c.o
FAILED: editor/dconf-editor.p/meson-generated_dconf-view.c.o
/usr/bin/gcc -Ieditor/dconf-editor.p -Ieditor -I../editor -I. -I.. -I/usr/include/dconf -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -DHAVE_CONFIG_H -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -pthread '-DPKGDATADIR="/usr/share/dconf-editor"' '-DVERSION="45.0.1"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="dconf-editor"' -w -MD -MQ editor/dconf-editor.p/meson-generated_dconf-view.c.o -MF editor/dconf-editor.p/meson-generated_dconf-view.c.o.d -o editor/dconf-editor.p/meson-generated_dconf-view.c.o -c editor/dconf-editor.p/dconf-view.c
../editor/dconf-view.vala: In function ‘dconf_view_update_in_window_modifications’:
../editor/dconf-view.vala:200:49: error: passing argument 3 of ‘modifications_list_bind_model’ from incompatible pointer type [-Wincompatible-pointer-types]
200 | modifications_list.bind_model (modifications_liststore, delayed_setting_row_create);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| GtkWidget * (*)(GObject *, void *) {aka struct _GtkWidget * (*)(struct _GObject *, void *)}
editor/dconf-editor.p/dconf-view.c:466:64: note: expected ‘GtkListBoxCreateWidgetFunc’ {aka ‘struct _GtkWidget * (*)(void *, void *)’} but argument is of type ‘GtkWidget * (*)(GObject *, void *)’ {aka ‘struct _GtkWidget * (*)(struct _GObject *, void *)’}
466 | GtkListBoxCreateWidgetFunc delayed_setting_row_create,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[11/20] Compiling C object editor/dconf-editor.p/meson-generated_modifications-revealer.c.o
FAILED: editor/dconf-editor.p/meson-generated_modifications-revealer.c.o
/usr/bin/gcc -Ieditor/dconf-editor.p -Ieditor -I../editor -I. -I.. -I/usr/include/dconf -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -DHAVE_CONFIG_H -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -pthread '-DPKGDATADIR="/usr/share/dconf-editor"' '-DVERSION="45.0.1"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="dconf-editor"' -w -MD -MQ editor/dconf-editor.p/meson-generated_modifications-revealer.c.o -MF editor/dconf-editor.p/meson-generated_modifications-revealer.c.o.d -o editor/dconf-editor.p/meson-generated_modifications-revealer.c.o -c editor/dconf-editor.p/modifications-revealer.c
../editor/modifications-revealer.vala: In function ‘modifications_revealer_update’:
../editor/modifications-revealer.vala:280:49: error: passing argument 3 of ‘modifications_list_bind_model’ from incompatible pointer type [-Wincompatible-pointer-types]
280 | modifications_list.bind_model (modifications_liststore, delayed_setting_row_create);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| GtkWidget * (*)(GObject *, void *) {aka struct _GtkWidget * (*)(struct _GObject *, void *)}
editor/dconf-editor.p/modifications-revealer.c:371:64: note: expected ‘GtkListBoxCreateWidgetFunc’ {aka ‘struct _GtkWidget * (*)(void *, void *)’} but argument is of type ‘GtkWidget * (*)(GObject *, void *)’ {aka ‘struct _GtkWidget * (*)(struct _GObject *, void *)’}
371 | GtkListBoxCreateWidgetFunc delayed_setting_row_create,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[12/20] Compiling C object editor/dconf-editor.p/meson-generated_bookmarks-view.c.o
FAILED: editor/dconf-editor.p/meson-generated_bookmarks-view.c.o
/usr/bin/gcc -Ieditor/dconf-editor.p -Ieditor -I../editor -I. -I.. -I/usr/include/dconf -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -DHAVE_CONFIG_H -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -pthread '-DPKGDATADIR="/usr/share/dconf-editor"' '-DVERSION="45.0.1"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="dconf-editor"' -w -MD -MQ editor/dconf-editor.p/meson-generated_bookmarks-view.c.o -MF editor/dconf-editor.p/meson-generated_bookmarks-view.c.o.d -o editor/dconf-editor.p/meson-generated_bookmarks-view.c.o -c editor/dconf-editor.p/bookmarks-view.c
../editor/bookmarks-view.vala: In function ‘bookmarks_view_show_bookmarks_view’:
../editor/bookmarks-view.vala:84:32: error: passing argument 1 of ‘g_variant_new_strv’ from incompatible pointer type [-Wincompatible-pointer-types]
84 | Variant variant = new Variant.strv (bookmarks);
| ^~~~~~~~~
| |
| gchar ** {aka char **}
In file included from /usr/include/glib-2.0/glib/gmessages.h:38,
from /usr/include/glib-2.0/glib.h:64,
from /usr/include/gtk-3.0/gdk/gdkconfig.h:8,
from /usr/include/gtk-3.0/gdk/gdk.h:30,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from editor/dconf-editor.p/bookmarks-view.c:21:
/usr/include/glib-2.0/glib/gvariant.h:120:96: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
120 | GVariant * g_variant_new_strv (const gchar * const *strv,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~
[13/20] Compiling C object editor/dconf-editor.p/meson-generated_key-list-box-row.c.o
FAILED: editor/dconf-editor.p/meson-generated_key-list-box-row.c.o
/usr/bin/gcc -Ieditor/dconf-editor.p -Ieditor -I../editor -I. -I.. -I/usr/include/dconf -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -DHAVE_CONFIG_H -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -pthread '-DPKGDATADIR="/usr/share/dconf-editor"' '-DVERSION="45.0.1"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="dconf-editor"' -w -MD -MQ editor/dconf-editor.p/meson-generated_key-list-box-row.c.o -MF editor/dconf-editor.p/meson-generated_key-list-box-row.c.o.d -o editor/dconf-editor.p/meson-generated_key-list-box-row.c.o -c editor/dconf-editor.p/key-list-box-row.c
../editor/key-list-box-row.vala: In function ‘__lambda38_’:
../editor/key-list-box-row.vala:533:32: error: passing argument 1 of ‘g_variant_new_strv’ from incompatible pointer type [-Wincompatible-pointer-types]
533 | Variant variant = new Variant.strv (new_flags);
| ^~~~~~~
| |
| gchar ** {aka char **}
In file included from /usr/include/glib-2.0/glib/gmessages.h:38,
from /usr/include/glib-2.0/glib.h:64,
from editor/dconf-editor.p/key-list-box-row.c:21:
/usr/include/glib-2.0/glib/gvariant.h:120:96: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
120 | GVariant * g_variant_new_strv (const gchar * const *strv,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~
[14/20] Compiling C object editor/dconf-editor.p/meson-generated_registry-info.c.o
FAILED: editor/dconf-editor.p/meson-generated_registry-info.c.o
/usr/bin/gcc -Ieditor/dconf-editor.p -Ieditor -I../editor -I. -I.. -I/usr/include/dconf -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -DHAVE_CONFIG_H -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -pthread '-DPKGDATADIR="/usr/share/dconf-editor"' '-DVERSION="45.0.1"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="dconf-editor"' -w -MD -MQ editor/dconf-editor.p/meson-generated_registry-info.c.o -MF editor/dconf-editor.p/meson-generated_registry-info.c.o.d -o editor/dconf-editor.p/meson-generated_registry-info.c.o -c editor/dconf-editor.p/registry-info.c
../editor/registry-info.vala: In function ‘__lambda66_’:
../editor/registry-info.vala:458:49: error: passing argument 1 of ‘_vala_array_dup10’ from incompatible pointer type [-Wincompatible-pointer-types]
458 | string [] active_flags = modifications_handler.get_key_custom_value (full_name, context_id).get_strv ();
| ^~~~~~
| |
| const gchar ** {aka const char **}
registry-info.c:3180:28: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘const gchar **’ {aka ‘const char **’}
../editor/registry-info.vala:458:65: error: pointer type mismatch in conditional expression [-Wincompatible-pointer-types]
458 | string [] active_flags = modifications_handler.get_key_custom_value (full_name, context_id).get_strv ();
| ^
../editor/registry-info.vala:458:30: note: first expression has type ‘gchar **’ {aka ‘char **’}
458 | string [] active_flags = modifications_handler.get_key_custom_value (full_name, context_id).get_strv ();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../editor/registry-info.vala:458:67: note: second expression has type ‘const gchar **’ {aka ‘const char **’}
458 | string [] active_flags = modifications_handler.get_key_custom_value (full_name, context_id).get_strv ();
| ^~~~~~
../editor/registry-info.vala: In function ‘registry_info_create_child_flags’:
../editor/registry-info.vala:455:54: error: passing argument 2 of ‘key_editor_child_flags_new’ from incompatible pointer type [-Wincompatible-pointer-types]
455 | KeyEditorChildFlags key_editor_child_flags = new KeyEditorChildFlags (initial_value, range_content.get_strv ());
| ^~~~~~
| |
| const gchar ** {aka const char **}
editor/dconf-editor.p/registry-info.c:650:58: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘const gchar **’ {aka ‘const char **’}
650 | gchar** _all_flags,
| ~~~~~~~~^~~~~~~~~~
[15/20] Compiling C object editor/dconf-editor.p/meson-generated_bookmarks-list.c.o
FAILED: editor/dconf-editor.p/meson-generated_bookmarks-list.c.o
/usr/bin/gcc -Ieditor/dconf-editor.p -Ieditor -I../editor -I. -I.. -I/usr/include/dconf -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -DHAVE_CONFIG_H -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -pthread '-DPKGDATADIR="/usr/share/dconf-editor"' '-DVERSION="45.0.1"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="dconf-editor"' -w -MD -MQ editor/dconf-editor.p/meson-generated_bookmarks-list.c.o -MF editor/dconf-editor.p/meson-generated_bookmarks-list.c.o.d -o editor/dconf-editor.p/meson-generated_bookmarks-list.c.o -c editor/dconf-editor.p/bookmarks-list.c
../editor/bookmarks-list.vala: In function ‘_bookmarks_list_create_bookmark_rows’:
../editor/bookmarks-list.vala:163:50: error: passing argument 1 of ‘_vala_array_dup4’ from incompatible pointer type [-Wincompatible-pointer-types]
163 | string [] bookmarks = bookmarks_variant.get_strv ();
| ^~~~~~~
| |
| const gchar ** {aka const char **}
bookmarks-list.c:963:27: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘const gchar **’ {aka ‘const char **’}
../editor/bookmarks-list.vala:163:68: error: pointer type mismatch in conditional expression [-Wincompatible-pointer-types]
163 | string [] bookmarks = bookmarks_variant.get_strv ();
| ^
../editor/bookmarks-list.vala:163:32: note: first expression has type ‘gchar **’ {aka ‘char **’}
163 | string [] bookmarks = bookmarks_variant.get_strv ();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../editor/bookmarks-list.vala:163:70: note: second expression has type ‘const gchar **’ {aka ‘const char **’}
163 | string [] bookmarks = bookmarks_variant.get_strv ();
| ^
../editor/bookmarks-list.vala: In function ‘bookmarks_list_set_new_bookmarks’:
../editor/bookmarks-list.vala:425:44: error: passing argument 3 of ‘g_settings_set_strv’ from incompatible pointer type [-Wincompatible-pointer-types]
425 | settings.set_strv ("bookmarks", new_bookmarks);
| ^~~~~~~~~~~~
| |
| gchar ** {aka char **}
In file included from /usr/include/glib-2.0/gio/gio.h:137,
from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
from /usr/include/gtk-3.0/gdk/gdk.h:32,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from editor/dconf-editor.p/bookmarks-list.c:21:
/usr/include/glib-2.0/gio/gsettings.h:191:94: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
191 | const gchar *const *value);
| ~~~~~~~~~~~~~~~~~~~~^~~~~
../editor/bookmarks-list.vala: In function ‘_bookmarks_list_append_bookmark’:
../editor/bookmarks-list.vala:468:46: error: passing argument 3 of ‘g_settings_set_strv’ from incompatible pointer type [-Wincompatible-pointer-types]
468 | settings.set_strv ("bookmarks", bookmarks);
| ^~~~~~
| |
| gchar ** {aka char **}
/usr/include/glib-2.0/gio/gsettings.h:191:94: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
191 | const gchar *const *value);
| ~~~~~~~~~~~~~~~~~~~~^~~~~
../editor/bookmarks-list.vala: In function ‘_bookmarks_list_remove_bookmark’:
../editor/bookmarks-list.vala:485:46: error: passing argument 3 of ‘g_settings_set_strv’ from incompatible pointer type [-Wincompatible-pointer-types]
485 | settings.set_strv ("bookmarks", new_bookmarks);
| ^~~~~~~
| |
| gchar ** {aka char **}
/usr/include/glib-2.0/gio/gsettings.h:191:94: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
191 | const gchar *const *value);
| ~~~~~~~~~~~~~~~~~~~~^~~~~
../editor/bookmarks-list.vala: In function ‘bookmarks_list_remove_bookmarks’:
../editor/bookmarks-list.vala:496:46: error: passing argument 3 of ‘g_settings_set_strv’ from incompatible pointer type [-Wincompatible-pointer-types]
496 | settings.set_strv ("bookmarks", new_bookmarks);
| ^~~~~~~
| |
| gchar ** {aka char **}
/usr/include/glib-2.0/gio/gsettings.h:191:94: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
191 | const gchar *const *value);
| ~~~~~~~~~~~~~~~~~~~~^~~~~
[16/20] Compiling C object editor/dconf-editor.p/meson-generated_registry-search.c.o
FAILED: editor/dconf-editor.p/meson-generated_registry-search.c.o
/usr/bin/gcc -Ieditor/dconf-editor.p -Ieditor -I../editor -I. -I.. -I/usr/include/dconf -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -DHAVE_CONFIG_H -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -pthread '-DPKGDATADIR="/usr/share/dconf-editor"' '-DVERSION="45.0.1"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="dconf-editor"' -w -MD -MQ editor/dconf-editor.p/meson-generated_registry-search.c.o -MF editor/dconf-editor.p/meson-generated_registry-search.c.o.d -o editor/dconf-editor.p/meson-generated_registry-search.c.o -c editor/dconf-editor.p/registry-search.c
../editor/registry-search.vala: In function ‘registry_search_start_search’:
../editor/registry-search.vala:227:61: error: passing argument 3 of ‘gtk_list_box_bind_model’ from incompatible pointer type [-Wincompatible-pointer-types]
227 | key_list_box.bind_model (list_model, new_list_box_row);
| ^~~~~~~~~~~
| |
| GtkWidget * (*)(GObject *, void *) {aka struct _GtkWidget * (*)(struct _GObject *, void *)}
In file included from /usr/include/gtk-3.0/gtk/gtk.h:140,
from editor/dconf-editor.p/registry-search.c:21:
/usr/include/gtk-3.0/gtk/gtklistbox.h:312:89: note: expected ‘GtkListBoxCreateWidgetFunc’ {aka ‘struct _GtkWidget * (*)(void *, void *)’} but argument is of type ‘GtkWidget * (*)(GObject *, void *)’ {aka ‘struct _GtkWidget * (*)(struct _GObject *, void *)’}
312 | GtkListBoxCreateWidgetFunc create_widget_func,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
../editor/registry-search.vala:266:61: error: passing argument 3 of ‘gtk_list_box_bind_model’ from incompatible pointer type [-Wincompatible-pointer-types]
266 | key_list_box.bind_model (list_model, new_list_box_row);
| ^~~~~~~~~~~
| |
| GtkWidget * (*)(GObject *, void *) {aka struct _GtkWidget * (*)(struct _GObject *, void *)}
/usr/include/gtk-3.0/gtk/gtklistbox.h:312:89: note: expected ‘GtkListBoxCreateWidgetFunc’ {aka ‘struct _GtkWidget * (*)(void *, void *)’} but argument is of type ‘GtkWidget * (*)(GObject *, void *)’ {aka ‘struct _GtkWidget * (*)(struct _GObject *, void *)’}
312 | GtkListBoxCreateWidgetFunc create_widget_func,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[17/20] Compiling C object editor/dconf-editor.p/meson-generated_registry-list.c.o
FAILED: editor/dconf-editor.p/meson-generated_registry-list.c.o
/usr/bin/gcc -Ieditor/dconf-editor.p -Ieditor -I../editor -I. -I.. -I/usr/include/dconf -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -DHAVE_CONFIG_H -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -pthread '-DPKGDATADIR="/usr/share/dconf-editor"' '-DVERSION="45.0.1"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="dconf-editor"' -w -MD -MQ editor/dconf-editor.p/meson-generated_registry-list.c.o -MF editor/dconf-editor.p/meson-generated_registry-list.c.o.d -o editor/dconf-editor.p/meson-generated_registry-list.c.o -c editor/dconf-editor.p/registry-list.c
../editor/registry-list.vala: In function ‘registry_list_next_or_previous_match’:
../editor/registry-list.vala:393:13: error: assignment to ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
393 | Container list_box = (Container) ((!) selected_row).get_parent ();
| ^
../editor/registry-list.vala: In function ‘registry_list_on_button_pressed’:
../editor/registry-list.vala:688:9: error: assignment to ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
688 | ListBoxRow list_box_row = (ListBoxRow) widget.get_parent (); // is a ListBoxRowWrapper
| ^
../editor/registry-list.vala: In function ‘____lambda44_’:
../editor/registry-list.vala:1020:49: error: passing argument 1 of ‘_vala_array_dup12’ from incompatible pointer type [-Wincompatible-pointer-types]
1020 | string [] active_flags = modifications_handler.get_key_custom_value (full_name, context_id).get_strv ();
| ^~~~~~
| |
| const gchar ** {aka const char **}
registry-list.c:5944:28: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘const gchar **’ {aka ‘const char **’}
../editor/registry-list.vala:1020:65: error: pointer type mismatch in conditional expression [-Wincompatible-pointer-types]
1020 | string [] active_flags = modifications_handler.get_key_custom_value (full_name, context_id).get_strv ();
| ^
../editor/registry-list.vala:1020:30: note: first expression has type ‘gchar **’ {aka ‘char **’}
1020 | string [] active_flags = modifications_handler.get_key_custom_value (full_name, context_id).get_strv ();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../editor/registry-list.vala:1020:67: note: second expression has type ‘const gchar **’ {aka ‘const char **’}
1020 | string [] active_flags = modifications_handler.get_key_custom_value (full_name, context_id).get_strv ();
| ^~~~~~
../editor/registry-list.vala: In function ‘registry_list_generate_gsettings_popover’:
../editor/registry-list.vala:1017:55: error: passing argument 1 of ‘_vala_array_dup11’ from incompatible pointer type [-Wincompatible-pointer-types]
1017 | string [] all_flags = range_content.get_strv ();
| ^~~~~~
| |
| const gchar ** {aka const char **}
registry-list.c:5914:28: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘const gchar **’ {aka ‘const char **’}
../editor/registry-list.vala:1017:75: error: pointer type mismatch in conditional expression [-Wincompatible-pointer-types]
1017 | string [] all_flags = range_content.get_strv ();
| ^
../editor/registry-list.vala:1017:36: note: first expression has type ‘gchar **’ {aka ‘char **’}
1017 | string [] all_flags = range_content.get_strv ();
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../editor/registry-list.vala:1017:77: note: second expression has type ‘const gchar **’ {aka ‘const char **’}
1017 | string [] all_flags = range_content.get_strv ();
| ^
../editor/registry-list.vala:1018:58: error: passing argument 2 of ‘context_popover_create_flags_list’ from incompatible pointer type [-Wincompatible-pointer-types]
1018 | popover.create_flags_list (modifications_handler.get_key_custom_value (full_name, context_id).get_strv (), all_flags);
| ^~~~~~~~
| |
| const gchar ** {aka const char **}
editor/dconf-editor.p/registry-list.c:756:49: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘const gchar **’ {aka ‘const char **’}
756 | gchar** active_flags,
| ~~~~~~~~^~~~~~~~~~~~
[18/20] Compiling C object editor/dconf-editor.p/meson-generated_key-editor-child.c.o
FAILED: editor/dconf-editor.p/meson-generated_key-editor-child.c.o
/usr/bin/gcc -Ieditor/dconf-editor.p -Ieditor -I../editor -I. -I.. -I/usr/include/dconf -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -DHAVE_CONFIG_H -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -pthread '-DPKGDATADIR="/usr/share/dconf-editor"' '-DVERSION="45.0.1"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="dconf-editor"' -w -MD -MQ editor/dconf-editor.p/meson-generated_key-editor-child.c.o -MF editor/dconf-editor.p/meson-generated_key-editor-child.c.o.d -o editor/dconf-editor.p/meson-generated_key-editor-child.c.o -c editor/dconf-editor.p/key-editor-child.c
../editor/key-editor-child.vala: In function ‘_key_editor_child_flags_on_popover_value_changed_context_popover_value_changed’:
../editor/key-editor-child.vala:148:80: error: passing argument 2 of ‘key_editor_child_flags_on_popover_value_changed’ from incompatible pointer type [-Wincompatible-pointer-types]
148 | popover.value_changed.connect (on_popover_value_changed);
| ^
| |
| ContextPopover * {aka struct _ContextPopover *}
editor/dconf-editor.p/key-editor-child.c:601:67: note: expected ‘GtkPopover *’ {aka ‘struct _GtkPopover *’} but argument is of type ‘ContextPopover *’ {aka ‘struct _ContextPopover *’}
601 | GtkPopover* _popover,
| ~~~~~~~~~~~~^~~~~~~~
../editor/key-editor-child.vala: In function ‘key_editor_child_flags_construct’:
../editor/key-editor-child.vala:146:45: error: passing argument 2 of ‘context_popover_create_flags_list’ from incompatible pointer type [-Wincompatible-pointer-types]
146 | popover.create_flags_list (initial_value.get_strv (), all_flags);
| ^~~~~~~
| |
| const gchar ** {aka const char **}
editor/dconf-editor.p/key-editor-child.c:596:49: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘const gchar **’ {aka ‘const char **’}
596 | gchar** active_flags,
| ~~~~~~~~^~~~~~~~~~~~
../editor/key-editor-child.vala: In function ‘_key_editor_child_nullable_bool_on_popover_value_changed_context_popover_value_changed’:
../editor/key-editor-child.vala:199:95: error: passing argument 2 of ‘key_editor_child_nullable_bool_on_popover_value_changed’ from incompatible pointer type [-Wincompatible-pointer-types]
199 | popover.value_changed.connect (on_popover_value_changed);
| ^
| |
| ContextPopover * {aka struct _ContextPopover *}
editor/dconf-editor.p/key-editor-child.c:632:75: note: expected ‘GtkPopover *’ {aka ‘struct _GtkPopover *’} but argument is of type ‘ContextPopover *’ {aka ‘struct _ContextPopover *’}
632 | GtkPopover* _popover,
| ~~~~~~~~~~~~^~~~~~~~
[19/20] Compiling C object editor/dconf-editor.p/meson-generated_dconf-editor.c.o
FAILED: editor/dconf-editor.p/meson-generated_dconf-editor.c.o
/usr/bin/gcc -Ieditor/dconf-editor.p -Ieditor -I../editor -I. -I.. -I/usr/include/dconf -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -DHAVE_CONFIG_H -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Os -pthread '-DPKGDATADIR="/usr/share/dconf-editor"' '-DVERSION="45.0.1"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="dconf-editor"' -w -MD -MQ editor/dconf-editor.p/meson-generated_dconf-editor.c.o -MF editor/dconf-editor.p/meson-generated_dconf-editor.c.o.d -o editor/dconf-editor.p/meson-generated_dconf-editor.c.o -c editor/dconf-editor.p/dconf-editor.c
../editor/dconf-editor.vala: In function ‘configuration_editor_real_startup’:
../editor/dconf-editor.vala:341:87: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
341 | set_accels_for_action ("bw.toggle-bookmark", { "<Primary>b",
| ^
| |
| gchar ** {aka char **}
In file included from /usr/include/gtk-3.0/gtk/gtkwindow.h:33,
from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
from /usr/include/gtk-3.0/gtk/gtk.h:31,
from editor/dconf-editor.p/dconf-editor.c:21:
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:343:78: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
343 | set_accels_for_action ("base.copy", { "<Primary>c" });
| ^~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:344:82: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
344 | set_accels_for_action ("base.copy-alt", { "<Shift><Primary>c" });
| ^~~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:345:80: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
345 | set_accels_for_action ("bw.bookmark", { "<Primary>d" });
| ^~~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:346:82: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
346 | set_accels_for_action ("bw.unbookmark", { "<Shift><Primary>d" });
| ^~~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:347:93: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
347 | set_accels_for_action ("key.search-global(false)", { "<Primary>f" });
| ^
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:348:92: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
348 | set_accels_for_action ("key.search-local(false)", { "<Shift><Primary>f" });
| ^
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:349:92: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
349 | set_accels_for_action ("key.search-global(true)", { "<Primary><Alt>f" });
| ^
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:350:91: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
350 | set_accels_for_action ("key.search-local(true)", { "<Shift><Primary><Alt>f" });
| ^
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:351:83: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
351 | set_accels_for_action ("key.next-match", { "<Primary>g" });
| ^~~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:352:87: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
352 | set_accels_for_action ("key.previous-match", { "<Shift><Primary>g" });
| ^~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:354:86: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
354 | set_accels_for_action ("kbd.modifications", { "<Alt>i" });
| ^~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:355:86: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
355 | set_accels_for_action ("key.edit-path-end", { "<Primary>l" });
| ^~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:356:87: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
356 | set_accels_for_action ("key.edit-path-last", { "<Shift><Primary>l" });
| ^~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:357:77: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
357 | set_accels_for_action ("app.quit", { "<Primary>q" });
| ^~~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:358:87: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
358 | set_accels_for_action ("app.apply-and-quit", { "<Shift><Primary>q" });
| ^~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:359:79: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
359 | set_accels_for_action ("base.paste", { "<Primary>v" }); // https://bugzilla.gnome.org/show_bug.cgi?id=762257 is WONTFIX
| ^~~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:360:83: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
360 | set_accels_for_action ("base.paste-alt", { "<Shift><Primary>v" });
| ^~~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:362:82: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
362 | set_accels_for_action ("key.open-root", { "<Shift><Alt>Up" });
| ^~~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:363:84: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
363 | set_accels_for_action ("key.open-parent", { "<Alt>Up" });
| ^~~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:364:83: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
364 | set_accels_for_action ("key.open-child", { "<Alt>Down" });
| ^~~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:365:88: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
365 | set_accels_for_action ("key.open-last-child", { "<Shift><Alt>Down" });
| ^~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:367:80: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
367 | set_accels_for_action ("base.escape", { "Escape" });
| ^~~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:368:90: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
368 | set_accels_for_action ("base.toggle-hamburger", { "F10" });
| ^~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:369:78: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
369 | set_accels_for_action ("base.menu", { "Menu" });
| ^~~~~~~
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:371:87: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
371 | set_accels_for_action ("kbd.set-to-default", { "<Primary>Delete",
| ^
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:376:87: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
376 | set_accels_for_action ("kbd.toggle-boolean", { "<Primary>Return",
| ^
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
../editor/dconf-editor.vala:380:90: error: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
380 | set_accels_for_action ("win.show-help-overlay", { "F1",
| ^
| |
| gchar ** {aka char **}
/usr/include/gtk-3.0/gtk/gtkapplication.h:156:89: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
156 | const gchar * const *accels);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
ninja: build stopped: cannot make progress due to previous errors.