41.rc: build fails
meson output:
+ /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . x86_64-redhat-linux-gnu -D flatpak_build=false -D gtk_doc=true
The Meson build system
Version: 0.59.1
Source dir: /home/tkloczko/rpmbuild/BUILD/devhelp-41.rc
Build dir: /home/tkloczko/rpmbuild/BUILD/devhelp-41.rc/x86_64-redhat-linux-gnu
Build type: native build
Project name: devhelp
Project version: 41.rc
C compiler for the host machine: /usr/bin/gcc (gcc 11.2.1 "gcc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1)")
C linker for the host machine: /usr/bin/gcc ld.bfd 2.37-9
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Found CMake: /usr/bin/cmake (3.21.2)
Run-time dependency webkit2gtk-4.1 found: NO (tried pkgconfig and cmake)
Run-time dependency webkit2gtk-4.0 found: YES 2.33.90
Run-time dependency gio-2.0 found: YES 2.69.2
Run-time dependency gtk4 found: YES 4.4.0
Run-time dependency gsettings-desktop-schemas found: YES 41.rc
Library m found: YES
Dependency gsettings-desktop-schemas found: YES 41.rc (cached)
Configuring config.h using configuration
Configuring org.gnome.libdevhelp-3.gschema.xml using configuration
Configuring org.gnome.Devhelp.Devel.appdata.xml.in using configuration
Program appstream-util found: YES (/usr/bin/appstream-util)
Configuring org.gnome.Devhelp.Devel.desktop.in using configuration
Program desktop-file-validate found: YES (/usr/bin/desktop-file-validate)
Configuring org.gnome.Devhelp.Devel.service using configuration
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Run-time dependency gobject-introspection-1.0 found: YES 1.69.0
Dependency gobject-introspection-1.0 found: YES 1.69.0 (cached)
Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
Dependency gobject-introspection-1.0 found: YES 1.69.0 (cached)
Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler)
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Run-time dependency gi-docgen found: YES 2021.7
Program gi-docgen found: YES (/usr/bin/gi-docgen)
Configuring devhelp-3.toml using configuration
Program build-aux/meson/meson_post_install.py found: YES (/usr/bin/python3 /home/tkloczko/rpmbuild/BUILD/devhelp-41.rc/build-aux/meson/meson_post_install.py)
Build targets in project: 21
devhelp 41.rc
Prefix : /usr
Libdir : /usr/lib64
Datadir : /usr/share
Build
Debug : False
Optimization : 0
API documentation : True
Flatpak build mode: False
Development build : True
Plugins
Plugin for Emacs : False
Plugin for gedit : False
Plugin for Vim : False
And build fails with:
[tkloczko@barrel x86_64-redhat-linux-gnu]$ ninja -k 0
[1/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-application-window.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-application-window.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-application-window.c.o -MF devhelp/libdevhelp-static.a.p/dh-application-window.c.o.d -o devhelp/libdevhelp-static.a.p/dh-application-window.c.o -c ../devhelp/dh-application-window.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/dh-application-window.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/dh-application-window.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/dh-application-window.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-application-window.h:10,
from ../devhelp/dh-application-window.c:6:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
[2/35] Compiling C object unit-tests/test-util.p/test-util.c.o
FAILED: unit-tests/test-util.p/test-util.c.o
/usr/bin/gcc -Iunit-tests/test-util.p -Iunit-tests -I../unit-tests -I. -I.. -Idevhelp -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -mfpmath=sse -msse -msse2 -MD -MQ unit-tests/test-util.p/test-util.c.o -MF unit-tests/test-util.p/test-util.c.o.d -o unit-tests/test-util.p/test-util.c.o -c ../unit-tests/test-util.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../unit-tests/test-util.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../unit-tests/test-util.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../unit-tests/test-util.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-util-lib.h:12,
from ../unit-tests/test-util.c:6:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
[3/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-book.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-book.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-book.c.o -MF devhelp/libdevhelp-static.a.p/dh-book.c.o.d -o devhelp/libdevhelp-static.a.p/dh-book.c.o -c ../devhelp/dh-book.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-book.c:15:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-book.c:15:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-book.c:15:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-book.c:15:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
../devhelp/dh-book.c: In function ‘index_file_changed_cb’:
../devhelp/dh-book.c:204:43: warning: unused parameter ‘file_monitor’ [-Wunused-parameter]
204 | index_file_changed_cb (GFileMonitor *file_monitor,
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
../devhelp/dh-book.c:205:43: warning: unused parameter ‘file’ [-Wunused-parameter]
205 | GFile *file,
| ~~~~~~~~~~~~~~~~~~~^~~~
../devhelp/dh-book.c:206:43: warning: unused parameter ‘other_file’ [-Wunused-parameter]
206 | GFile *other_file,
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
[4/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-util-lib.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-util-lib.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-util-lib.c.o -MF devhelp/libdevhelp-static.a.p/dh-util-lib.c.o.d -o devhelp/libdevhelp-static.a.p/dh-util-lib.c.o -c ../devhelp/dh-util-lib.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-util-lib.c:9:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-util-lib.c:9:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-util-lib.c:9:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-util-lib.c:9:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
../devhelp/dh-util-lib.c: In function ‘unref_node_link’:
../devhelp/dh-util-lib.c:139:28: warning: unused parameter ‘data’ [-Wunused-parameter]
139 | gpointer data)
| ~~~~~~~~~~^~~~
../devhelp/dh-util-lib.c: In function ‘sidebar_link_selected_cb’:
../devhelp/dh-util-lib.c:206:39: warning: unused parameter ‘sidebar’ [-Wunused-parameter]
206 | sidebar_link_selected_cb (DhSidebar *sidebar,
| ~~~~~~~~~~~~^~~~~~~
../devhelp/dh-util-lib.c: In function ‘notebook_page_added_after_cb’:
../devhelp/dh-util-lib.c:279:44: warning: unused parameter ‘notebook’ [-Wunused-parameter]
279 | notebook_page_added_after_cb (GtkNotebook *notebook,
| ~~~~~~~~~~~~~^~~~~~~~
../devhelp/dh-util-lib.c:281:44: warning: unused parameter ‘page_num’ [-Wunused-parameter]
281 | guint page_num,
| ~~~~~~~~~~~~~^~~~~~~~
../devhelp/dh-util-lib.c: In function ‘notebook_switch_page_after_cb’:
../devhelp/dh-util-lib.c:301:44: warning: unused parameter ‘new_page’ [-Wunused-parameter]
301 | GtkWidget *new_page,
| ~~~~~~~~~~~~^~~~~~~~
../devhelp/dh-util-lib.c:302:44: warning: unused parameter ‘new_page_num’ [-Wunused-parameter]
302 | guint new_page_num,
| ~~~~~~~~~~~~^~~~~~~~~~~~
[5/35] Compiling C object unit-tests/test-completion.p/test-completion.c.o
FAILED: unit-tests/test-completion.p/test-completion.c.o
/usr/bin/gcc -Iunit-tests/test-completion.p -Iunit-tests -I../unit-tests -I. -I.. -Idevhelp -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -mfpmath=sse -msse -msse2 -MD -MQ unit-tests/test-completion.p/test-completion.c.o -MF unit-tests/test-completion.p/test-completion.c.o.d -o unit-tests/test-completion.p/test-completion.c.o -c ../unit-tests/test-completion.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../unit-tests/test-completion.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../unit-tests/test-completion.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../unit-tests/test-completion.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../unit-tests/test-completion.c:6:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
In file included from ../devhelp/devhelp.h:28,
from ../unit-tests/test-completion.c:6:
../devhelp/dh-search-bar.h:26:22: error: field ‘parent’ has incomplete type
26 | GtkSearchBar parent;
| ^~~~~~
../devhelp/dh-search-bar.h:32:9: error: unknown type name ‘GtkSearchBarClass’
32 | GtkSearchBarClass parent_class;
| ^~~~~~~~~~~~~~~~~
[6/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-parser.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-parser.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-parser.c.o -MF devhelp/libdevhelp-static.a.p/dh-parser.c.o.d -o devhelp/libdevhelp-static.a.p/dh-parser.c.o -c ../devhelp/dh-parser.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-parser.c:14:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-parser.c:14:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-parser.c:14:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-parser.c:14:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
../devhelp/dh-parser.c: In function ‘parser_end_node_cb’:
../devhelp/dh-parser.c:481:43: warning: unused parameter ‘context’ [-Wunused-parameter]
481 | parser_end_node_cb (GMarkupParseContext *context,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
../devhelp/dh-parser.c:484:43: warning: unused parameter ‘error’ [-Wunused-parameter]
484 | GError **error)
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~
[7/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-init.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-init.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-init.c.o -MF devhelp/libdevhelp-static.a.p/dh-init.c.o.d -o devhelp/libdevhelp-static.a.p/dh-init.c.o -c ../devhelp/dh-init.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-init.c:10:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-init.c:10:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-init.c:10:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
[8/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-tab.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-tab.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-tab.c.o -MF devhelp/libdevhelp-static.a.p/dh-tab.c.o.d -o devhelp/libdevhelp-static.a.p/dh-tab.c.o -c ../devhelp/dh-tab.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-tab.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-tab.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-tab.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
../devhelp/dh-tab.c: In function ‘set_web_view’:
../devhelp/dh-tab.c:44:9: warning: implicit declaration of function ‘gtk_container_add’ [-Wimplicit-function-declaration]
44 | gtk_container_add (GTK_CONTAINER (tab), GTK_WIDGET (tab->priv->web_view));
| ^~~~~~~~~~~~~~~~~
../devhelp/dh-tab.c:44:28: warning: implicit declaration of function ‘GTK_CONTAINER’; did you mean ‘GTK_CONSTRAINT’? [-Wimplicit-function-declaration]
44 | gtk_container_add (GTK_CONTAINER (tab), GTK_WIDGET (tab->priv->web_view));
| ^~~~~~~~~~~~~
| GTK_CONSTRAINT
[9/35] Compiling C object unit-tests/test-link.p/test-link.c.o
FAILED: unit-tests/test-link.p/test-link.c.o
/usr/bin/gcc -Iunit-tests/test-link.p -Iunit-tests -I../unit-tests -I. -I.. -Idevhelp -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -mfpmath=sse -msse -msse2 -MD -MQ unit-tests/test-link.p/test-link.c.o -MF unit-tests/test-link.p/test-link.c.o.d -o unit-tests/test-link.p/test-link.c.o -c ../unit-tests/test-link.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../unit-tests/test-link.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../unit-tests/test-link.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../unit-tests/test-link.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../unit-tests/test-link.c:6:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
In file included from ../devhelp/devhelp.h:28,
from ../unit-tests/test-link.c:6:
../devhelp/dh-search-bar.h:26:22: error: field ‘parent’ has incomplete type
26 | GtkSearchBar parent;
| ^~~~~~
../devhelp/dh-search-bar.h:32:9: error: unknown type name ‘GtkSearchBarClass’
32 | GtkSearchBarClass parent_class;
| ^~~~~~~~~~~~~~~~~
[10/35] Compiling C object src/devhelp.p/dh-preferences.c.o
FAILED: src/devhelp.p/dh-preferences.c.o
/usr/bin/gcc -Isrc/devhelp.p -Isrc -I../src -I. -I.. -Idevhelp -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -mfpmath=sse -msse -msse2 -MD -MQ src/devhelp.p/dh-preferences.c.o -MF src/devhelp.p/dh-preferences.c.o.d -o src/devhelp.p/dh-preferences.c.o -c ../src/dh-preferences.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-preferences.c:11:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-preferences.c:11:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-preferences.c:11:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-preferences.c:11:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
In file included from ../devhelp/devhelp.h:28,
from ../src/dh-preferences.c:11:
../devhelp/dh-search-bar.h:26:22: error: field ‘parent’ has incomplete type
26 | GtkSearchBar parent;
| ^~~~~~
../devhelp/dh-search-bar.h:32:9: error: unknown type name ‘GtkSearchBarClass’
32 | GtkSearchBarClass parent_class;
| ^~~~~~~~~~~~~~~~~
../src/dh-preferences.c: In function ‘dh_preferences_response’:
../src/dh-preferences.c:52:9: warning: implicit declaration of function ‘gtk_widget_destroy’; did you mean ‘gtk_window_destroy’? [-Wimplicit-function-declaration]
52 | gtk_widget_destroy (GTK_WIDGET (dialog));
| ^~~~~~~~~~~~~~~~~~
| gtk_window_destroy
../src/dh-preferences.c:50:37: warning: unused parameter ‘response_id’ [-Wunused-parameter]
50 | gint response_id)
| ~~~~~~~~~~~^~~~~~~~~~~
../src/dh-preferences.c: In function ‘bookshelf_store_changed_foreach_func’:
../src/dh-preferences.c:176:53: warning: unused parameter ‘data’ [-Wunused-parameter]
176 | gpointer data)
| ~~~~~~~~~~~~~~^~~~
../src/dh-preferences.c: In function ‘bookshelf_group_books_by_language_notify_cb’:
../src/dh-preferences.c:307:61: warning: unused parameter ‘settings’ [-Wunused-parameter]
307 | bookshelf_group_books_by_language_notify_cb (DhSettings *settings,
| ~~~~~~~~~~~~~~~^~~~~~~~
../src/dh-preferences.c:308:61: warning: unused parameter ‘pspec’ [-Wunused-parameter]
308 | GParamSpec *pspec,
| ~~~~~~~~~~~~~~~^~~~~
../src/dh-preferences.c: In function ‘bookshelf_books_disabled_changed_cb’:
../src/dh-preferences.c:315:53: warning: unused parameter ‘settings’ [-Wunused-parameter]
315 | bookshelf_books_disabled_changed_cb (DhSettings *settings,
| ~~~~~~~~~~~~~~~^~~~~~~~
../src/dh-preferences.c: In function ‘bookshelf_add_book_cb’:
../src/dh-preferences.c:322:39: warning: unused parameter ‘full_book_list’ [-Wunused-parameter]
322 | bookshelf_add_book_cb (DhBookList *full_book_list,
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
../src/dh-preferences.c:323:39: warning: unused parameter ‘book’ [-Wunused-parameter]
323 | DhBook *book,
| ~~~~~~~~~~~~~~~^~~~
../src/dh-preferences.c: In function ‘bookshelf_remove_book_cb’:
../src/dh-preferences.c:330:42: warning: unused parameter ‘full_book_list’ [-Wunused-parameter]
330 | bookshelf_remove_book_cb (DhBookList *full_book_list,
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
../src/dh-preferences.c:331:42: warning: unused parameter ‘book’ [-Wunused-parameter]
331 | DhBook *book,
| ~~~~~~~~~~~~~~~^~~~
../src/dh-preferences.c: In function ‘bookshelf_row_toggled_cb’:
../src/dh-preferences.c:338:50: warning: unused parameter ‘cell_renderer’ [-Wunused-parameter]
338 | bookshelf_row_toggled_cb (GtkCellRendererToggle *cell_renderer,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
../src/dh-preferences.c: In function ‘bookshelf_sort_func’:
../src/dh-preferences.c:392:36: warning: unused parameter ‘user_data’ [-Wunused-parameter]
392 | gpointer user_data)
| ~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-preferences.c: In function ‘bookshelf_cell_data_func_toggle’:
../src/dh-preferences.c:487:53: warning: unused parameter ‘column’ [-Wunused-parameter]
487 | bookshelf_cell_data_func_toggle (GtkTreeViewColumn *column,
| ~~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:28,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/gtk-4.0/gtk/css/gtkcssenumtypes.h:11,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:34,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-preferences.h:10,
from ../src/dh-preferences.c:9:
../src/dh-preferences.c: In function ‘dh_preferences_show_dialog’:
../src/dh-preferences.c:663:47: error: ‘gtk_widget_destroyed’ undeclared (first use in this function); did you mean ‘gtk_window_destroy’?
663 | G_CALLBACK (gtk_widget_destroyed),
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gsignal.h:508:60: note: in definition of macro ‘g_signal_connect’
508 | g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0)
| ^~~~~~~~~
../src/dh-preferences.c:663:35: note: in expansion of macro ‘G_CALLBACK’
663 | G_CALLBACK (gtk_widget_destroyed),
| ^~~~~~~~~~
../src/dh-preferences.c:663:47: note: each undeclared identifier is reported only once for each function it appears in
663 | G_CALLBACK (gtk_widget_destroyed),
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gsignal.h:508:60: note: in definition of macro ‘g_signal_connect’
508 | g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0)
| ^~~~~~~~~
../src/dh-preferences.c:663:35: note: in expansion of macro ‘G_CALLBACK’
663 | G_CALLBACK (gtk_widget_destroyed),
| ^~~~~~~~~~
[11/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-assistant-view.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-assistant-view.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-assistant-view.c.o -MF devhelp/libdevhelp-static.a.p/dh-assistant-view.c.o.d -o devhelp/libdevhelp-static.a.p/dh-assistant-view.c.o -c ../devhelp/dh-assistant-view.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-assistant-view.h:9,
from ../devhelp/dh-assistant-view.c:8:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-assistant-view.h:9,
from ../devhelp/dh-assistant-view.c:8:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-assistant-view.h:9,
from ../devhelp/dh-assistant-view.c:8:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-assistant-view.c:13:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
../devhelp/dh-assistant-view.c:110:31: error: unknown type name ‘GdkEventButton’; did you mean ‘GtkMenuButton’?
110 | GdkEventButton *event)
| ^~~~~~~~~~~~~~
| GtkMenuButton
../devhelp/dh-assistant-view.c: In function ‘dh_assistant_view_class_init’:
../devhelp/dh-assistant-view.c:129:21: error: ‘GtkWidgetClass’ {aka ‘struct _GtkWidgetClass’} has no member named ‘button_press_event’
129 | widget_class->button_press_event = assistant_button_press_event;
| ^~
../devhelp/dh-assistant-view.c:129:44: error: ‘assistant_button_press_event’ undeclared (first use in this function)
129 | widget_class->button_press_event = assistant_button_press_event;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../devhelp/dh-assistant-view.c:129:44: note: each undeclared identifier is reported only once for each function it appears in
../devhelp/dh-assistant-view.c: In function ‘dh_assistant_view_init’:
../devhelp/dh-assistant-view.c:147:42: warning: unused parameter ‘view’ [-Wunused-parameter]
147 | dh_assistant_view_init (DhAssistantView *view)
| ~~~~~~~~~~~~~~~~~^~~~
[12/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-book-list-directory.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-book-list-directory.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-book-list-directory.c.o -MF devhelp/libdevhelp-static.a.p/dh-book-list-directory.c.o.d -o devhelp/libdevhelp-static.a.p/dh-book-list-directory.c.o -c ../devhelp/dh-book-list-directory.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-book-list-directory.c:7:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-book-list-directory.c:7:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-book-list-directory.c:7:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-book-list-directory.c:7:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
../devhelp/dh-book-list-directory.c: In function ‘books_directory_changed_cb’:
../devhelp/dh-book-list-directory.c:220:50: warning: unused parameter ‘directory_monitor’ [-Wunused-parameter]
220 | books_directory_changed_cb (GFileMonitor *directory_monitor,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
../devhelp/dh-book-list-directory.c:222:50: warning: unused parameter ‘other_file’ [-Wunused-parameter]
222 | GFile *other_file,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
[13/35] Compiling C object src/devhelp.p/dh-main.c.o
FAILED: src/devhelp.p/dh-main.c.o
/usr/bin/gcc -Isrc/devhelp.p -Isrc -I../src -I. -I.. -Idevhelp -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -mfpmath=sse -msse -msse2 -MD -MQ src/devhelp.p/dh-main.c.o -MF src/devhelp.p/dh-main.c.o.d -o src/devhelp.p/dh-main.c.o -c ../src/dh-main.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-main.c:10:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-main.c:10:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-main.c:10:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-main.c:10:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
In file included from ../devhelp/devhelp.h:28,
from ../src/dh-main.c:10:
../devhelp/dh-search-bar.h:26:22: error: field ‘parent’ has incomplete type
26 | GtkSearchBar parent;
| ^~~~~~
../devhelp/dh-search-bar.h:32:9: error: unknown type name ‘GtkSearchBarClass’
32 | GtkSearchBarClass parent_class;
| ^~~~~~~~~~~~~~~~~
[14/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-keyword-model.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-keyword-model.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-keyword-model.c.o -MF devhelp/libdevhelp-static.a.p/dh-keyword-model.c.o.d -o devhelp/libdevhelp-static.a.p/dh-keyword-model.c.o -c ../devhelp/dh-keyword-model.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-keyword-model.c:15:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-keyword-model.c:15:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-keyword-model.c:15:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-util-lib.h:12,
from ../devhelp/dh-keyword-model.c:15:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
../devhelp/dh-keyword-model.c: In function ‘dh_keyword_model_get_flags’:
../devhelp/dh-keyword-model.c:136:43: warning: unused parameter ‘tree_model’ [-Wunused-parameter]
136 | dh_keyword_model_get_flags (GtkTreeModel *tree_model)
| ~~~~~~~~~~~~~~^~~~~~~~~~
../devhelp/dh-keyword-model.c: In function ‘dh_keyword_model_get_n_columns’:
../devhelp/dh-keyword-model.c:142:47: warning: unused parameter ‘tree_model’ [-Wunused-parameter]
142 | dh_keyword_model_get_n_columns (GtkTreeModel *tree_model)
| ~~~~~~~~~~~~~~^~~~~~~~~~
../devhelp/dh-keyword-model.c: In function ‘dh_keyword_model_get_column_type’:
../devhelp/dh-keyword-model.c:148:49: warning: unused parameter ‘tree_model’ [-Wunused-parameter]
148 | dh_keyword_model_get_column_type (GtkTreeModel *tree_model,
| ~~~~~~~~~~~~~~^~~~~~~~~~
../devhelp/dh-keyword-model.c: In function ‘dh_keyword_model_iter_has_child’:
../devhelp/dh-keyword-model.c:308:48: warning: unused parameter ‘tree_model’ [-Wunused-parameter]
308 | dh_keyword_model_iter_has_child (GtkTreeModel *tree_model,
| ~~~~~~~~~~~~~~^~~~~~~~~~
../devhelp/dh-keyword-model.c:309:48: warning: unused parameter ‘iter’ [-Wunused-parameter]
309 | GtkTreeIter *iter)
| ~~~~~~~~~~~~~~^~~~
../devhelp/dh-keyword-model.c: In function ‘dh_keyword_model_iter_parent’:
../devhelp/dh-keyword-model.c:358:45: warning: unused parameter ‘tree_model’ [-Wunused-parameter]
358 | dh_keyword_model_iter_parent (GtkTreeModel *tree_model,
| ~~~~~~~~~~~~~~^~~~~~~~~~
../devhelp/dh-keyword-model.c:359:45: warning: unused parameter ‘iter’ [-Wunused-parameter]
359 | GtkTreeIter *iter,
| ~~~~~~~~~~~~~~^~~~
../devhelp/dh-keyword-model.c:360:45: warning: unused parameter ‘child’ [-Wunused-parameter]
360 | GtkTreeIter *child)
| ~~~~~~~~~~~~~~^~~~~
../devhelp/dh-keyword-model.c: In function ‘link_compare’:
../devhelp/dh-keyword-model.c:436:29: warning: unused parameter ‘user_data’ [-Wunused-parameter]
436 | gpointer user_data)
| ~~~~~~~~~~~~~~^~~~~~~~~
[15/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-sidebar.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-sidebar.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-sidebar.c.o -MF devhelp/libdevhelp-static.a.p/dh-sidebar.c.o.d -o devhelp/libdevhelp-static.a.p/dh-sidebar.c.o -c ../devhelp/dh-sidebar.c
../devhelp/dh-sidebar.c: In function ‘search_idle_cb’:
../devhelp/dh-sidebar.c:137:23: warning: implicit declaration of function ‘gtk_entry_get_text’; did you mean ‘gtk_entry_get_tabs’? [-Wimplicit-function-declaration]
137 | search_text = gtk_entry_get_text (priv->entry);
| ^~~~~~~~~~~~~~~~~~
| gtk_entry_get_tabs
../devhelp/dh-sidebar.c:137:21: warning: assignment to ‘const gchar *’ {aka ‘const char *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
137 | search_text = gtk_entry_get_text (priv->entry);
| ^
../devhelp/dh-sidebar.c: In function ‘add_book_cb’:
../devhelp/dh-sidebar.c:194:26: warning: unused parameter ‘book_list’ [-Wunused-parameter]
194 | add_book_cb (DhBookList *book_list,
| ~~~~~~~~~~~~^~~~~~~~~
../devhelp/dh-sidebar.c: In function ‘remove_book_cb’:
../devhelp/dh-sidebar.c:206:29: warning: unused parameter ‘book_list’ [-Wunused-parameter]
206 | remove_book_cb (DhBookList *book_list,
| ~~~~~~~~~~~~^~~~~~~~~
../devhelp/dh-sidebar.c:207:29: warning: unused parameter ‘book’ [-Wunused-parameter]
207 | DhBook *book,
| ~~~~~~~~~~~~^~~~
../devhelp/dh-sidebar.c: In function ‘hitlist_selection_changed_cb’:
../devhelp/dh-sidebar.c:238:49: warning: unused parameter ‘selection’ [-Wunused-parameter]
238 | hitlist_selection_changed_cb (GtkTreeSelection *selection,
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~
../devhelp/dh-sidebar.c: At top level:
../devhelp/dh-sidebar.c:253:27: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
253 | GdkEventKey *event,
| ^~~~~~~~~~~
| GdkEvent
../devhelp/dh-sidebar.c: In function ‘entry_changed_cb’:
../devhelp/dh-sidebar.c:280:21: warning: assignment to ‘const gchar *’ {aka ‘const char *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
280 | search_text = gtk_entry_get_text (entry);
| ^
../devhelp/dh-sidebar.c: In function ‘entry_search_changed_cb’:
../devhelp/dh-sidebar.c:298:21: warning: assignment to ‘const gchar *’ {aka ‘const char *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
298 | search_text = gtk_entry_get_text (GTK_ENTRY (search_entry));
| ^
../devhelp/dh-sidebar.c: In function ‘complete_idle_cb’:
../devhelp/dh-sidebar.c:327:21: warning: assignment to ‘const gchar *’ {aka ‘const char *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
327 | search_text = gtk_entry_get_text (priv->entry);
| ^
../devhelp/dh-sidebar.c:335:17: warning: implicit declaration of function ‘gtk_entry_set_text’; did you mean ‘gtk_entry_set_tabs’? [-Wimplicit-function-declaration]
335 | gtk_entry_set_text (priv->entry, completed);
| ^~~~~~~~~~~~~~~~~~
| gtk_entry_set_tabs
../devhelp/dh-sidebar.c: In function ‘entry_insert_text_cb’:
../devhelp/dh-sidebar.c:349:36: warning: unused parameter ‘entry’ [-Wunused-parameter]
349 | entry_insert_text_cb (GtkEntry *entry,
| ~~~~~~~~~~~~~^~~~~
../devhelp/dh-sidebar.c:350:36: warning: unused parameter ‘text’ [-Wunused-parameter]
350 | const gchar *text,
| ~~~~~~~~~~~~~^~~~
../devhelp/dh-sidebar.c:351:36: warning: unused parameter ‘length’ [-Wunused-parameter]
351 | gint length,
| ~~~~~~~~~~~~~^~~~~~
../devhelp/dh-sidebar.c:352:36: warning: unused parameter ‘position’ [-Wunused-parameter]
352 | gint *position,
| ~~~~~~~~~~~~~^~~~~~~~
../devhelp/dh-sidebar.c: In function ‘entry_stop_search_cb’:
../devhelp/dh-sidebar.c:363:39: warning: unused parameter ‘user_data’ [-Wunused-parameter]
363 | gpointer user_data)
| ~~~~~~~~~~~~~~~~^~~~~~~~~
../devhelp/dh-sidebar.c: In function ‘hitlist_cell_data_func’:
../devhelp/dh-sidebar.c:369:44: warning: unused parameter ‘tree_column’ [-Wunused-parameter]
369 | hitlist_cell_data_func (GtkTreeViewColumn *tree_column,
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
../devhelp/dh-sidebar.c:373:44: warning: unused parameter ‘data’ [-Wunused-parameter]
373 | gpointer data)
| ~~~~~~~~~~~~~~~~~~~^~~~
../devhelp/dh-sidebar.c: In function ‘book_tree_link_selected_cb’:
../devhelp/dh-sidebar.c:425:41: warning: unused parameter ‘book_tree’ [-Wunused-parameter]
425 | book_tree_link_selected_cb (DhBookTree *book_tree,
| ~~~~~~~~~~~~^~~~~~~~~
../devhelp/dh-sidebar.c: In function ‘dh_sidebar_constructed’:
../devhelp/dh-sidebar.c:453:9: warning: implicit declaration of function ‘gtk_container_add’ [-Wimplicit-function-declaration]
453 | gtk_container_add (GTK_CONTAINER (sidebar), GTK_WIDGET (priv->entry));
| ^~~~~~~~~~~~~~~~~
../devhelp/dh-sidebar.c:453:28: warning: implicit declaration of function ‘GTK_CONTAINER’; did you mean ‘GTK_CONSTRAINT’? [-Wimplicit-function-declaration]
453 | gtk_container_add (GTK_CONTAINER (sidebar), GTK_WIDGET (priv->entry));
| ^~~~~~~~~~~~~
| GTK_CONSTRAINT
In file included from /usr/include/glib-2.0/gobject/gobject.h:28,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/gtk-4.0/gtk/css/gtkcssenumtypes.h:11,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:34,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../devhelp/dh-sidebar.h:12,
from ../devhelp/dh-sidebar.c:11:
../devhelp/dh-sidebar.c:457:39: error: ‘entry_key_press_event_cb’ undeclared (first use in this function)
457 | G_CALLBACK (entry_key_press_event_cb),
| ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gsignal.h:508:60: note: in definition of macro ‘g_signal_connect’
508 | g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0)
| ^~~~~~~~~
../devhelp/dh-sidebar.c:457:27: note: in expansion of macro ‘G_CALLBACK’
457 | G_CALLBACK (entry_key_press_event_cb),
| ^~~~~~~~~~
../devhelp/dh-sidebar.c:457:39: note: each undeclared identifier is reported only once for each function it appears in
457 | G_CALLBACK (entry_key_press_event_cb),
| ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gsignal.h:508:60: note: in definition of macro ‘g_signal_connect’
508 | g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0)
| ^~~~~~~~~
../devhelp/dh-sidebar.c:457:27: note: in expansion of macro ‘G_CALLBACK’
457 | G_CALLBACK (entry_key_press_event_cb),
| ^~~~~~~~~~
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:22,
from /usr/include/gtk-4.0/gtk/css/gtkcssenumtypes.h:11,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:34,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../devhelp/dh-sidebar.h:12,
from ../devhelp/dh-sidebar.c:11:
../devhelp/dh-sidebar.c:514:49: error: too many arguments to function ‘gtk_scrolled_window_new’
514 | priv->sw_hitlist = GTK_SCROLLED_WINDOW (gtk_scrolled_window_new (NULL, NULL));
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:2417:57: note: in definition of macro ‘_G_TYPE_CIC’
2417 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))
| ^~
/usr/include/gtk-4.0/gtk/gtkscrolledwindow.h:38:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
38 | #define GTK_SCROLLED_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCROLLED_WINDOW, GtkScrolledWindow))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../devhelp/dh-sidebar.c:514:28: note: in expansion of macro ‘GTK_SCROLLED_WINDOW’
514 | priv->sw_hitlist = GTK_SCROLLED_WINDOW (gtk_scrolled_window_new (NULL, NULL));
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtk.h:213,
from ../devhelp/dh-sidebar.h:12,
from ../devhelp/dh-sidebar.c:11:
/usr/include/gtk-4.0/gtk/gtkscrolledwindow.h:96:16: note: declared here
96 | GtkWidget* gtk_scrolled_window_new (void);
| ^~~~~~~~~~~~~~~~~~~~~~~
../devhelp/dh-sidebar.c:515:9: warning: implicit declaration of function ‘gtk_widget_set_no_show_all’ [-Wimplicit-function-declaration]
515 | gtk_widget_set_no_show_all (GTK_WIDGET (priv->sw_hitlist), TRUE);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
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:22,
from /usr/include/gtk-4.0/gtk/css/gtkcssenumtypes.h:11,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:34,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../devhelp/dh-sidebar.h:12,
from ../devhelp/dh-sidebar.c:11:
../devhelp/dh-sidebar.c:542:51: error: too many arguments to function ‘gtk_scrolled_window_new’
542 | priv->sw_book_tree = GTK_SCROLLED_WINDOW (gtk_scrolled_window_new (NULL, NULL));
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:2417:57: note: in definition of macro ‘_G_TYPE_CIC’
2417 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))
| ^~
/usr/include/gtk-4.0/gtk/gtkscrolledwindow.h:38:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
38 | #define GTK_SCROLLED_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCROLLED_WINDOW, GtkScrolledWindow))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../devhelp/dh-sidebar.c:542:30: note: in expansion of macro ‘GTK_SCROLLED_WINDOW’
542 | priv->sw_book_tree = GTK_SCROLLED_WINDOW (gtk_scrolled_window_new (NULL, NULL));
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtk.h:213,
from ../devhelp/dh-sidebar.h:12,
from ../devhelp/dh-sidebar.c:11:
/usr/include/gtk-4.0/gtk/gtkscrolledwindow.h:96:16: note: declared here
96 | GtkWidget* gtk_scrolled_window_new (void);
| ^~~~~~~~~~~~~~~~~~~~~~~
../devhelp/dh-sidebar.c:560:9: warning: implicit declaration of function ‘gtk_widget_show_all’; did you mean ‘gtk_widget_show’? [-Wimplicit-function-declaration]
560 | gtk_widget_show_all (GTK_WIDGET (sidebar));
| ^~~~~~~~~~~~~~~~~~~
| gtk_widget_show
../devhelp/dh-sidebar.c: In function ‘dh_sidebar_new’:
../devhelp/dh-sidebar.c:658:32: warning: unused parameter ‘book_manager’ [-Wunused-parameter]
658 | dh_sidebar_new (DhBookManager *book_manager)
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~
[16/35] Compiling C object devhelp/libdevhelp-static.a.p/meson-generated_.._dh-enum-types.c.o
FAILED: devhelp/libdevhelp-static.a.p/meson-generated_.._dh-enum-types.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/meson-generated_.._dh-enum-types.c.o -MF devhelp/libdevhelp-static.a.p/meson-generated_.._dh-enum-types.c.o.d -o devhelp/libdevhelp-static.a.p/meson-generated_.._dh-enum-types.c.o -c devhelp/dh-enum-types.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from devhelp/dh-enum-types.c:5:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from devhelp/dh-enum-types.c:5:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from devhelp/dh-enum-types.c:5:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from devhelp/dh-enum-types.c:5:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
In file included from ../devhelp/devhelp.h:28,
from devhelp/dh-enum-types.c:5:
../devhelp/dh-search-bar.h:26:22: error: field ‘parent’ has incomplete type
26 | GtkSearchBar parent;
| ^~~~~~
../devhelp/dh-search-bar.h:32:9: error: unknown type name ‘GtkSearchBarClass’
32 | GtkSearchBarClass parent_class;
| ^~~~~~~~~~~~~~~~~
[17/35] Compiling C object src/devhelp.p/dh-util-app.c.o
FAILED: src/devhelp.p/dh-util-app.c.o
/usr/bin/gcc -Isrc/devhelp.p -Isrc -I../src -I. -I.. -Idevhelp -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -mfpmath=sse -msse -msse2 -MD -MQ src/devhelp.p/dh-util-app.c.o -MF src/devhelp.p/dh-util-app.c.o.d -o src/devhelp.p/dh-util-app.c.o -c ../src/dh-util-app.c
../src/dh-util-app.c: In function ‘dh_util_window_settings_save’:
../src/dh-util-app.c:47:17: error: unknown type name ‘GdkWindowState’
47 | GdkWindowState state;
| ^~~~~~~~~~~~~~
../src/dh-util-app.c:50:25: warning: implicit declaration of function ‘gdk_window_get_state’; did you mean ‘gtk_window_get_title’? [-Wimplicit-function-declaration]
50 | state = gdk_window_get_state (gtk_widget_get_window (GTK_WIDGET (window)));
| ^~~~~~~~~~~~~~~~~~~~
| gtk_window_get_title
../src/dh-util-app.c:50:47: warning: implicit declaration of function ‘gtk_widget_get_window’; did you mean ‘gtk_widget_get_width’? [-Wimplicit-function-declaration]
50 | state = gdk_window_get_state (gtk_widget_get_window (GTK_WIDGET (window)));
| ^~~~~~~~~~~~~~~~~~~~~
| gtk_widget_get_width
../src/dh-util-app.c:51:38: error: ‘GDK_WINDOW_STATE_MAXIMIZED’ undeclared (first use in this function); did you mean ‘GDK_TOPLEVEL_STATE_MAXIMIZED’?
51 | maximized = (state & GDK_WINDOW_STATE_MAXIMIZED) != 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| GDK_TOPLEVEL_STATE_MAXIMIZED
../src/dh-util-app.c:51:38: note: each undeclared identifier is reported only once for each function it appears in
../src/dh-util-app.c:61:9: warning: implicit declaration of function ‘gtk_window_get_size’; did you mean ‘gtk_window_get_title’? [-Wimplicit-function-declaration]
61 | gtk_window_get_size (GTK_WINDOW (window), &width, &height);
| ^~~~~~~~~~~~~~~~~~~
| gtk_window_get_title
../src/dh-util-app.c: In function ‘dh_util_window_settings_restore’:
../src/dh-util-app.c:91:17: error: unknown type name ‘GdkWindow’; did you mean ‘GtkWindow’?
91 | GdkWindow *gdk_window;
| ^~~~~~~~~
| GtkWindow
../src/dh-util-app.c:99:28: warning: assignment to ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
99 | gdk_window = gtk_widget_get_window (GTK_WIDGET (gtk_window));
| ^
../src/dh-util-app.c:100:27: warning: implicit declaration of function ‘gdk_display_get_monitor_at_window’; did you mean ‘gdk_display_get_monitor_at_surface’? [-Wimplicit-function-declaration]
100 | monitor = gdk_display_get_monitor_at_window (display, gdk_window);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| gdk_display_get_monitor_at_surface
../src/dh-util-app.c:100:25: warning: assignment to ‘GdkMonitor *’ {aka ‘struct _GdkMonitor *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
100 | monitor = gdk_display_get_monitor_at_window (display, gdk_window);
| ^
../src/dh-util-app.c:101:17: warning: implicit declaration of function ‘gdk_monitor_get_workarea’; did you mean ‘gdk_monitor_get_model’? [-Wimplicit-function-declaration]
101 | gdk_monitor_get_workarea (monitor, &monitor_workarea);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| gdk_monitor_get_model
[18/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-book-tree.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-book-tree.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-book-tree.c.o -MF devhelp/libdevhelp-static.a.p/dh-book-tree.c.o.d -o devhelp/libdevhelp-static.a.p/dh-book-tree.c.o -c ../devhelp/dh-book-tree.c
../devhelp/dh-book-tree.c:39:9: error: unknown type name ‘GtkMenu’
39 | GtkMenu *context_menu;
| ^~~~~~~
../devhelp/dh-book-tree.c: In function ‘book_tree_selection_changed_cb’:
../devhelp/dh-book-tree.c:85:51: warning: unused parameter ‘selection’ [-Wunused-parameter]
85 | book_tree_selection_changed_cb (GtkTreeSelection *selection,
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~
../devhelp/dh-book-tree.c: In function ‘add_book_cb’:
../devhelp/dh-book-tree.c:445:26: warning: unused parameter ‘book_list’ [-Wunused-parameter]
445 | add_book_cb (DhBookList *book_list,
| ~~~~~~~~~~~~^~~~~~~~~
../devhelp/dh-book-tree.c: In function ‘remove_book_cb’:
../devhelp/dh-book-tree.c:453:29: warning: unused parameter ‘book_list’ [-Wunused-parameter]
453 | remove_book_cb (DhBookList *book_list,
| ~~~~~~~~~~~~^~~~~~~~~
../devhelp/dh-book-tree.c: In function ‘group_books_by_language_notify_cb’:
../devhelp/dh-book-tree.c:607:48: warning: unused parameter ‘settings’ [-Wunused-parameter]
607 | group_books_by_language_notify_cb (DhSettings *settings,
| ~~~~~~~~~~~~^~~~~~~~
../devhelp/dh-book-tree.c:608:48: warning: unused parameter ‘pspec’ [-Wunused-parameter]
608 | GParamSpec *pspec,
| ~~~~~~~~~~~~^~~~~
../devhelp/dh-book-tree.c: At top level:
../devhelp/dh-book-tree.c:722:27: error: unknown type name ‘GtkMenuItem’; did you mean ‘GMenuItem’?
722 | collapse_all_activate_cb (GtkMenuItem *menu_item,
| ^~~~~~~~~~~
| GMenuItem
../devhelp/dh-book-tree.c:730:16: error: unknown type name ‘GdkEventButton’; did you mean ‘GtkMenuButton’?
730 | GdkEventButton *event)
| ^~~~~~~~~~~~~~
| GtkMenuButton
../devhelp/dh-book-tree.c:773:34: error: unknown type name ‘GdkEventButton’; did you mean ‘GtkMenuButton’?
773 | GdkEventButton *event)
| ^~~~~~~~~~~~~~
| GtkMenuButton
../devhelp/dh-book-tree.c: In function ‘dh_book_tree_popup_menu’:
../devhelp/dh-book-tree.c:792:57: error: ‘GtkWidgetClass’ {aka ‘struct _GtkWidgetClass’} has no member named ‘popup_menu’
792 | if (GTK_WIDGET_CLASS (dh_book_tree_parent_class)->popup_menu != NULL)
| ^~
../devhelp/dh-book-tree.c:795:9: warning: implicit declaration of function ‘do_popup_menu’ [-Wimplicit-function-declaration]
795 | do_popup_menu (DH_BOOK_TREE (widget), NULL);
| ^~~~~~~~~~~~~
../devhelp/dh-book-tree.c: In function ‘dh_book_tree_class_init’:
../devhelp/dh-book-tree.c:810:21: error: ‘GtkWidgetClass’ {aka ‘struct _GtkWidgetClass’} has no member named ‘button_press_event’
810 | widget_class->button_press_event = dh_book_tree_button_press_event;
| ^~
../devhelp/dh-book-tree.c:810:44: error: ‘dh_book_tree_button_press_event’ undeclared (first use in this function)
810 | widget_class->button_press_event = dh_book_tree_button_press_event;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../devhelp/dh-book-tree.c:810:44: note: each undeclared identifier is reported only once for each function it appears in
../devhelp/dh-book-tree.c:811:21: error: ‘GtkWidgetClass’ {aka ‘struct _GtkWidgetClass’} has no member named ‘popup_menu’
811 | widget_class->popup_menu = dh_book_tree_popup_menu;
| ^~
[19/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-tab-label.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-tab-label.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-tab-label.c.o -MF devhelp/libdevhelp-static.a.p/dh-tab-label.c.o.d -o devhelp/libdevhelp-static.a.p/dh-tab-label.c.o -c ../devhelp/dh-tab-label.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-tab-label.h:10,
from ../devhelp/dh-tab-label.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-tab-label.h:10,
from ../devhelp/dh-tab-label.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-tab-label.h:10,
from ../devhelp/dh-tab-label.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
../devhelp/dh-tab-label.c: In function ‘web_view_title_notify_cb’:
../devhelp/dh-tab-label.c:52:39: warning: unused parameter ‘web_view’ [-Wunused-parameter]
52 | web_view_title_notify_cb (DhWebView *web_view,
| ~~~~~~~~~~~~^~~~~~~~
../devhelp/dh-tab-label.c:53:39: warning: unused parameter ‘pspec’ [-Wunused-parameter]
53 | GParamSpec *pspec,
| ~~~~~~~~~~~~^~~~~
../devhelp/dh-tab-label.c: In function ‘create_close_button’:
../devhelp/dh-tab-label.c:167:55: error: ‘GTK_ICON_SIZE_BUTTON’ undeclared (first use in this function); did you mean ‘GTK_ICON_SIZE_LARGE’?
167 | GTK_ICON_SIZE_BUTTON);
| ^~~~~~~~~~~~~~~~~~~~
| GTK_ICON_SIZE_LARGE
../devhelp/dh-tab-label.c:167:55: note: each undeclared identifier is reported only once for each function it appears in
../devhelp/dh-tab-label.c:166:24: error: too many arguments to function ‘gtk_button_new_from_icon_name’
166 | close_button = gtk_button_new_from_icon_name ("window-close-symbolic",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtk.h:60,
from ../devhelp/dh-tab-label.h:9,
from ../devhelp/dh-tab-label.c:6:
/usr/include/gtk-4.0/gtk/gtkbutton.h:84:16: note: declared here
84 | GtkWidget* gtk_button_new_from_icon_name (const char *icon_name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../devhelp/dh-tab-label.c:168:9: warning: implicit declaration of function ‘gtk_button_set_relief’; did you mean ‘gtk_button_set_child’? [-Wimplicit-function-declaration]
168 | gtk_button_set_relief (GTK_BUTTON (close_button), GTK_RELIEF_NONE);
| ^~~~~~~~~~~~~~~~~~~~~
| gtk_button_set_child
../devhelp/dh-tab-label.c:168:59: error: ‘GTK_RELIEF_NONE’ undeclared (first use in this function); did you mean ‘GTK_LIMIT_NONE’?
168 | gtk_button_set_relief (GTK_BUTTON (close_button), GTK_RELIEF_NONE);
| ^~~~~~~~~~~~~~~
| GTK_LIMIT_NONE
../devhelp/dh-tab-label.c:172:53: error: ‘GTK_STYLE_CLASS_FLAT’ undeclared (first use in this function); did you mean ‘GTK_SCALE_CLASS’?
172 | gtk_style_context_add_class (style_context, GTK_STYLE_CLASS_FLAT);
| ^~~~~~~~~~~~~~~~~~~~
| GTK_SCALE_CLASS
../devhelp/dh-tab-label.c: In function ‘close_button_clicked_cb’:
../devhelp/dh-tab-label.c:182:17: warning: implicit declaration of function ‘gtk_widget_destroy’; did you mean ‘gtk_window_destroy’? [-Wimplicit-function-declaration]
182 | gtk_widget_destroy (GTK_WIDGET (tab_label->priv->tab));
| ^~~~~~~~~~~~~~~~~~
| gtk_window_destroy
../devhelp/dh-tab-label.c:178:38: warning: unused parameter ‘close_button’ [-Wunused-parameter]
178 | close_button_clicked_cb (GtkButton *close_button,
| ~~~~~~~~~~~~^~~~~~~~~~~~
../devhelp/dh-tab-label.c: In function ‘dh_tab_label_init’:
../devhelp/dh-tab-label.c:203:9: warning: implicit declaration of function ‘gtk_container_add’ [-Wimplicit-function-declaration]
203 | gtk_container_add (GTK_CONTAINER (tab_label),
| ^~~~~~~~~~~~~~~~~
../devhelp/dh-tab-label.c:203:28: warning: implicit declaration of function ‘GTK_CONTAINER’; did you mean ‘GTK_CONSTRAINT’? [-Wimplicit-function-declaration]
203 | gtk_container_add (GTK_CONTAINER (tab_label),
| ^~~~~~~~~~~~~
| GTK_CONSTRAINT
[20/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-search-bar.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-search-bar.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-search-bar.c.o -MF devhelp/libdevhelp-static.a.p/dh-search-bar.c.o.d -o devhelp/libdevhelp-static.a.p/dh-search-bar.c.o -c ../devhelp/dh-search-bar.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-search-bar.h:10,
from ../devhelp/dh-search-bar.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-search-bar.h:10,
from ../devhelp/dh-search-bar.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-search-bar.h:10,
from ../devhelp/dh-search-bar.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-search-bar.h:10,
from ../devhelp/dh-search-bar.c:6:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-search-bar.c:6:
../devhelp/dh-search-bar.h:26:22: error: field ‘parent’ has incomplete type
26 | GtkSearchBar parent;
| ^~~~~~
../devhelp/dh-search-bar.h:32:9: error: unknown type name ‘GtkSearchBarClass’
32 | GtkSearchBarClass parent_class;
| ^~~~~~~~~~~~~~~~~
../devhelp/dh-search-bar.c: In function ‘update_search_in_web_view’:
../devhelp/dh-search-bar.c:47:31: warning: implicit declaration of function ‘gtk_entry_get_text’; did you mean ‘gtk_entry_get_tabs’? [-Wimplicit-function-declaration]
47 | search_text = gtk_entry_get_text (GTK_ENTRY (search_bar->priv->search_entry));
| ^~~~~~~~~~~~~~~~~~
| gtk_entry_get_tabs
../devhelp/dh-search-bar.c:47:29: warning: assignment to ‘const gchar *’ {aka ‘const char *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
47 | search_text = gtk_entry_get_text (GTK_ENTRY (search_bar->priv->search_entry));
| ^
../devhelp/dh-search-bar.c: In function ‘search_mode_enabled_notify_cb’:
../devhelp/dh-search-bar.c:106:45: warning: unused parameter ‘pspec’ [-Wunused-parameter]
106 | GParamSpec *pspec,
| ~~~~~~~~~~~~~^~~~~
../devhelp/dh-search-bar.c:107:45: warning: unused parameter ‘user_data’ [-Wunused-parameter]
107 | gpointer user_data)
| ~~~~~~~~~~~~~^~~~~~~~~
../devhelp/dh-search-bar.c: In function ‘search_changed_cb’:
../devhelp/dh-search-bar.c:116:36: warning: unused parameter ‘entry’ [-Wunused-parameter]
116 | search_changed_cb (GtkSearchEntry *entry,
| ~~~~~~~~~~~~~~~~^~~~~
../devhelp/dh-search-bar.c: In function ‘previous_match_cb’:
../devhelp/dh-search-bar.c:124:36: warning: unused parameter ‘entry’ [-Wunused-parameter]
124 | previous_match_cb (GtkSearchEntry *entry,
| ~~~~~~~~~~~~~~~~^~~~~
../devhelp/dh-search-bar.c: In function ‘next_match_cb’:
../devhelp/dh-search-bar.c:131:32: warning: unused parameter ‘entry’ [-Wunused-parameter]
131 | next_match_cb (GtkSearchEntry *entry,
| ~~~~~~~~~~~~~~~~^~~~~
../devhelp/dh-search-bar.c: In function ‘prev_button_clicked_cb’:
../devhelp/dh-search-bar.c:138:38: warning: unused parameter ‘prev_button’ [-Wunused-parameter]
138 | prev_button_clicked_cb (GtkButton *prev_button,
| ~~~~~~~~~~~~~^~~~~~~~~~~
../devhelp/dh-search-bar.c: In function ‘next_button_clicked_cb’:
../devhelp/dh-search-bar.c:145:38: warning: unused parameter ‘next_button’ [-Wunused-parameter]
145 | next_button_clicked_cb (GtkButton *next_button,
| ~~~~~~~~~~~~~^~~~~~~~~~~
../devhelp/dh-search-bar.c: In function ‘notebook_switch_page_after_cb’:
../devhelp/dh-search-bar.c:152:45: warning: unused parameter ‘notebook’ [-Wunused-parameter]
152 | notebook_switch_page_after_cb (GtkNotebook *notebook,
| ~~~~~~~~~~~~~^~~~~~~~
../devhelp/dh-search-bar.c:153:45: warning: unused parameter ‘new_page’ [-Wunused-parameter]
153 | GtkWidget *new_page,
| ~~~~~~~~~~~~~^~~~~~~~
../devhelp/dh-search-bar.c:154:45: warning: unused parameter ‘new_page_num’ [-Wunused-parameter]
154 | guint new_page_num,
| ~~~~~~~~~~~~~^~~~~~~~~~~~
../devhelp/dh-search-bar.c: In function ‘dh_search_bar_constructed’:
../devhelp/dh-search-bar.c:177:53: error: ‘GTK_STYLE_CLASS_LINKED’ undeclared (first use in this function); did you mean ‘GTK_STATE_FLAG_LINK’?
177 | gtk_style_context_add_class (style_context, GTK_STYLE_CLASS_LINKED);
| ^~~~~~~~~~~~~~~~~~~~~~
| GTK_STATE_FLAG_LINK
../devhelp/dh-search-bar.c:177:53: note: each undeclared identifier is reported only once for each function it appears in
../devhelp/dh-search-bar.c:182:9: warning: implicit declaration of function ‘gtk_container_add’ [-Wimplicit-function-declaration]
182 | gtk_container_add (GTK_CONTAINER (hbox),
| ^~~~~~~~~~~~~~~~~
../devhelp/dh-search-bar.c:182:28: warning: implicit declaration of function ‘GTK_CONTAINER’; did you mean ‘GTK_CONSTRAINT’? [-Wimplicit-function-declaration]
182 | gtk_container_add (GTK_CONTAINER (hbox),
| ^~~~~~~~~~~~~
| GTK_CONSTRAINT
../devhelp/dh-search-bar.c:201:72: error: ‘GTK_ICON_SIZE_BUTTON’ undeclared (first use in this function); did you mean ‘GTK_ICON_SIZE_LARGE’?
201 | prev_button = gtk_button_new_from_icon_name ("go-up-symbolic", GTK_ICON_SIZE_BUTTON);
| ^~~~~~~~~~~~~~~~~~~~
| GTK_ICON_SIZE_LARGE
../devhelp/dh-search-bar.c:201:23: error: too many arguments to function ‘gtk_button_new_from_icon_name’
201 | prev_button = gtk_button_new_from_icon_name ("go-up-symbolic", GTK_ICON_SIZE_BUTTON);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtk.h:60,
from ../devhelp/dh-search-bar.h:9,
from ../devhelp/dh-search-bar.c:6:
/usr/include/gtk-4.0/gtk/gtkbutton.h:84:16: note: declared here
84 | GtkWidget* gtk_button_new_from_icon_name (const char *icon_name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../devhelp/dh-search-bar.c:204:23: error: too many arguments to function ‘gtk_button_new_from_icon_name’
204 | next_button = gtk_button_new_from_icon_name ("go-down-symbolic", GTK_ICON_SIZE_BUTTON);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtk.h:60,
from ../devhelp/dh-search-bar.h:9,
from ../devhelp/dh-search-bar.c:6:
/usr/include/gtk-4.0/gtk/gtkbutton.h:84:16: note: declared here
84 | GtkWidget* gtk_button_new_from_icon_name (const char *icon_name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../devhelp/dh-search-bar.c:229:9: warning: implicit declaration of function ‘gtk_widget_show_all’; did you mean ‘gtk_widget_show’? [-Wimplicit-function-declaration]
229 | gtk_widget_show_all (hbox);
| ^~~~~~~~~~~~~~~~~~~
| gtk_widget_show
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:22,
from /usr/include/gtk-4.0/gtk/css/gtkcssenumtypes.h:11,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:34,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../devhelp/dh-search-bar.h:9,
from ../devhelp/dh-search-bar.c:6:
/usr/include/glib-2.0/gobject/gtype.h:2417:6: warning: passing argument 2 of ‘gtk_search_bar_connect_entry’ from incompatible pointer type [-Wincompatible-pointer-types]
2417 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))
/usr/include/glib-2.0/gobject/gtype.h:501:66: note: in expansion of macro ‘_G_TYPE_CIC’
501 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type))
| ^~~~~~~~~~~
/usr/include/gtk-4.0/gtk/gtkentry.h:47:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’
47 | #define GTK_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ENTRY, GtkEntry))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../devhelp/dh-search-bar.c:233:39: note: in expansion of macro ‘GTK_ENTRY’
233 | GTK_ENTRY (search_bar->priv->search_entry));
| ^~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtk.h:214,
from ../devhelp/dh-search-bar.h:9,
from ../devhelp/dh-search-bar.c:6:
/usr/include/gtk-4.0/gtk/gtksearchbar.h:54:59: note: expected ‘GtkEditable *’ {aka ‘struct _GtkEditable *’} but argument is of type ‘GtkEntry *’ {aka ‘struct _GtkEntry *’}
54 | GtkEditable *entry);
| ~~~~~~~~~~~~~~^~~~~
[21/35] Compiling C object src/devhelp.p/dh-assistant.c.o
FAILED: src/devhelp.p/dh-assistant.c.o
/usr/bin/gcc -Isrc/devhelp.p -Isrc -I../src -I. -I.. -Idevhelp -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -mfpmath=sse -msse -msse2 -MD -MQ src/devhelp.p/dh-assistant.c.o -MF src/devhelp.p/dh-assistant.c.o.d -o src/devhelp.p/dh-assistant.c.o -c ../src/dh-assistant.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-assistant.c:7:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-assistant.c:7:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-assistant.c:7:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-assistant.c:7:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
In file included from ../devhelp/devhelp.h:28,
from ../src/dh-assistant.c:7:
../devhelp/dh-search-bar.h:26:22: error: field ‘parent’ has incomplete type
26 | GtkSearchBar parent;
| ^~~~~~
../devhelp/dh-search-bar.h:32:9: error: unknown type name ‘GtkSearchBarClass’
32 | GtkSearchBarClass parent_class;
| ^~~~~~~~~~~~~~~~~
../src/dh-assistant.c: In function ‘assistant_view_open_uri_cb’:
../src/dh-assistant.c:19:46: warning: unused parameter ‘view’ [-Wunused-parameter]
19 | assistant_view_open_uri_cb (DhAssistantView *view,
| ~~~~~~~~~~~~~~~~~^~~~
../src/dh-assistant.c: At top level:
../src/dh-assistant.c:34:31: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
34 | GdkEventKey *event)
| ^~~~~~~~~~~
| GdkEvent
../src/dh-assistant.c:48:28: error: unknown type name ‘GdkEventAny’; did you mean ‘GdkEvent’?
48 | GdkEventAny *event)
| ^~~~~~~~~~~
| GdkEvent
../src/dh-assistant.c: In function ‘dh_assistant_class_init’:
../src/dh-assistant.c:67:21: error: ‘GtkWidgetClass’ {aka ‘struct _GtkWidgetClass’} has no member named ‘key_press_event’
67 | widget_class->key_press_event = dh_assistant_key_press_event;
| ^~
../src/dh-assistant.c:67:41: error: ‘dh_assistant_key_press_event’ undeclared (first use in this function)
67 | widget_class->key_press_event = dh_assistant_key_press_event;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/dh-assistant.c:67:41: note: each undeclared identifier is reported only once for each function it appears in
../src/dh-assistant.c:68:21: error: ‘GtkWidgetClass’ {aka ‘struct _GtkWidgetClass’} has no member named ‘delete_event’
68 | widget_class->delete_event = dh_assistant_delete_event;
| ^~
../src/dh-assistant.c:68:38: error: ‘dh_assistant_delete_event’ undeclared (first use in this function)
68 | widget_class->delete_event = dh_assistant_delete_event;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[22/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-notebook.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-notebook.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-notebook.c.o -MF devhelp/libdevhelp-static.a.p/dh-notebook.c.o.d -o devhelp/libdevhelp-static.a.p/dh-notebook.c.o -c ../devhelp/dh-notebook.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-notebook.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-notebook.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-tab.h:10,
from ../devhelp/dh-notebook.h:11,
from ../devhelp/dh-notebook.c:6:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-notebook.c:6:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
../devhelp/dh-notebook.c: In function ‘dh_notebook_page_added’:
../devhelp/dh-notebook.c:122:13: warning: implicit declaration of function ‘GTK_NOTEBOOK_CLASS’; did you mean ‘DH_NOTEBOOK_CLASS’? [-Wimplicit-function-declaration]
122 | if (GTK_NOTEBOOK_CLASS (dh_notebook_parent_class)->page_added != NULL)
| ^~~~~~~~~~~~~~~~~~
| DH_NOTEBOOK_CLASS
../devhelp/dh-notebook.c:122:58: error: invalid type argument of ‘->’ (have ‘int’)
122 | if (GTK_NOTEBOOK_CLASS (dh_notebook_parent_class)->page_added != NULL)
| ^~
../devhelp/dh-notebook.c:123:62: error: invalid type argument of ‘->’ (have ‘int’)
123 | GTK_NOTEBOOK_CLASS (dh_notebook_parent_class)->page_added (notebook, child, page_num);
| ^~
../devhelp/dh-notebook.c: In function ‘dh_notebook_page_removed’:
../devhelp/dh-notebook.c:133:58: error: invalid type argument of ‘->’ (have ‘int’)
133 | if (GTK_NOTEBOOK_CLASS (dh_notebook_parent_class)->page_removed != NULL)
| ^~
../devhelp/dh-notebook.c:134:62: error: invalid type argument of ‘->’ (have ‘int’)
134 | GTK_NOTEBOOK_CLASS (dh_notebook_parent_class)->page_removed (notebook, child, page_num);
| ^~
../devhelp/dh-notebook.c: In function ‘dh_notebook_class_init’:
../devhelp/dh-notebook.c:143:9: error: unknown type name ‘GtkNotebookClass’; did you mean ‘DhNotebookClass’?
143 | GtkNotebookClass *gtk_notebook_class = GTK_NOTEBOOK_CLASS (klass);
| ^~~~~~~~~~~~~~~~
| DhNotebookClass
../devhelp/dh-notebook.c:143:48: warning: initialization of ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
143 | GtkNotebookClass *gtk_notebook_class = GTK_NOTEBOOK_CLASS (klass);
| ^~~~~~~~~~~~~~~~~~
../devhelp/dh-notebook.c:150:27: error: request for member ‘page_added’ in something not a structure or union
150 | gtk_notebook_class->page_added = dh_notebook_page_added;
| ^~
../devhelp/dh-notebook.c:151:27: error: request for member ‘page_removed’ in something not a structure or union
151 | gtk_notebook_class->page_removed = dh_notebook_page_removed;
| ^~
../devhelp/dh-notebook.c: In function ‘web_view_open_new_tab_cb’:
../devhelp/dh-notebook.c:214:40: warning: unused parameter ‘web_view’ [-Wunused-parameter]
214 | web_view_open_new_tab_cb (DhWebView *web_view,
| ~~~~~~~~~~~~~^~~~~~~~
../devhelp/dh-notebook.c: In function ‘dh_notebook_open_new_tab’:
../devhelp/dh-notebook.c:264:9: warning: implicit declaration of function ‘gtk_container_child_set’ [-Wimplicit-function-declaration]
264 | gtk_container_child_set (GTK_CONTAINER (notebook),
| ^~~~~~~~~~~~~~~~~~~~~~~
../devhelp/dh-notebook.c:264:34: warning: implicit declaration of function ‘GTK_CONTAINER’; did you mean ‘GTK_CONSTRAINT’? [-Wimplicit-function-declaration]
264 | gtk_container_child_set (GTK_CONTAINER (notebook),
| ^~~~~~~~~~~~~
| GTK_CONSTRAINT
[23/35] Compiling C object src/devhelp.p/dh-window.c.o
FAILED: src/devhelp.p/dh-window.c.o
/usr/bin/gcc -Isrc/devhelp.p -Isrc -I../src -I. -I.. -Idevhelp -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -mfpmath=sse -msse -msse2 -MD -MQ src/devhelp.p/dh-window.c.o -MF src/devhelp.p/dh-window.c.o.d -o src/devhelp.p/dh-window.c.o -c ../src/dh-window.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../src/dh-window.c:11:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../src/dh-window.c:11:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../src/dh-window.c:11:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
In file included from ../devhelp/dh-application-window.h:10,
from ../devhelp/devhelp.h:13,
from ../src/dh-window.c:12:
../devhelp/dh-notebook.h:28:21: error: field ‘parent’ has incomplete type
28 | GtkNotebook parent;
| ^~~~~~
../devhelp/dh-notebook.h:34:9: error: unknown type name ‘GtkNotebookClass’
34 | GtkNotebookClass parent_class;
| ^~~~~~~~~~~~~~~~
In file included from ../devhelp/devhelp.h:28,
from ../src/dh-window.c:12:
../devhelp/dh-search-bar.h:26:22: error: field ‘parent’ has incomplete type
26 | GtkSearchBar parent;
| ^~~~~~
../devhelp/dh-search-bar.h:32:9: error: unknown type name ‘GtkSearchBarClass’
32 | GtkSearchBarClass parent_class;
| ^~~~~~~~~~~~~~~~~
../src/dh-window.c:33:25: error: unknown type name ‘GdkEventAny’; did you mean ‘GdkEvent’?
33 | GdkEventAny *event)
| ^~~~~~~~~~~
| GdkEvent
../src/dh-window.c: In function ‘dh_window_class_init’:
../src/dh-window.c:67:21: error: ‘GtkWidgetClass’ {aka ‘struct _GtkWidgetClass’} has no member named ‘delete_event’
67 | widget_class->delete_event = dh_window_delete_event;
| ^~
../src/dh-window.c:67:38: error: ‘dh_window_delete_event’ undeclared (first use in this function)
67 | widget_class->delete_event = dh_window_delete_event;
| ^~~~~~~~~~~~~~~~~~~~~~
../src/dh-window.c:67:38: note: each undeclared identifier is reported only once for each function it appears in
../src/dh-window.c: In function ‘update_window_title’:
../src/dh-window.c:103:9: warning: implicit declaration of function ‘gtk_header_bar_set_title’; did you mean ‘gtk_header_bar_get_type’? [-Wimplicit-function-declaration]
103 | gtk_header_bar_set_title (priv->header_bar, title);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| gtk_header_bar_get_type
../src/dh-window.c: In function ‘new_tab_cb’:
../src/dh-window.c:151:28: warning: unused parameter ‘action’ [-Wunused-parameter]
151 | new_tab_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:152:28: warning: unused parameter ‘parameter’ [-Wunused-parameter]
152 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘next_tab_cb’:
../src/dh-window.c:162:29: warning: unused parameter ‘action’ [-Wunused-parameter]
162 | next_tab_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:163:29: warning: unused parameter ‘parameter’ [-Wunused-parameter]
163 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘prev_tab_cb’:
../src/dh-window.c:182:29: warning: unused parameter ‘action’ [-Wunused-parameter]
182 | prev_tab_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:183:29: warning: unused parameter ‘parameter’ [-Wunused-parameter]
183 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘go_to_tab_cb’:
../src/dh-window.c:200:30: warning: unused parameter ‘action’ [-Wunused-parameter]
200 | go_to_tab_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c: In function ‘print_cb’:
../src/dh-window.c:213:26: warning: unused parameter ‘action’ [-Wunused-parameter]
213 | print_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:214:26: warning: unused parameter ‘parameter’ [-Wunused-parameter]
214 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘close_tab_cb’:
../src/dh-window.c:231:30: warning: unused parameter ‘action’ [-Wunused-parameter]
231 | close_tab_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:232:30: warning: unused parameter ‘parameter’ [-Wunused-parameter]
232 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘copy_cb’:
../src/dh-window.c:260:17: warning: implicit declaration of function ‘gtk_editable_copy_clipboard’; did you mean ‘gtk_text_buffer_copy_clipboard’? [-Wimplicit-function-declaration]
260 | gtk_editable_copy_clipboard (GTK_EDITABLE (widget));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| gtk_text_buffer_copy_clipboard
../src/dh-window.c:267:25: error: unknown type name ‘GtkClipboard’; did you mean ‘GdkClipboard’?
267 | GtkClipboard *clipboard;
| ^~~~~~~~~~~~
| GdkClipboard
../src/dh-window.c:269:71: error: ‘GDK_SELECTION_CLIPBOARD’ undeclared (first use in this function); did you mean ‘GDK_TYPE_CLIPBOARD’?
269 | clipboard = gtk_widget_get_clipboard (widget, GDK_SELECTION_CLIPBOARD);
| ^~~~~~~~~~~~~~~~~~~~~~~
| GDK_TYPE_CLIPBOARD
../src/dh-window.c:269:37: error: too many arguments to function ‘gtk_widget_get_clipboard’
269 | clipboard = gtk_widget_get_clipboard (widget, GDK_SELECTION_CLIPBOARD);
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtkapplication.h:27,
from /usr/include/gtk-4.0/gtk/gtkwindow.h:33,
from /usr/include/gtk-4.0/gtk/gtkaboutdialog.h:30,
from /usr/include/gtk-4.0/gtk/gtk.h:34,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/gtk-4.0/gtk/gtkwidget.h:544:15: note: declared here
544 | GdkClipboard *gtk_widget_get_clipboard (GtkWidget *widget);
| ^~~~~~~~~~~~~~~~~~~~~~~~
../src/dh-window.c:269:35: warning: assignment to ‘int *’ from incompatible pointer type ‘GdkClipboard *’ {aka ‘struct _GdkClipboard *’} [-Wincompatible-pointer-types]
269 | clipboard = gtk_widget_get_clipboard (widget, GDK_SELECTION_CLIPBOARD);
| ^
../src/dh-window.c:270:25: warning: implicit declaration of function ‘gtk_clipboard_set_text’; did you mean ‘gdk_clipboard_set_text’? [-Wimplicit-function-declaration]
270 | gtk_clipboard_set_text (clipboard, dh_link_get_name (link), -1);
| ^~~~~~~~~~~~~~~~~~~~~~
| gdk_clipboard_set_text
../src/dh-window.c:249:25: warning: unused parameter ‘action’ [-Wunused-parameter]
249 | copy_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:250:25: warning: unused parameter ‘parameter’ [-Wunused-parameter]
250 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘find_cb’:
../src/dh-window.c:286:25: warning: unused parameter ‘action’ [-Wunused-parameter]
286 | find_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:287:25: warning: unused parameter ‘parameter’ [-Wunused-parameter]
287 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘zoom_in_cb’:
../src/dh-window.c:298:28: warning: unused parameter ‘action’ [-Wunused-parameter]
298 | zoom_in_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:299:28: warning: unused parameter ‘parameter’ [-Wunused-parameter]
299 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘zoom_out_cb’:
../src/dh-window.c:311:29: warning: unused parameter ‘action’ [-Wunused-parameter]
311 | zoom_out_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:312:29: warning: unused parameter ‘parameter’ [-Wunused-parameter]
312 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘zoom_default_cb’:
../src/dh-window.c:324:33: warning: unused parameter ‘action’ [-Wunused-parameter]
324 | zoom_default_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:325:33: warning: unused parameter ‘parameter’ [-Wunused-parameter]
325 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘focus_search_cb’:
../src/dh-window.c:337:33: warning: unused parameter ‘action’ [-Wunused-parameter]
337 | focus_search_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:338:33: warning: unused parameter ‘parameter’ [-Wunused-parameter]
338 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘go_back_cb’:
../src/dh-window.c:348:28: warning: unused parameter ‘action’ [-Wunused-parameter]
348 | go_back_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:349:28: warning: unused parameter ‘parameter’ [-Wunused-parameter]
349 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘go_forward_cb’:
../src/dh-window.c:361:31: warning: unused parameter ‘action’ [-Wunused-parameter]
361 | go_forward_cb (GSimpleAction *action,
| ~~~~~~~~~~~~~~~^~~~~~
../src/dh-window.c:362:31: warning: unused parameter ‘parameter’ [-Wunused-parameter]
362 | GVariant *parameter,
| ~~~~~~~~~~~~~~~^~~~~~~~~
../src/dh-window.c: In function ‘add_actions’:
../src/dh-window.c:381:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
381 | { "new-tab", new_tab_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c:382:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
382 | { "next-tab", next_tab_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c:383:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
383 | { "prev-tab", prev_tab_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c:384:17: warning: missing initializer for field ‘state’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
384 | { "go-to-tab", go_to_tab_cb, "q" },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:65:16: note: ‘state’ declared here
65 | const gchar *state;
| ^~~~~
../src/dh-window.c:385:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
385 | { "print", print_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c:386:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
386 | { "close-tab", close_tab_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c:389:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
389 | { "copy", copy_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c:390:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
390 | { "find", find_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c:393:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
393 | { "zoom-in", zoom_in_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c:394:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
394 | { "zoom-out", zoom_out_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c:395:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
395 | { "zoom-default", zoom_default_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c:396:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
396 | { "focus-search", focus_search_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c:399:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
399 | { "go-back", go_back_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c:400:17: warning: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’} [-Wmissing-field-initializers]
400 | { "go-forward", go_forward_cb },
| ^
In file included from /usr/include/glib-2.0/gio/gio.h:31,
from /usr/include/gtk-4.0/gtk/css/gtkcsssection.h:25,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:37,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/dh-window.h:12,
from ../src/dh-window.c:9:
/usr/include/glib-2.0/gio/gactionmap.h:63:16: note: ‘parameter_type’ declared here
63 | const gchar *parameter_type;
| ^~~~~~~~~~~~~~
../src/dh-window.c: In function ‘web_view_title_notify_cb’:
../src/dh-window.c:423:39: warning: unused parameter ‘param_spec’ [-Wunused-parameter]
423 | GParamSpec *param_spec,
| ~~~~~~~~~~~~^~~~~~~~~~
../src/dh-window.c: In function ‘web_view_zoom_level_notify_cb’:
../src/dh-window.c:432:44: warning: unused parameter ‘pspec’ [-Wunused-parameter]
432 | GParamSpec *pspec,
| ~~~~~~~~~~~~^~~~~
../src/dh-window.c: In function ‘notebook_page_added_after_cb’:
../src/dh-window.c:440:44: warning: unused parameter ‘notebook’ [-Wunused-parameter]
440 | notebook_page_added_after_cb (GtkNotebook *notebook,
| ~~~~~~~~~~~~~^~~~~~~~
../src/dh-window.c:442:44: warning: unused parameter ‘page_num’ [-Wunused-parameter]
442 | guint page_num,
| ~~~~~~~~~~~~~^~~~~~~~
../src/dh-window.c: In function ‘notebook_page_removed_after_cb’:
../src/dh-window.c:474:46: warning: unused parameter ‘child’ [-Wunused-parameter]
474 | GtkWidget *child,
| ~~~~~~~~~~~~~^~~~~
../src/dh-window.c:475:46: warning: unused parameter ‘page_num’ [-Wunused-parameter]
475 | guint page_num,
| ~~~~~~~~~~~~~^~~~~~~~
../src/dh-window.c: In function ‘notebook_switch_page_after_cb’:
../src/dh-window.c:483:45: warning: unused parameter ‘notebook’ [-Wunused-parameter]
483 | notebook_switch_page_after_cb (GtkNotebook *notebook,
| ~~~~~~~~~~~~~^~~~~~~~
../src/dh-window.c:484:45: warning: unused parameter ‘new_page’ [-Wunused-parameter]
484 | GtkWidget *new_page,
| ~~~~~~~~~~~~~^~~~~~~~
../src/dh-window.c:485:45: warning: unused parameter ‘new_page_num’ [-Wunused-parameter]
485 | guint new_page_num,
| ~~~~~~~~~~~~~^~~~~~~~~~~~
../src/dh-window.c: In function ‘dh_window_init’:
../src/dh-window.c:520:9: warning: implicit declaration of function ‘gtk_container_add’ [-Wimplicit-function-declaration]
520 | gtk_container_add (GTK_CONTAINER (priv->grid_sidebar),
| ^~~~~~~~~~~~~~~~~
../src/dh-window.c:520:28: warning: implicit declaration of function ‘GTK_CONTAINER’; did you mean ‘GTK_CONSTRAINT’? [-Wimplicit-function-declaration]
520 | gtk_container_add (GTK_CONTAINER (priv->grid_sidebar),
| ^~~~~~~~~~~~~
| GTK_CONSTRAINT
[24/35] Compiling C object devhelp/libdevhelp-static.a.p/dh-web-view.c.o
FAILED: devhelp/libdevhelp-static.a.p/dh-web-view.c.o
/usr/bin/gcc -Idevhelp/libdevhelp-static.a.p -Idevhelp -I../devhelp -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra '-DG_LOG_DOMAIN="devhelp"' -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fPIC -mfpmath=sse -msse -msse2 -MD -MQ devhelp/libdevhelp-static.a.p/dh-web-view.c.o -MF devhelp/libdevhelp-static.a.p/dh-web-view.c.o.d -o devhelp/libdevhelp-static.a.p/dh-web-view.c.o -c ../devhelp/dh-web-view.c
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitContextMenu.h:28,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:36,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-web-view.c:7:
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:64:60: error: unknown type name ‘GtkAction’; did you mean ‘GAction’?
64 | webkit_context_menu_item_new (GtkAction *action);
| ^~~~~~~~~
| GAction
/usr/include/webkitgtk-4.0/webkit2/WebKitContextMenuItem.h:85:61: error: unknown type name ‘GtkAction’
85 | WEBKIT_DEPRECATED_FOR(webkit_context_menu_item_get_gaction) GtkAction *
| ^~~~~~~~~
In file included from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:55,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-web-view.c:7:
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:123:38: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
123 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
/usr/include/webkitgtk-4.0/webkit2/WebKitInputMethodContext.h:163:49: error: unknown type name ‘GdkEventKey’; did you mean ‘GdkEvent’?
163 | GdkEventKey *key_event);
| ^~~~~~~~~~~
| GdkEvent
In file included from /usr/include/webkitgtk-4.0/webkit2/WebKitWebInspector.h:29,
from /usr/include/webkitgtk-4.0/webkit2/WebKitWebView.h:55,
from /usr/include/webkitgtk-4.0/webkit2/WebKitPrintOperation.h:30,
from /usr/include/webkitgtk-4.0/webkit2/webkit2.h:72,
from ../devhelp/dh-web-view.h:9,
from ../devhelp/dh-web-view.c:7:
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:52:5: error: unknown type name ‘GtkContainer’
52 | GtkContainer parentInstance;
| ^~~~~~~~~~~~
/usr/include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h:58:5: error: unknown type name ‘GtkContainerClass’
58 | GtkContainerClass parentClass;
| ^~~~~~~~~~~~~~~~~
../devhelp/dh-web-view.c:117:27: error: unknown type name ‘GdkEventScroll’
117 | GdkEventScroll *scroll_event)
| ^~~~~~~~~~~~~~
../devhelp/dh-web-view.c:168:33: error: unknown type name ‘GdkEventButton’; did you mean ‘GtkMenuButton’?
168 | GdkEventButton *event)
| ^~~~~~~~~~~~~~
| GtkMenuButton
../devhelp/dh-web-view.c: In function ‘dh_web_view_decide_policy’:
../devhelp/dh-web-view.c:322:28: warning: implicit declaration of function ‘gtk_widget_get_toplevel’; did you mean ‘gtk_window_get_toplevels’? [-Wimplicit-function-declaration]
322 | toplevel = gtk_widget_get_toplevel (GTK_WIDGET (web_view));
| ^~~~~~~~~~~~~~~~~~~~~~~
| gtk_window_get_toplevels
../devhelp/dh-web-view.c:322:26: warning: assignment to ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
322 | toplevel = gtk_widget_get_toplevel (GTK_WIDGET (web_view));
| ^
../devhelp/dh-web-view.c:326:17: warning: implicit declaration of function ‘gtk_show_uri_on_window’; did you mean ‘gtk_show_uri_full_finish’? [-Wimplicit-function-declaration]
326 | gtk_show_uri_on_window (window, uri, GDK_CURRENT_TIME, &error);
| ^~~~~~~~~~~~~~~~~~~~~~
| gtk_show_uri_full_finish
../devhelp/dh-web-view.c: In function ‘settings_fonts_changed_cb’:
../devhelp/dh-web-view.c:463:40: warning: unused parameter ‘settings’ [-Wunused-parameter]
463 | settings_fonts_changed_cb (DhSettings *settings,
| ~~~~~~~~~~~~^~~~~~~~
../devhelp/dh-web-view.c: In function ‘dh_web_view_class_init’:
../devhelp/dh-web-view.c:565:21: error: ‘GtkWidgetClass’ {aka ‘struct _GtkWidgetClass’} has no member named ‘scroll_event’
565 | widget_class->scroll_event = dh_web_view_scroll_event;
| ^~
../devhelp/dh-web-view.c:565:38: error: ‘dh_web_view_scroll_event’ undeclared (first use in this function); did you mean ‘dh_web_view_search_next’?
565 | widget_class->scroll_event = dh_web_view_scroll_event;
| ^~~~~~~~~~~~~~~~~~~~~~~~
| dh_web_view_search_next
../devhelp/dh-web-view.c:565:38: note: each undeclared identifier is reported only once for each function it appears in
../devhelp/dh-web-view.c:566:21: error: ‘GtkWidgetClass’ {aka ‘struct _GtkWidgetClass’} has no member named ‘button_press_event’
566 | widget_class->button_press_event = dh_web_view_button_press_event;
| ^~
../devhelp/dh-web-view.c:566:44: error: ‘dh_web_view_button_press_event’ undeclared (first use in this function)
566 | widget_class->button_press_event = dh_web_view_button_press_event;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: cannot make progress due to previous errors.