>>> sioyek: Building community/sioyek 2.0.0-r31 (using abuild 3.14.1-r6) started Sun, 26 Jan 2025 23:32:11 +0000
>>> sioyek: Validating /home/buildozer/aports/community/sioyek/APKBUILD...
>>> sioyek: Analyzing dependencies...
>>> sioyek: Installing for build: build-base cmd:desktop-file-install mupdf-dev qt5-qt3d-dev qt5-qtbase-dev
(1/229) Installing libffi (3.4.6-r0)
(2/229) Installing libintl (0.22.5-r0)
(3/229) Installing libeconf (0.6.3-r0)
(4/229) Installing libblkid (2.40.4-r0)
(5/229) Installing libmount (2.40.4-r0)
(6/229) Installing glib (2.82.4-r0)
(7/229) Installing desktop-file-utils (0.28-r0)
(8/229) Installing libbz2 (1.0.8-r6)
(9/229) Installing libpng (1.6.45-r0)
(10/229) Installing freetype (2.13.3-r0)
(11/229) Installing gumbo-parser (0.13.0-r0)
(12/229) Installing graphite2 (1.3.14-r6)
(13/229) Installing harfbuzz (10.2.0-r0)
(14/229) Installing jbig2dec (0.20-r0)
(15/229) Installing libjpeg-turbo (3.1.0-r0)
(16/229) Installing mujs-libs (1.3.2-r0)
(17/229) Installing openjpeg (2.5.3-r0)
(18/229) Installing mupdf-libs (1.25.4-r0)
(19/229) Installing mupdf-dev (1.25.4-r0)
(20/229) Installing icu-data-full (74.2-r0)
(21/229) Installing dbus-libs (1.16.0-r0)
(22/229) Installing icu-libs (74.2-r0)
(23/229) Installing libpcre2-16 (10.43-r0)
(24/229) Installing qt5-qtbase (5.15.10_git20230714-r3)
(25/229) Installing sqlite-libs (3.48.0-r0)
(26/229) Installing qt5-qtbase-sqlite (5.15.10_git20230714-r3)
(27/229) Installing unixodbc (2.3.12-r0)
(28/229) Installing qt5-qtbase-odbc (5.15.10_git20230714-r3)
(29/229) Installing libpq (17.2-r0)
(30/229) Installing qt5-qtbase-postgresql (5.15.10_git20230714-r3)
(31/229) Installing mariadb-connector-c (3.3.10-r0)
(32/229) Installing qt5-qtbase-mysql (5.15.10_git20230714-r3)
(33/229) Installing freetds (1.4.26-r0)
(34/229) Installing qt5-qtbase-tds (5.15.10_git20230714-r3)
(35/229) Installing hicolor-icon-theme (0.18-r0)
(36/229) Installing libxau (1.0.12-r0)
(37/229) Installing libmd (1.1.0-r0)
(38/229) Installing libbsd (0.12.2-r0)
(39/229) Installing libxdmcp (1.1.5-r1)
(40/229) Installing libxcb (1.17.0-r0)
(41/229) Installing libx11 (1.8.10-r0)
(42/229) Installing xprop (1.2.8-r0)
(43/229) Installing libxext (1.3.6-r2)
(44/229) Installing libice (1.1.2-r0)
(45/229) Installing libuuid (2.40.4-r0)
(46/229) Installing libsm (1.2.5-r0)
(47/229) Installing libxt (1.3.1-r0)
(48/229) Installing libxmu (1.2.1-r0)
(49/229) Installing xset (1.2.5-r1)
(50/229) Installing xdg-utils (1.2.1-r1)
(51/229) Installing xz-libs (5.6.3-r0)
(52/229) Installing libxml2 (2.13.4-r3)
(53/229) Installing llvm19-libs (19.1.7-r0)
(54/229) Installing hwdata-pci (0.391-r0)
(55/229) Installing libpciaccess (0.18.1-r0)
(56/229) Installing libdrm (2.4.124-r0)
(57/229) Installing libelf (0.191-r0)
(58/229) Installing mesa-glapi (24.3.4-r0)
(59/229) Installing wayland-libs-server (1.23.1-r0)
(60/229) Installing libxxf86vm (1.1.6-r0)
(61/229) Installing mesa-gl (24.3.4-r0)
(62/229) Installing qt5-qtdeclarative (5.15.10_git20230629-r0)
(63/229) Installing libxcomposite (0.4.6-r5)
(64/229) Installing fontconfig (2.15.0-r1)
(65/229) Installing wayland-libs-client (1.23.1-r0)
(66/229) Installing wayland-libs-cursor (1.23.1-r0)
(67/229) Installing wayland-libs-egl (1.23.1-r0)
(68/229) Installing xkeyboard-config (2.43-r0)
(69/229) Installing libxkbcommon (1.7.0-r1)
(70/229) Installing qt5-qtwayland (5.15.10_git20230714-r0)
(71/229) Installing libxshmfence (1.3.3-r0)
(72/229) Installing mesa (24.3.4-r0)
(73/229) Installing mesa-gbm (24.3.4-r0)
(74/229) Installing mesa-egl (24.3.4-r0)
(75/229) Installing avahi-libs (0.8-r19)
(76/229) Installing nettle (3.10.1-r0)
(77/229) Installing libtasn1 (4.19.0-r2)
(78/229) Installing p11-kit (0.25.5-r2)
(79/229) Installing gnutls (3.8.8-r0)
(80/229) Installing cups-libs (2.4.11-r0)
(81/229) Installing shared-mime-info (2.4-r2)
(82/229) Installing libsharpyuv (1.5.0-r0)
(83/229) Installing libwebp (1.5.0-r0)
(84/229) Installing tiff (4.7.0-r0)
(85/229) Installing gdk-pixbuf (2.42.12-r1)
(86/229) Installing gtk-update-icon-cache (3.24.48-r0)
(87/229) Installing libxfixes (6.0.1-r4)
(88/229) Installing libxrender (0.9.12-r0)
(89/229) Installing libxcursor (1.2.3-r0)
(90/229) Installing libxdamage (1.1.6-r5)
(91/229) Installing libxi (1.8.2-r0)
(92/229) Installing libxinerama (1.1.5-r4)
(93/229) Installing libxrandr (1.5.4-r1)
(94/229) Installing libatk-1.0 (2.54.1-r0)
(95/229) Installing libxtst (1.2.5-r0)
(96/229) Installing at-spi2-core (2.54.1-r0)
(97/229) Installing libatk-bridge-2.0 (2.54.1-r0)
(98/229) Installing pixman (0.43.4-r1)
(99/229) Installing cairo (1.18.2-r1)
(100/229) Installing cairo-gobject (1.18.2-r1)
(101/229) Installing libepoxy (1.5.10-r1)
(102/229) Installing fribidi (1.0.16-r0)
(103/229) Installing libxft (2.3.8-r3)
(104/229) Installing pango (1.54.0-r1)
(105/229) Installing gtk+3.0 (3.24.48-r0)
(106/229) Installing libevdev (1.13.3-r0)
(107/229) Installing mtdev (1.1.7-r0)
(108/229) Installing eudev-libs (3.2.14-r5)
(109/229) Installing libinput-libs (1.27.1-r0)
(110/229) Installing xcb-util-wm (0.4.2-r0)
(111/229) Installing xcb-util (0.4.1-r3)
(112/229) Installing xcb-util-image (0.4.1-r0)
(113/229) Installing xcb-util-keysyms (0.4.1-r0)
(114/229) Installing xcb-util-renderutil (0.3.10-r0)
(115/229) Installing libxkbcommon-x11 (1.7.0-r1)
(116/229) Installing qt5-qtbase-x11 (5.15.10_git20230714-r3)
(117/229) Installing dbus-dev (1.16.0-r0)
(118/229) Installing expat (2.6.4-r0)
(119/229) Installing expat-dev (2.6.4-r0)
(120/229) Installing bzip2-dev (1.0.8-r6)
(121/229) Installing brotli (1.1.0-r2)
(122/229) Installing brotli-dev (1.1.0-r2)
(123/229) Installing zlib-dev (1.3.1-r2)
(124/229) Installing libpng-dev (1.6.45-r0)
(125/229) Installing freetype-dev (2.13.3-r0)
(126/229) Installing fontconfig-dev (2.15.0-r1)
(127/229) Installing libxml2-utils (2.13.4-r3)
(128/229) Installing docbook-xml (4.5-r9)
Executing docbook-xml-4.5-r9.post-install
(129/229) Installing libgpg-error (1.51-r0)
(130/229) Installing libgcrypt (1.10.3-r1)
(131/229) Installing libxslt (1.1.42-r1)
(132/229) Installing docbook-xsl-ns (1.79.2-r11)
Executing docbook-xsl-ns-1.79.2-r11.post-install
(133/229) Installing docbook-xsl-nons (1.79.2-r11)
Executing docbook-xsl-nons-1.79.2-r11.post-install
(134/229) Installing docbook-xsl (1.79.2-r11)
(135/229) Installing xz (5.6.3-r0)
(136/229) Installing gettext-asprintf (0.22.5-r0)
(137/229) Installing gettext-libs (0.22.5-r0)
(138/229) Installing gettext-envsubst (0.22.5-r0)
(139/229) Installing gettext (0.22.5-r0)
(140/229) Installing gettext-dev (0.22.5-r0)
(141/229) Installing gdbm (1.24-r0)
(142/229) Installing mpdecimal (4.0.0-r0)
(143/229) Installing libpanelw (6.5_p20250118-r0)
(144/229) Installing python3 (3.12.8-r1)
(145/229) Installing python3-pycache-pyc0 (3.12.8-r1)
(146/229) Installing pyc (3.12.8-r1)
(147/229) Installing python3-pyc (3.12.8-r1)
(148/229) Installing py3-parsing (3.2.0-r0)
(149/229) Installing py3-parsing-pyc (3.2.0-r0)
(150/229) Installing py3-packaging (24.2-r0)
(151/229) Installing py3-packaging-pyc (24.2-r0)
(152/229) Installing linux-headers (6.12.6-r0)
(153/229) Installing libffi-dev (3.4.6-r0)
(154/229) Installing bsd-compat-headers (0.7.2-r6)
(155/229) Installing libformw (6.5_p20250118-r0)
(156/229) Installing libmenuw (6.5_p20250118-r0)
(157/229) Installing libncurses++ (6.5_p20250118-r0)
(158/229) Installing ncurses-dev (6.5_p20250118-r0)
(159/229) Installing libedit-dev (20250104.3.1-r0)
(160/229) Installing libpcre2-32 (10.43-r0)
(161/229) Installing pcre2-dev (10.43-r0)
(162/229) Installing libfdisk (2.40.4-r0)
(163/229) Installing libsmartcols (2.40.4-r0)
(164/229) Installing sqlite (3.48.0-r0)
(165/229) Installing sqlite-dev (3.48.0-r0)
(166/229) Installing util-linux (2.40.4-r0)
(167/229) Installing dmesg (2.40.4-r0)
(168/229) Installing setarch (2.40.4-r0)
(169/229) Installing skalibs-libs (2.14.3.0-r0)
(170/229) Installing utmps-libs (0.1.2.3-r2)
(171/229) Installing util-linux-misc (2.40.4-r0)
(172/229) Installing linux-pam (1.6.1-r1)
(173/229) Installing runuser (2.40.4-r0)
(174/229) Installing mount (2.40.4-r0)
(175/229) Installing losetup (2.40.4-r0)
(176/229) Installing hexdump (2.40.4-r0)
(177/229) Installing uuidgen (2.40.4-r0)
(178/229) Installing blkid (2.40.4-r0)
(179/229) Installing sfdisk (2.40.4-r0)
(180/229) Installing mcookie (2.40.4-r0)
(181/229) Installing agetty (2.40.4-r0)
(182/229) Installing wipefs (2.40.4-r0)
(183/229) Installing cfdisk (2.40.4-r0)
(184/229) Installing umount (2.40.4-r0)
(185/229) Installing flock (2.40.4-r0)
(186/229) Installing lsblk (2.40.4-r0)
(187/229) Installing libcap-ng (0.8.5-r0)
(188/229) Installing setpriv (2.40.4-r0)
(189/229) Installing lscpu (2.40.4-r0)
(190/229) Installing logger (2.40.4-r0)
(191/229) Installing partx (2.40.4-r0)
(192/229) Installing fstrim (2.40.4-r0)
(193/229) Installing findmnt (2.40.4-r0)
(194/229) Installing util-linux-dev (2.40.4-r0)
(195/229) Installing glib-dev (2.82.4-r0)
(196/229) Installing xorgproto (2024.1-r0)
(197/229) Installing libice-dev (1.1.2-r0)
(198/229) Installing libsm-dev (1.2.5-r0)
(199/229) Installing libxau-dev (1.0.12-r0)
(200/229) Installing xcb-proto (1.17.0-r0)
(201/229) Installing xcb-proto-pyc (1.17.0-r0)
(202/229) Installing libxdmcp-dev (1.1.5-r1)
(203/229) Installing libxcb-dev (1.17.0-r0)
(204/229) Installing xtrans (1.5.2-r0)
(205/229) Installing libx11-dev (1.8.10-r0)
(206/229) Installing libxext-dev (1.3.6-r2)
(207/229) Installing libpciaccess-dev (0.18.1-r0)
(208/229) Installing libdrm-dev (2.4.124-r0)
(209/229) Installing libxfixes-dev (6.0.1-r4)
(210/229) Installing libxdamage-dev (1.1.6-r5)
(211/229) Installing libxshmfence-dev (1.3.3-r0)
(212/229) Installing mesa-gles (24.3.4-r0)
(213/229) Installing mesa-osmesa (24.3.4-r0)
(214/229) Installing mesa-xatracker (24.3.4-r0)
(215/229) Installing libxxf86vm-dev (1.1.6-r0)
(216/229) Installing mesa-dev (24.3.4-r0)
(217/229) Installing openssl-dev (3.3.2-r4)
(218/229) Installing perl (5.40.1-r0)
(219/229) Installing qt5-qtbase-dev (5.15.10_git20230714-r3)
(220/229) Installing qt5-qtdeclarative-dev (5.15.10_git20230629-r0)
(221/229) Installing assimp-libs (5.4.3-r0)
(222/229) Installing qt5-qt3d (5.15.10_git20230424-r0)
(223/229) Installing qt5-qt3d-dev (5.15.10_git20230424-r0)
(224/229) Installing .makedepends-sioyek (20250126.233214)
(225/229) Installing util-linux-openrc (2.40.4-r0)
(226/229) Installing agetty-openrc (0.56-r0)
(227/229) Installing perl-error (0.17029-r2)
(228/229) Installing perl-git (2.48.1-r0)
(229/229) Installing git-perl (2.48.1-r0)
Executing busybox-1.37.0-r13.trigger
Executing glib-2.82.4-r0.trigger
Executing desktop-file-utils-0.28-r0.trigger
Executing shared-mime-info-2.4-r2.trigger
Executing gdk-pixbuf-2.42.12-r1.trigger
Executing gtk-update-icon-cache-3.24.48-r0.trigger
Executing gtk+3.0-3.24.48-r0.trigger
OK: 1019 MiB in 331 packages
>>> sioyek: Cleaning up srcdir
>>> sioyek: Cleaning up pkgdir
>>> sioyek: Cleaning up tmpdir
>>> sioyek: Fetching https://distfiles.alpinelinux.org/distfiles/edge/sioyek-2.0.0.tar.gz
>>> sioyek: Fetching https://distfiles.alpinelinux.org/distfiles/edge/sioyek-2.0.0.tar.gz
>>> sioyek: Checking sha512sums...
sioyek-2.0.0.tar.gz: OK
fix-mupdf-libs.patch: OK
mupdf-0.23.0.patch: OK
sioyek.desktop: OK
>>> sioyek: Unpacking /var/cache/distfiles/edge/sioyek-2.0.0.tar.gz...
>>> sioyek: fix-mupdf-libs.patch
patching file pdf_viewer_build_config.pro
>>> sioyek: mupdf-0.23.0.patch
patching file pdf_viewer/document_view.cpp
patching file pdf_viewer/main_widget.cpp
patching file pdf_viewer/utils.cpp
patching file pdf_viewer/utils.h
Info: creating stash file /home/buildozer/aports/community/sioyek/src/sioyek-2.0.0/.qmake.stash
g++ -c -pipe -std=c++17 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt5/mkspecs/linux-g++ -o book.o pdf_viewer/book.cpp
g++ -c -pipe -std=c++17 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt5/mkspecs/linux-g++ -o config.o pdf_viewer/config.cpp
g++ -c -pipe -std=c++17 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt5/mkspecs/linux-g++ -o database.o pdf_viewer/database.cpp
g++ -c -pipe -std=c++17 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt5/mkspecs/linux-g++ -o document.o pdf_viewer/document.cpp
g++ -c -pipe -std=c++17 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt5/mkspecs/linux-g++ -o document_view.o pdf_viewer/document_view.cpp
g++ -c -pipe -std=c++17 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt5/mkspecs/linux-g++ -o input.o pdf_viewer/input.cpp
g++ -c -pipe -std=c++17 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt5/mkspecs/linux-g++ -o main.o pdf_viewer/main.cpp
g++ -c -pipe -std=c++17 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt5/mkspecs/linux-g++ -o main_widget.o pdf_viewer/main_widget.cpp
g++ -c -pipe -std=c++17 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt5/mkspecs/linux-g++ -o pdf_renderer.o pdf_viewer/pdf_renderer.cpp
g++ -c -pipe -std=c++17 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt5/mkspecs/linux-g++ -o pdf_view_opengl_widget.o pdf_viewer/pdf_view_opengl_widget.cpp
g++ -c -pipe -std=c++17 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt5/mkspecs/linux-g++ -o checksum.o pdf_viewer/checksum.cpp
g++ -c -pipe -std=c++17 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt5/mkspecs/linux-g++ -o new_file_checker.o pdf_viewer/new_file_checker.cpp
g++ -c -pipe -std=c++17 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt5/mkspecs/linux-g++ -o coordinates.o pdf_viewer/coordinates.cpp
gcc -c -pipe -Os -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt5/mkspecs/linux-g++ -o sqlite3.o pdf_viewer/sqlite3.c
g++ -c -pipe -std=c++17 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt5/mkspecs/linux-g++ -o ui.o pdf_viewer/ui.cpp
g++ -c -pipe -std=c++17 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt5/mkspecs/linux-g++ -o path.o pdf_viewer/path.cpp
g++ -c -pipe -std=c++17 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt5/mkspecs/linux-g++ -o utils.o pdf_viewer/utils.cpp
gcc -c -pipe -Os -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt5/mkspecs/linux-g++ -o synctex_parser.o pdf_viewer/synctex/synctex_parser.c
gcc -c -pipe -Os -fstack-clash-protection -Wformat -Werror=format-security -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt5/mkspecs/linux-g++ -o synctex_parser_utils.o pdf_viewer/synctex/synctex_parser_utils.c
g++ -c -pipe -std=c++17 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt5/mkspecs/linux-g++ -o RunGuard.o pdf_viewer/RunGuard.cpp
g++ -c -pipe -std=c++17 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt5/mkspecs/linux-g++ -o OpenWithApplication.o pdf_viewer/OpenWithApplication.cpp
g++ -pipe -std=c++17 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=gnu++1z -Wall -Wextra -dM -E -o moc_predefs.h /usr/lib/qt5/mkspecs/features/data/dummy.cpp
/usr/lib/qt5/bin/moc -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /home/buildozer/aports/community/sioyek/src/sioyek-2.0.0/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/home/buildozer/aports/community/sioyek/src/sioyek-2.0.0 -I/home/buildozer/aports/community/sioyek/src/sioyek-2.0.0/pdf_viewer -I/home/buildozer/aports/community/sioyek/src/sioyek-2.0.0/mupdf/include -I/home/buildozer/aports/community/sioyek/src/sioyek-2.0.0/zlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/14.2.0 -I/usr/include/c++/14.2.0/riscv64-alpine-linux-musl -I/usr/include/c++/14.2.0/backward -I/usr/include/fortify -I/usr/include -I/usr/lib/gcc/riscv64-alpine-linux-musl/14.2.0/include pdf_viewer/pdf_renderer.h -o moc_pdf_renderer.cpp
/usr/lib/qt5/bin/moc -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /home/buildozer/aports/community/sioyek/src/sioyek-2.0.0/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/home/buildozer/aports/community/sioyek/src/sioyek-2.0.0 -I/home/buildozer/aports/community/sioyek/src/sioyek-2.0.0/pdf_viewer -I/home/buildozer/aports/community/sioyek/src/sioyek-2.0.0/mupdf/include -I/home/buildozer/aports/community/sioyek/src/sioyek-2.0.0/zlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/14.2.0 -I/usr/include/c++/14.2.0/riscv64-alpine-linux-musl -I/usr/include/c++/14.2.0/backward -I/usr/include/fortify -I/usr/include -I/usr/lib/gcc/riscv64-alpine-linux-musl/14.2.0/include pdf_viewer/RunGuard.h -o moc_RunGuard.cpp
/usr/lib/qt5/bin/moc -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /home/buildozer/aports/community/sioyek/src/sioyek-2.0.0/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/home/buildozer/aports/community/sioyek/src/sioyek-2.0.0 -I/home/buildozer/aports/community/sioyek/src/sioyek-2.0.0/pdf_viewer -I/home/buildozer/aports/community/sioyek/src/sioyek-2.0.0/mupdf/include -I/home/buildozer/aports/community/sioyek/src/sioyek-2.0.0/zlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/14.2.0 -I/usr/include/c++/14.2.0/riscv64-alpine-linux-musl -I/usr/include/c++/14.2.0/backward -I/usr/include/fortify -I/usr/include -I/usr/lib/gcc/riscv64-alpine-linux-musl/14.2.0/include pdf_viewer/OpenWithApplication.h -o moc_OpenWithApplication.cpp
pdf_viewer/synctex/synctex_parser.c: In function 'synctex_reader_init_with_output_file':
pdf_viewer/synctex/synctex_parser.c:777:9: warning: label 'bailey' defined but not used [-Wunused-label]
  777 |         bailey:
      |         ^~~~~~
pdf_viewer/sqlite3.c: In function 'strftimeFunc':
pdf_viewer/sqlite3.c:14483:27: warning: cast between incompatible function types from 'int (*)(void *)' to 'void (*)(void *)' [-Wcast-function-type]
14483 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
      |                           ^
pdf_viewer/sqlite3.c:22663:52: note: in expansion of macro 'SQLITE_DYNAMIC'
22663 |                       z==zBuf ? SQLITE_TRANSIENT : SQLITE_DYNAMIC);
      |                                                    ^~~~~~~~~~~~~~
pdf_viewer/synctex/synctex_parser.c: In function '__synctex_parse_sfi':
pdf_viewer/synctex/synctex_parser.c:5493:9: warning: label 'continue_scan' defined but not used [-Wunused-label]
 5493 |         continue_scan:
      |         ^~~~~~~~~~~~~
pdf_viewer/sqlite3.c: In function 'sqlite3ErrorWithMsg':
pdf_viewer/sqlite3.c:14483:27: warning: cast between incompatible function types from 'int (*)(void *)' to 'void (*)(void *)' [-Wcast-function-type]
14483 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
      |                           ^
pdf_viewer/sqlite3.c:31142:54: note: in expansion of macro 'SQLITE_DYNAMIC'
31142 |     sqlite3ValueSetStr(db->pErr, -1, z, SQLITE_UTF8, SQLITE_DYNAMIC);
      |                                                      ^~~~~~~~~~~~~~
pdf_viewer/synctex/synctex_parser.c: At top level:
pdf_viewer/synctex/synctex_parser.c:922:13: warning: '_synctex_free_handle_old' defined but not used [-Wunused-function]
  922 | static void _synctex_free_handle_old(synctex_node_p handle) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
g++ -c -pipe -std=c++17 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_OpenWithApplication.o moc_OpenWithApplication.cpp
g++ -c -pipe -std=c++17 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_RunGuard.o moc_RunGuard.cpp
g++ -c -pipe -std=c++17 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -Imupdf/include -Izlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_pdf_renderer.o moc_pdf_renderer.cpp
pdf_viewer/database.cpp:408:1: warning: multi-line comment [-Wcomment]
  408 | //      const char* insert_books_sql = ""\
      | ^
pdf_viewer/main_widget.cpp:2956:5: warning: multi-line comment [-Wcomment]
 2956 |     //std::optional<std::pair<std::wstring, std::wstring>> generic_pair =\
      |     ^
pdf_viewer/sqlite3.c: In function 'sqlite3VdbeMemSetStr':
pdf_viewer/sqlite3.c:14483:27: warning: cast between incompatible function types from 'int (*)(void *)' to 'void (*)(void *)' [-Wcast-function-type]
14483 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
      |                           ^
pdf_viewer/sqlite3.c:76549:15: note: in expansion of macro 'SQLITE_DYNAMIC'
76549 |     if( xDel==SQLITE_DYNAMIC ){
      |               ^~~~~~~~~~~~~~
pdf_viewer/sqlite3.c: In function 'valueFromExpr':
pdf_viewer/sqlite3.c:14483:27: warning: cast between incompatible function types from 'int (*)(void *)' to 'void (*)(void *)' [-Wcast-function-type]
14483 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
      |                           ^
pdf_viewer/sqlite3.c:76964:55: note: in expansion of macro 'SQLITE_DYNAMIC'
76964 |       sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC);
      |                                                       ^~~~~~~~~~~~~~
pdf_viewer/sqlite3.c:14483:27: warning: cast between incompatible function types from 'int (*)(void *)' to 'void (*)(void *)' [-Wcast-function-type]
14483 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
      |                           ^
pdf_viewer/sqlite3.c:77016:29: note: in expansion of macro 'SQLITE_DYNAMIC'
77016 |                          0, SQLITE_DYNAMIC);
      |                             ^~~~~~~~~~~~~~
pdf_viewer/sqlite3.c: In function 'sqlite3VdbeExec':
pdf_viewer/sqlite3.c:92582:38: warning: cast between incompatible function types from 'int (*)(u32,  void *, void *, void *)' {aka 'int (*)(unsigned int,  void *, void *, void *)'} to 'void (*)(void *, const char *)' [-Wcast-function-type]
92582 |       void (*x)(void*,const char*) = (void(*)(void*,const char*))db->xTrace;
      |                                      ^
In file included from pdf_viewer/utf8.h:31,
                 from pdf_viewer/utils.h:21,
                 from pdf_viewer/database.h:9,
                 from pdf_viewer/document.h:22,
                 from pdf_viewer/document.cpp:1:
pdf_viewer/utf8/checked.h:268:34: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  268 |     class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                  ^~~~~~~~
In file included from /usr/include/c++/14.2.0/bits/stl_algobase.h:65,
                 from /usr/include/c++/14.2.0/vector:62,
                 from pdf_viewer/document.h:2:
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from pdf_viewer/utf8.h:32:
pdf_viewer/utf8/unchecked.h:179:40: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  179 |           class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                        ^~~~~~~~
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from pdf_viewer/utf8.h:31,
                 from pdf_viewer/utils.h:21,
                 from pdf_viewer/database.h:9,
                 from pdf_viewer/database.cpp:1:
pdf_viewer/utf8/checked.h:268:34: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  268 |     class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                  ^~~~~~~~
In file included from /usr/include/c++/14.2.0/bits/stl_iterator_base_funcs.h:66,
                 from /usr/include/c++/14.2.0/string:47,
                 from /usr/include/c++/14.2.0/bits/locale_classes.h:40,
                 from /usr/include/c++/14.2.0/bits/ios_base.h:41,
                 from /usr/include/c++/14.2.0/ios:44,
                 from /usr/include/c++/14.2.0/ostream:40,
                 from /usr/include/c++/14.2.0/iostream:41,
                 from pdf_viewer/database.h:3:
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from pdf_viewer/utf8.h:32:
pdf_viewer/utf8/unchecked.h:179:40: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  179 |           class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                        ^~~~~~~~
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from pdf_viewer/utf8.h:31,
                 from pdf_viewer/utils.h:21,
                 from pdf_viewer/path.h:5,
                 from pdf_viewer/config.h:9,
                 from pdf_viewer/config.cpp:1:
pdf_viewer/utf8/checked.h:268:34: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  268 |     class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                  ^~~~~~~~
In file included from /usr/include/c++/14.2.0/bits/stl_algobase.h:65,
                 from /usr/include/c++/14.2.0/vector:62,
                 from pdf_viewer/config.h:3:
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from pdf_viewer/utf8.h:32:
pdf_viewer/utf8/unchecked.h:179:40: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  179 |           class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                        ^~~~~~~~
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
pdf_viewer/database.cpp: In function 'int null_callback(void*, int, char**, char**)':
pdf_viewer/database.cpp:30:32: warning: unused parameter 'notused' [-Wunused-parameter]
   30 | static int null_callback(void* notused, int argc, char** argv, char** col_name) {
      |                          ~~~~~~^~~~~~~
pdf_viewer/database.cpp:30:45: warning: unused parameter 'argc' [-Wunused-parameter]
   30 | static int null_callback(void* notused, int argc, char** argv, char** col_name) {
      |                                         ~~~~^~~~
pdf_viewer/database.cpp:30:58: warning: unused parameter 'argv' [-Wunused-parameter]
   30 | static int null_callback(void* notused, int argc, char** argv, char** col_name) {
      |                                                   ~~~~~~~^~~~
pdf_viewer/database.cpp:30:71: warning: unused parameter 'col_name' [-Wunused-parameter]
   30 | static int null_callback(void* notused, int argc, char** argv, char** col_name) {
      |                                                                ~~~~~~~^~~~~~~~
pdf_viewer/database.cpp: In function 'int opened_book_callback(void*, int, char**, char**)':
pdf_viewer/database.cpp:34:81: warning: unused parameter 'col_name' [-Wunused-parameter]
   34 | static int opened_book_callback(void* res_vector, int argc, char** argv, char** col_name) {
      |                                                                          ~~~~~~~^~~~~~~~
pdf_viewer/database.cpp: In function 'int prev_doc_callback(void*, int, char**, char**)':
pdf_viewer/database.cpp:49:78: warning: unused parameter 'col_name' [-Wunused-parameter]
   49 | static int prev_doc_callback(void* res_vector, int argc, char** argv, char** col_name) {
      |                                                                       ~~~~~~~^~~~~~~~
pdf_viewer/database.cpp: In function 'int mark_select_callback(void*, int, char**, char**)':
pdf_viewer/database.cpp:60:81: warning: unused parameter 'col_name' [-Wunused-parameter]
   60 | static int mark_select_callback(void* res_vector, int argc, char** argv, char** col_name) {
      |                                                                          ~~~~~~~^~~~~~~~
pdf_viewer/config.cpp: In constructor 'ConfigManager::ConfigManager(const Path&, const Path&, const std::vector<Path>&)':
pdf_viewer/config.cpp:294:14: warning: unused variable 'vec3_deserializer' [-Wunused-variable]
  294 |         auto vec3_deserializer = vec_n_deserializer<3, float>;
      |              ^~~~~~~~~~~~~~~~~
pdf_viewer/config.cpp:295:14: warning: unused variable 'vec4_deserializer' [-Wunused-variable]
  295 |         auto vec4_deserializer = vec_n_deserializer<4, float>;
      |              ^~~~~~~~~~~~~~~~~
pdf_viewer/database.cpp: In function 'int global_mark_select_callback(void*, int, char**, char**)':
pdf_viewer/database.cpp:72:88: warning: unused parameter 'col_name' [-Wunused-parameter]
   72 | static int global_mark_select_callback(void* res_vector, int argc, char** argv, char** col_name) {
      |                                                                                 ~~~~~~~^~~~~~~~
pdf_viewer/document.cpp: In member function 'void Document::delete_highlight(Highlight)':
pdf_viewer/document.cpp:195:50: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits]
  195 |         for (size_t i = (highlights.size()-1); i >= 0; i--) {
      |                                                ~~^~~~
pdf_viewer/database.cpp: In function 'int global_bookmark_select_callback(void*, int, char**, char**)':
pdf_viewer/database.cpp:85:92: warning: unused parameter 'col_name' [-Wunused-parameter]
   85 | static int global_bookmark_select_callback(void* res_vector, int argc, char** argv, char** col_name) {
      |                                                                                     ~~~~~~~^~~~~~~~
pdf_viewer/database.cpp: In function 'int global_highlight_select_callback(void*, int, char**, char**)':
pdf_viewer/database.cpp:101:93: warning: unused parameter 'col_name' [-Wunused-parameter]
  101 | static int global_highlight_select_callback(void* res_vector, int argc, char** argv, char** col_name) {
      |                                                                                      ~~~~~~~^~~~~~~~
pdf_viewer/database.cpp: In function 'int bookmark_select_callback(void*, int, char**, char**)':
pdf_viewer/database.cpp:126:85: warning: unused parameter 'col_name' [-Wunused-parameter]
  126 | static int bookmark_select_callback(void* res_vector, int argc, char** argv, char** col_name) {
      |                                                                              ~~~~~~~^~~~~~~~
pdf_viewer/database.cpp: In function 'int wstring_select_callback(void*, int, char**, char**)':
pdf_viewer/database.cpp:138:84: warning: unused parameter 'col_name' [-Wunused-parameter]
  138 | static int wstring_select_callback(void* res_vector, int argc, char** argv, char** col_name) {
      |                                                                             ~~~~~~~^~~~~~~~
pdf_viewer/database.cpp: In function 'int string_select_callback(void*, int, char**, char**)':
pdf_viewer/database.cpp:149:83: warning: unused parameter 'col_name' [-Wunused-parameter]
  149 | static int string_select_callback(void* res_vector, int argc, char** argv, char** col_name) {
      |                                                                            ~~~~~~~^~~~~~~~
pdf_viewer/database.cpp: In function 'int wstring_pair_select_callback(void*, int, char**, char**)':
pdf_viewer/database.cpp:160:89: warning: unused parameter 'col_name' [-Wunused-parameter]
  160 | static int wstring_pair_select_callback(void* res_vector, int argc, char** argv, char** col_name) {
      |                                                                                  ~~~~~~~^~~~~~~~
pdf_viewer/database.cpp: In function 'int highlight_select_callback(void*, int, char**, char**)':
pdf_viewer/database.cpp:172:86: warning: unused parameter 'col_name' [-Wunused-parameter]
  172 | static int highlight_select_callback(void* res_vector, int argc, char** argv, char** col_name) {
      |                                                                               ~~~~~~~^~~~~~~~
pdf_viewer/document.cpp: In member function 'float Document::get_page_height(int)':
pdf_viewer/document.cpp:360:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<float>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  360 |         if ((page_index >= 0) && (page_index < page_heights.size())) {
      |                                   ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
pdf_viewer/document.cpp: In member function 'float Document::get_page_width(int)':
pdf_viewer/document.cpp:369:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<float>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  369 |         if ((page_index >= 0) && (page_index < page_widths.size())) {
      |                                   ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
pdf_viewer/document.cpp: In member function 'float Document::get_accum_page_height(int)':
pdf_viewer/document.cpp:449:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<float>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  449 |         if (page_index < 0 || (page_index >= accum_page_heights.size())) {
      |                                ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pdf_viewer/database.cpp: In function 'int link_select_callback(void*, int, char**, char**)':
pdf_viewer/database.cpp:194:81: warning: unused parameter 'col_name' [-Wunused-parameter]
  194 | static int link_select_callback(void* res_vector, int argc, char** argv, char** col_name) {
      |                                                                          ~~~~~~~^~~~~~~~
In file included from pdf_viewer/utf8.h:31,
                 from pdf_viewer/utils.h:21,
                 from pdf_viewer/utils.cpp:6:
pdf_viewer/utf8/checked.h:268:34: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  268 |     class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                  ^~~~~~~~
In file included from /usr/include/c++/14.2.0/bits/stl_algobase.h:65,
                 from /usr/include/c++/14.2.0/bits/specfun.h:43,
                 from /usr/include/c++/14.2.0/cmath:3898,
                 from pdf_viewer/utils.cpp:4:
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from pdf_viewer/utf8.h:32:
pdf_viewer/utf8/unchecked.h:179:40: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  179 |           class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                        ^~~~~~~~
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
pdf_viewer/document.cpp: In member function 'fz_rect Document::get_page_absolute_rect(int)':
pdf_viewer/document.cpp:760:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<float>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  760 |         if (page >= page_widths.size()) {
      |             ~~~~~^~~~~~~~~~~~~~~~~~~~~
In file included from pdf_viewer/utf8.h:31,
                 from pdf_viewer/utils.h:21,
                 from pdf_viewer/path.h:5,
                 from pdf_viewer/path.cpp:2:
pdf_viewer/utf8/checked.h:268:34: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  268 |     class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                  ^~~~~~~~
In file included from /usr/include/c++/14.2.0/bits/stl_algobase.h:65,
                 from /usr/include/c++/14.2.0/algorithm:60,
                 from /usr/include/qt5/QtCore/qglobal.h:142,
                 from /usr/include/qt5/QtCore/qchar.h:43,
                 from /usr/include/qt5/QtCore/qstring.h:49,
                 from /usr/include/qt5/QtCore/qdir.h:43,
                 from pdf_viewer/path.cpp:1:
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from pdf_viewer/utf8.h:32:
pdf_viewer/utf8/unchecked.h:179:40: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  179 |           class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                        ^~~~~~~~
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
pdf_viewer/path.cpp: In member function 'std::string Path::get_path_utf8() const':
pdf_viewer/path.cpp:56:25: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
   56 |         return std::move(utf8_encode(get_path()));
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
pdf_viewer/path.cpp:56:25: note: remove 'std::move' call
pdf_viewer/document.cpp: In member function 'DocumentPos Document::absolute_to_page_pos(AbsoluteDocumentPos)':
pdf_viewer/document.cpp:906:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<float>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  906 |         if (i < accum_page_heights.size()) {
      |             ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
pdf_viewer/document.cpp: In member function 'std::optional<std::pair<std::__cxx11::basic_string<wchar_t>, std::__cxx11::basic_string<wchar_t> > > Document::get_generic_link_name_at_position(const std::vector<fz_stext_char*>&, float, float)':
pdf_viewer/document.cpp:1166:27: warning: unknown escape sequence: '\.'
 1166 |         std::wregex regex(L"[a-zA-Z]{3,}(\.){0,1}[ \t]+[0-9]+(\.[0-9]+)*");
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pdf_viewer/document.cpp:1166:27: warning: unknown escape sequence: '\.'
In file included from pdf_viewer/utf8.h:31,
                 from pdf_viewer/utils.h:21,
                 from pdf_viewer/input.h:12,
                 from pdf_viewer/input.cpp:10:
pdf_viewer/utf8/checked.h:268:34: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  268 |     class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                  ^~~~~~~~
In file included from /usr/include/c++/14.2.0/bits/stl_iterator_base_funcs.h:66,
                 from /usr/include/c++/14.2.0/string:47,
                 from /usr/include/c++/14.2.0/bits/locale_classes.h:40,
                 from /usr/include/c++/14.2.0/bits/ios_base.h:41,
                 from /usr/include/c++/14.2.0/ios:44,
                 from /usr/include/c++/14.2.0/ostream:40,
                 from /usr/include/c++/14.2.0/iostream:41,
                 from pdf_viewer/input.cpp:1:
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from pdf_viewer/utf8.h:32:
pdf_viewer/utf8/unchecked.h:179:40: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  179 |           class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                        ^~~~~~~~
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
pdf_viewer/utils.cpp: In function 'void install_app(const char*)':
pdf_viewer/utils.cpp:175:30: warning: unused parameter 'argv0' [-Wunused-parameter]
  175 | void install_app(const char *argv0)
      |                  ~~~~~~~~~~~~^~~~~
pdf_viewer/input.cpp: In constructor 'CommandManager::CommandManager(ConfigManager*)':
pdf_viewer/input.cpp:176:35: warning: missing initializer for member 'Command::special_symbols' [-Wmissing-field-initializers]
  176 |                 commands.push_back({ utf8_encode(command_name) , false, false, false, false, true});
      |                 ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pdf_viewer/input.cpp:180:35: warning: missing initializer for member 'Command::special_symbols' [-Wmissing-field-initializers]
  180 |                 commands.push_back({ utf8_encode(command_name) , false, false, false, false, true});
      |                 ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pdf_viewer/database.cpp: In member function 'void DatabaseManager::import_json(std::wstring, CachedChecksummer*)':
pdf_viewer/database.cpp:1102:43: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
 1102 |                 auto bookmarks = std::move(load_from_json_array<BookMark>(current_json_doc["bookmarks"].toArray()));
      |                                  ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pdf_viewer/database.cpp:1102:43: note: remove 'std::move' call
pdf_viewer/document.cpp: In member function 'float Document::document_to_absolute_y(int, float)':
pdf_viewer/document.cpp:1947:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<float>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
 1947 |         if ((page < accum_page_heights.size()) && (page >= 0)) {
      |              ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
pdf_viewer/document.cpp: In member function 'AbsoluteDocumentPos Document::document_to_absolute_pos(DocumentPos, bool)':
pdf_viewer/document.cpp:1956:41: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<float>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
 1956 |         if (center_mid && (doc_pos.page < page_widths.size())) {
      |                            ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
pdf_viewer/document.cpp: In member function 'const std::vector<fz_rect>& Document::get_page_lines(int, std::vector<std::__cxx11::basic_string<wchar_t> >*)':
pdf_viewer/document.cpp:2152:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<fz_rect>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
 2152 |                         for (int i = 0; i < line_rects.size(); i++) {
      |                                         ~~^~~~~~~~~~~~~~~~~~~
pdf_viewer/utils.cpp: In lambda function:
pdf_viewer/utils.cpp:845:94: warning: unused parameter 'error' [-Wunused-parameter]
  845 |         QObject::connect(process, &QProcess::errorOccurred, [process](QProcess::ProcessError error) {
      |                                                                       ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
pdf_viewer/utils.cpp: In lambda function:
pdf_viewer/utils.cpp:850:109: warning: unused parameter 'exit_code' [-Wunused-parameter]
  850 |         QObject::connect(process, qOverload<int, QProcess::ExitStatus >(&QProcess::finished), [process](int exit_code, QProcess::ExitStatus stat) {
      |                                                                                                         ~~~~^~~~~~~~~
pdf_viewer/utils.cpp:850:141: warning: unused parameter 'stat' [-Wunused-parameter]
  850 |         QObject::connect(process, qOverload<int, QProcess::ExitStatus >(&QProcess::finished), [process](int exit_code, QProcess::ExitStatus stat) {
      |                                                                                                                        ~~~~~~~~~~~~~~~~~~~~~^~~~
pdf_viewer/utils.cpp: In function 'void index_generic(const std::vector<fz_stext_char*>&, int, std::vector<IndexedData>&)':
pdf_viewer/utils.cpp:1059:37: warning: unknown escape sequence: '\.'
 1059 |         std::wregex index_dst_regex(L"(^|\n)[A-Z][a-zA-Z]{2,}[ \t]+[0-9]+(\.[0-9]+)*");
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pdf_viewer/utils.cpp: In function 'std::wstring get_canonical_path(const std::wstring&)':
pdf_viewer/utils.cpp:1617:25: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
 1617 |         return std::move(dir.absolutePath().toStdWString());
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pdf_viewer/utils.cpp:1617:25: note: remove 'std::move' call
pdf_viewer/utils.cpp: In function 'std::wstring lowercase(const std::wstring&)':
pdf_viewer/utils.cpp:1747:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<wchar_t>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
 1747 |         for (int i = 0; i < input.size(); i++) {
      |                         ~~^~~~~~~~~~~~~~
pdf_viewer/utils.cpp: In function 'std::wifstream open_wifstream(const std::wstring&)':
pdf_viewer/utils.cpp:1830:25: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
 1830 |         return std::move(std::wifstream(encoded_file_name.c_str()));
      |                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pdf_viewer/utils.cpp:1830:25: note: remove 'std::move' call
pdf_viewer/utils.cpp: In function 'float line_num_penalty(int)':
pdf_viewer/utils.cpp:1902:28: warning: unused parameter 'num' [-Wunused-parameter]
 1902 | float line_num_penalty(int num) {
      |                        ~~~~^~~
pdf_viewer/utils.cpp: In function 'bool command_requires_text(const std::wstring&)':
pdf_viewer/utils.cpp:2121:34: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<wchar_t>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
 2121 |         if ((command.find(L"%5") != -1) || (command.find(L"command_text") != -1)) {
      |              ~~~~~~~~~~~~~~~~~~~~^~~~~
pdf_viewer/utils.cpp:2121:75: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<wchar_t>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
 2121 |         if ((command.find(L"%5") != -1) || (command.find(L"command_text") != -1)) {
      |                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
pdf_viewer/utils.cpp: In function 'bool command_requires_rect(const std::wstring&)':
pdf_viewer/utils.cpp:2128:47: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<wchar_t>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
 2128 |         if (command.find(L"%{selected_rect}") != -1) {
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
pdf_viewer/utils.cpp: In function 'void flat_char_prism(std::vector<fz_stext_char*>, int, std::wstring&, std::vector<int>&, std::vector<fz_rect>&)':
pdf_viewer/utils.cpp:2174:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<fz_stext_char*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
 2174 |         for (int j = 0; j < chars.size(); j++) {
      |                         ~~^~~~~~~~~~~~~~
In file included from pdf_viewer/utf8.h:31,
                 from pdf_viewer/utils.h:21,
                 from pdf_viewer/pdf_renderer.cpp:2:
pdf_viewer/utf8/checked.h:268:34: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  268 |     class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                  ^~~~~~~~
In file included from /usr/include/c++/14.2.0/bits/stl_algobase.h:65,
                 from /usr/include/c++/14.2.0/vector:62,
                 from pdf_viewer/pdf_renderer.h:3,
                 from pdf_viewer/pdf_renderer.cpp:1:
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from pdf_viewer/utf8.h:32:
pdf_viewer/utf8/unchecked.h:179:40: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  179 |           class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                        ^~~~~~~~
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from pdf_viewer/utf8.h:31,
                 from pdf_viewer/utils.h:21,
                 from pdf_viewer/input.h:12,
                 from pdf_viewer/main_widget.cpp:38:
pdf_viewer/utf8/checked.h:268:34: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  268 |     class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                  ^~~~~~~~
In file included from /usr/include/c++/14.2.0/bits/stl_iterator_base_funcs.h:66,
                 from /usr/include/c++/14.2.0/string:47,
                 from /usr/include/c++/14.2.0/bits/locale_classes.h:40,
                 from /usr/include/c++/14.2.0/bits/ios_base.h:41,
                 from /usr/include/c++/14.2.0/ios:44,
                 from /usr/include/c++/14.2.0/ostream:40,
                 from /usr/include/c++/14.2.0/iostream:41,
                 from pdf_viewer/main_widget.cpp:2:
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from pdf_viewer/utf8.h:32:
pdf_viewer/utf8/unchecked.h:179:40: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  179 |           class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                        ^~~~~~~~
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from pdf_viewer/utf8.h:31,
                 from pdf_viewer/utils.h:21,
                 from pdf_viewer/database.h:9,
                 from pdf_viewer/document.h:22,
                 from pdf_viewer/document_view.h:22,
                 from pdf_viewer/main_widget.h:17,
                 from pdf_viewer/new_file_checker.h:3,
                 from pdf_viewer/new_file_checker.cpp:1:
pdf_viewer/utf8/checked.h:268:34: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  268 |     class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                  ^~~~~~~~
In file included from /usr/include/c++/14.2.0/bits/stl_iterator_base_funcs.h:66,
                 from /usr/include/c++/14.2.0/string:47,
                 from pdf_viewer/main_widget.h:3:
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from pdf_viewer/utf8.h:32:
pdf_viewer/utf8/unchecked.h:179:40: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  179 |           class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                        ^~~~~~~~
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
pdf_viewer/sqlite3.c: In function 'sqlite3DefaultRowEst':
In file included from pdf_viewer/utf8.h:31,
                 from pdf_viewer/utils.h:21,
                 from pdf_viewer/input.h:12,
                 from pdf_viewer/main.cpp:53:
pdf_viewer/utf8/checked.h:268:34: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  268 |     class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                  ^~~~~~~~
In file included from /usr/include/c++/14.2.0/bits/stl_iterator_base_funcs.h:66,
                 from /usr/include/c++/14.2.0/string:47,
                 from /usr/include/c++/14.2.0/bits/locale_classes.h:40,
                 from /usr/include/c++/14.2.0/bits/ios_base.h:41,
                 from /usr/include/c++/14.2.0/ios:44,
                 from /usr/include/c++/14.2.0/ostream:40,
                 from /usr/include/c++/14.2.0/iostream:41,
                 from pdf_viewer/main.cpp:1:
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from pdf_viewer/utf8.h:32:
pdf_viewer/utf8/unchecked.h:179:40: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  179 |           class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                        ^~~~~~~~
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
pdf_viewer/sqlite3.c:113122:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
113122 |   if( pIdx->pPartIdxWhere!=0 ) a[0] -= 10;  assert( 10==sqlite3LogEst(2) );
       |   ^~
In file included from pdf_viewer/utf8.h:31,
                 from pdf_viewer/utils.h:21,
                 from pdf_viewer/database.h:9,
                 from pdf_viewer/document.h:22,
                 from pdf_viewer/document_view.h:22,
                 from pdf_viewer/document_view.cpp:1:
pdf_viewer/utf8/checked.h:268:34: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  268 |     class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                  ^~~~~~~~
In file included from /usr/include/c++/14.2.0/bits/stl_algobase.h:65,
                 from /usr/include/c++/14.2.0/vector:62,
                 from pdf_viewer/document_view.h:3:
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from pdf_viewer/utf8.h:32:
pdf_viewer/utf8/unchecked.h:179:40: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  179 |           class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                        ^~~~~~~~
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from pdf_viewer/sqlite3.c:14015:
pdf_viewer/sqlite3.c:113122:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
113122 |   if( pIdx->pPartIdxWhere!=0 ) a[0] -= 10;  assert( 10==sqlite3LogEst(2) );
       |                                             ^~~~~~
pdf_viewer/sqlite3.c:113123:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
113123 |   if( a[0]<33 ) a[0] = 33;                  assert( 33==sqlite3LogEst(10) );
       |   ^~
pdf_viewer/sqlite3.c:113123:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
113123 |   if( a[0]<33 ) a[0] = 33;                  assert( 33==sqlite3LogEst(10) );
       |                                             ^~~~~~
In file included from pdf_viewer/utf8.h:31,
                 from pdf_viewer/utils.h:21,
                 from pdf_viewer/ui.h:39,
                 from pdf_viewer/ui.cpp:1:
pdf_viewer/utf8/checked.h:268:34: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  268 |     class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                  ^~~~~~~~
In file included from /usr/include/c++/14.2.0/bits/stl_iterator_base_funcs.h:66,
                 from /usr/include/c++/14.2.0/string:47,
                 from pdf_viewer/ui.h:2:
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from pdf_viewer/utf8.h:32:
pdf_viewer/utf8/unchecked.h:179:40: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  179 |           class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                        ^~~~~~~~
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
pdf_viewer/sqlite3.c: In function 'printfFunc':
pdf_viewer/sqlite3.c:14483:27: warning: cast between incompatible function types from 'int (*)(void *)' to 'void (*)(void *)' [-Wcast-function-type]
14483 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
      |                           ^
pdf_viewer/sqlite3.c:115925:25: note: in expansion of macro 'SQLITE_DYNAMIC'
115925 |                         SQLITE_DYNAMIC);
       |                         ^~~~~~~~~~~~~~
pdf_viewer/database.cpp: At global scope:
pdf_viewer/database.cpp:149:12: warning: 'int string_select_callback(void*, int, char**, char**)' defined but not used [-Wunused-function]
  149 | static int string_select_callback(void* res_vector, int argc, char** argv, char** col_name) {
      |            ^~~~~~~~~~~~~~~~~~~~~~
In file included from pdf_viewer/utf8.h:31,
                 from pdf_viewer/utils.h:21,
                 from pdf_viewer/database.h:9,
                 from pdf_viewer/document.h:22,
                 from pdf_viewer/document_view.h:22,
                 from pdf_viewer/pdf_view_opengl_widget.h:40,
                 from pdf_viewer/pdf_view_opengl_widget.cpp:1:
pdf_viewer/utf8/checked.h:268:34: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  268 |     class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                  ^~~~~~~~
In file included from /usr/include/c++/14.2.0/bits/stl_iterator_base_funcs.h:66,
                 from /usr/include/c++/14.2.0/string:47,
                 from /usr/include/c++/14.2.0/bits/locale_classes.h:40,
                 from /usr/include/c++/14.2.0/bits/ios_base.h:41,
                 from /usr/include/c++/14.2.0/ios:44,
                 from /usr/include/c++/14.2.0/ostream:40,
                 from /usr/include/c++/14.2.0/iostream:41,
                 from pdf_viewer/pdf_view_opengl_widget.h:3:
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from pdf_viewer/utf8.h:32:
pdf_viewer/utf8/unchecked.h:179:40: warning: 'template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator' is deprecated [-Wdeprecated-declarations]
  179 |           class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
      |                                        ^~~~~~~~
/usr/include/c++/14.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
pdf_viewer/main.cpp: In function 'void focus_on_widget(QWidget*)':
pdf_viewer/main.cpp:657:54: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
  657 |         widget->setWindowState(widget->windowState() & ~Qt::WindowMinimized | Qt::WindowActive);
      |                                ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
pdf_viewer/main.cpp: In function 'int main(int, char**)':
pdf_viewer/main.cpp:695:14: warning: variable 'use_single_instance' set but not used [-Wunused-but-set-variable]
  695 |         bool use_single_instance = (!SHOULD_LAUNCH_NEW_INSTANCE) && (!SHOULD_LAUNCH_NEW_WINDOW);
      |              ^~~~~~~~~~~~~~~~~~~
pdf_viewer/main_widget.cpp: In member function 'void MainWidget::set_overview_position(int, float)':
pdf_viewer/main_widget.cpp:165:23: warning: unused variable 'page_height' [-Wunused-variable]
  165 |                 float page_height = main_document_view->get_document()->get_page_height(page);
      |                       ^~~~~~~~~~~
pdf_viewer/main_widget.cpp: In member function 'virtual void MainWidget::closeEvent(QCloseEvent*)':
pdf_viewer/main_widget.cpp:311:42: warning: unused parameter 'close_event' [-Wunused-parameter]
  311 | void MainWidget::closeEvent(QCloseEvent* close_event) {
      |                             ~~~~~~~~~~~~~^~~~~~~~~~~
In file included from pdf_viewer/main_widget.cpp:52:
pdf_viewer/main_widget.h: In constructor 'MainWidget::MainWidget(fz_context*, DatabaseManager*, DocumentManager*, ConfigManager*, CommandManager*, InputHandler*, CachedChecksummer*, bool*, QWidget*)':
pdf_viewer/main_widget.h:63:15: warning: 'MainWidget::should_quit' will be initialized after [-Wreorder]
   63 |         bool* should_quit = nullptr;
      |               ^~~~~~~~~~~
pdf_viewer/main_widget.h:38:25: warning:   'CommandManager* MainWidget::command_manager' [-Wreorder]
   38 |         CommandManager* command_manager = nullptr;
      |                         ^~~~~~~~~~~~~~~
pdf_viewer/main_widget.cpp:319:1: warning:   when initialized here [-Wreorder]
  319 | MainWidget::MainWidget(fz_context* mupdf_context,
      | ^~~~~~~~~~
pdf_viewer/main_widget.cpp: In lambda function:
pdf_viewer/main_widget.cpp:474:78: warning: unused parameter 'action' [-Wunused-parameter]
  474 |     scroll_bar->connect(scroll_bar, &QScrollBar::actionTriggered, [this](int action) {
      |                                                                          ~~~~^~~~~~
pdf_viewer/main_widget.cpp: In member function 'std::wstring MainWidget::get_status_string()':
pdf_viewer/main_widget.cpp:627:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<wchar_t>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  627 |         if (index == location_string.size()) {
      |             ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget<T, ViewType, ProxyModelType>::on_text_change(const QString&) [with T = std::__cxx11::basic_string<char>; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:111:9:   required from 'BaseSelectorWidget<T, ViewType, ProxyModelType>::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string<char>; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]'
  111 |                         if (!on_text_change(text)) {
      |                              ^~~~~~~~~~~~~~
pdf_viewer/ui.h:569:32:   required from here
  569 |                 on_done(on_done)
      |                                ^
pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter]
  141 |         virtual bool on_text_change(const QString& text) {
      |                                     ~~~~~~~~~~~~~~~^~~~
pdf_viewer/main_widget.cpp: In member function 'virtual void MainWidget::on_config_file_changed(ConfigManager*)':
pdf_viewer/main_widget.cpp:845:56: warning: unused parameter 'new_config' [-Wunused-parameter]
  845 | void MainWidget::on_config_file_changed(ConfigManager* new_config) {
      |                                         ~~~~~~~~~~~~~~~^~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget<T, ViewType, ProxyModelType>::on_text_change(const QString&) [with T = std::__cxx11::basic_string<wchar_t>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:111:9:   required from 'BaseSelectorWidget<T, ViewType, ProxyModelType>::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string<wchar_t>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]'
  111 |                         if (!on_text_change(text)) {
      |                              ^~~~~~~~~~~~~~
pdf_viewer/ui.h:643:18:   required from here
  643 |                 on_done(on_done)
      |                                ^
pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter]
  141 |         virtual bool on_text_change(const QString& text) {
      |                                     ~~~~~~~~~~~~~~~^~~~
pdf_viewer/new_file_checker.cpp: In lambda function:
pdf_viewer/new_file_checker.cpp:80:128: warning: unused parameter 'path' [-Wunused-parameter]
   80 |                 QObject::connect(&paper_folder_watcher, &QFileSystemWatcher::directoryChanged, [&, main_widget](const QString& path) {
      |                                                                                                                 ~~~~~~~~~~~~~~~^~~~
pdf_viewer/main_widget.cpp: In member function 'void MainWidget::next_state()':
pdf_viewer/main_widget.cpp:1535:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<DocumentViewState>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
 1535 |         if (current_history_index + 1 < history.size()) {
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
pdf_viewer/main_widget.cpp: In member function 'void MainWidget::prev_state()':
pdf_viewer/main_widget.cpp:1570:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<DocumentViewState>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
 1570 |         if (current_history_index == (history.size() - 1)) {
      |             ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
pdf_viewer/main_widget.cpp: In member function 'void MainWidget::update_current_history_index()':
pdf_viewer/main_widget.cpp:1588:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<DocumentViewState>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
 1588 |         if (index_to_update < history.size()-1) {
      |             ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pdf_viewer/main_widget.cpp: In member function 'virtual void MainWidget::wheelEvent(QWheelEvent*)':
pdf_viewer/main_widget.cpp:1806:24: warning: 'QPoint QWheelEvent::pos() const' is deprecated: Use position() [-Wdeprecated-declarations]
 1806 |     int x = wevent->pos().x();
      |             ~~~~~~~~~~~^~
In file included from /usr/include/qt5/QtGui/QKeyEvent:1,
                 from /usr/include/qt5/Qt3DInput/qkeyevent.h:45,
                 from pdf_viewer/main_widget.cpp:19:
/usr/include/qt5/QtGui/qevent.h:225:19: note: declared here
  225 |     inline QPoint pos() const { return p.toPoint(); }
      |                   ^~~
pdf_viewer/main_widget.cpp:1807:24: warning: 'QPoint QWheelEvent::pos() const' is deprecated: Use position() [-Wdeprecated-declarations]
 1807 |     int y = wevent->pos().y();
      |             ~~~~~~~~~~~^~
/usr/include/qt5/QtGui/qevent.h:225:19: note: declared here
  225 |     inline QPoint pos() const { return p.toPoint(); }
      |                   ^~~
pdf_viewer/main_widget.cpp:1811:44: warning: 'int QWheelEvent::delta() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations]
 1811 |         int num_repeats = abs(wevent->delta() / 120);
      |                               ~~~~~~~~~~~~~^~
/usr/include/qt5/QtGui/qevent.h:219:16: note: declared here
  219 |     inline int delta() const  { return qt4D; }
      |                ^~~~~
pdf_viewer/main_widget.cpp:1812:48: warning: 'int QWheelEvent::delta() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations]
 1812 |         float num_repeats_f = abs(wevent->delta() / 120.0);
      |                                   ~~~~~~~~~~~~~^~
/usr/include/qt5/QtGui/qevent.h:219:16: note: declared here
  219 |     inline int delta() const  { return qt4D; }
      |                ^~~~~
pdf_viewer/document_view.cpp: In member function 'std::optional<BookMark> DocumentView::find_closest_bookmark()':
pdf_viewer/document_view.cpp:149:62: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<BookMark>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  149 |                 if ((bookmark_index >= 0) && (bookmark_index < bookmarks.size())) {
      |                                               ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
pdf_viewer/document_view.cpp: In member function 'int DocumentView::get_line_index_of_pos(DocumentPos)':
pdf_viewer/document_view.cpp:1068:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<fz_rect>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
 1068 |         for (int i = 0; i < rects.size(); i++) {
      |                         ~~^~~~~~~~~~~~~~
pdf_viewer/document_view.cpp:1071:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<fz_rect>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
 1071 |         for (int i = 0; i < rects.size(); i++) {
      |                         ~~^~~~~~~~~~~~~~
pdf_viewer/document_view.cpp:1066:13: warning: unused variable 'page_width' [-Wunused-variable]
 1066 |         int page_width = current_document->get_page_width(line_doc_pos.page);
      |             ^~~~~~~~~~
pdf_viewer/document_view.cpp: In member function 'std::vector<DocumentPos> DocumentView::find_line_definitions()':
pdf_viewer/document_view.cpp:1110:49: warning: unknown escape sequence: '\.'
 1110 |                         std::wstring item_regex(L"[a-zA-Z]{2,}[ \t]+[0-9]+(\.[0-9]+)*");
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from pdf_viewer/main.cpp:57:
pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget<T, ViewType, ProxyModelType>::on_text_change(const QString&) [with T = std::__cxx11::basic_string<char>; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:111:9:   required from 'BaseSelectorWidget<T, ViewType, ProxyModelType>::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string<char>; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]'
  111 |                         if (!on_text_change(text)) {
      |                              ^~~~~~~~~~~~~~
pdf_viewer/ui.h:569:32:   required from here
  569 |                 on_done(on_done)
      |                                ^
pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter]
  141 |         virtual bool on_text_change(const QString& text) {
      |                                     ~~~~~~~~~~~~~~~^~~~
pdf_viewer/document_view.cpp:1159:49: warning: comparison of integer expressions of different signedness: 'std::vector<DocumentPos>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
 1159 |                                 if (vec->size() > max_size) {
      |                                     ~~~~~~~~~~~~^~~~~~~~~~
pdf_viewer/document_view.cpp:1166:47: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<DocumentPos>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
 1166 |                                         if (i < vec->size()) {
      |                                             ~~^~~~~~~~~~~~~
pdf_viewer/document_view.cpp:1155:29: warning: unused variable 'index' [-Wunused-variable]
 1155 |                         int index = 0;
      |                             ^~~~~
pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget<T, ViewType, ProxyModelType>::on_text_change(const QString&) [with T = std::__cxx11::basic_string<wchar_t>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:111:9:   required from 'BaseSelectorWidget<T, ViewType, ProxyModelType>::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string<wchar_t>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]'
  111 |                         if (!on_text_change(text)) {
      |                              ^~~~~~~~~~~~~~
pdf_viewer/ui.h:643:18:   required from here
  643 |                 on_done(on_done)
      |                                ^
pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter]
  141 |         virtual bool on_text_change(const QString& text) {
      |                                     ~~~~~~~~~~~~~~~^~~~
pdf_viewer/main_widget.cpp: In member function 'void MainWidget::handle_command(const Command*, int)':
pdf_viewer/main_widget.cpp:2368:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<MainWidget*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
 2368 |         for (int i = 0; i < windows.size(); i++) {
      |                         ~~^~~~~~~~~~~~~~~~
pdf_viewer/main_widget.cpp: In lambda function:
pdf_viewer/main_widget.cpp:2375:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<MainWidget*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
 2375 |                                 if (*window_id < windows.size()) {
      |                                     ~~~~~~~~~~~^~~~~~~~~~~~~~~~
pdf_viewer/pdf_view_opengl_widget.cpp: In member function 'void PdfViewOpenGLWidget::render_overview(OverviewState)':
pdf_viewer/pdf_view_opengl_widget.cpp:567:17: warning: variable 'page_rect' set but not used [-Wunused-but-set-variable]
  567 |         fz_rect page_rect;
      |                 ^~~~~~~~~
pdf_viewer/pdf_view_opengl_widget.cpp: In member function 'void PdfViewOpenGLWidget::render(QPainter*)':
pdf_viewer/pdf_view_opengl_widget.cpp:747:32: warning: unused variable 'texture' [-Wunused-variable]
  747 |                         GLuint texture = pdf_renderer->find_rendered_page(document_view->get_document()->get_path(),
      |                                ^~~~~~~
pdf_viewer/pdf_view_opengl_widget.cpp:943:45: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, fz_link*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  943 |                         for (int j = i+1; j < all_visible_links.size(); j++) {
      |                                           ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
pdf_viewer/pdf_view_opengl_widget.cpp: In member function 'void PdfViewOpenGLWidget::draw_empty_helper_message(QPainter*)':
pdf_viewer/pdf_view_opengl_widget.cpp:1232:37: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
 1232 |         int message_width = fm.width(message);
      |                             ~~~~~~~~^~~~~~~~~
In file included from /usr/include/qt5/QtWidgets/qwidget.h:50,
                 from /usr/include/qt5/QtWidgets/qabstractbutton.h:46,
                 from /usr/include/qt5/QtWidgets/qpushbutton.h:44,
                 from pdf_viewer/pdf_view_opengl_widget.h:16:
/usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here
  106 |     int width(const QString &, int len = -1) const;
      |         ^~~~~
In file included from pdf_viewer/document_view.h:25:
pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget<T, ViewType, ProxyModelType>::on_text_change(const QString&) [with T = std::__cxx11::basic_string<char>; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:111:9:   required from 'BaseSelectorWidget<T, ViewType, ProxyModelType>::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string<char>; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]'
  111 |                         if (!on_text_change(text)) {
      |                              ^~~~~~~~~~~~~~
pdf_viewer/ui.h:569:32:   required from here
  569 |                 on_done(on_done)
      |                                ^
pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter]
  141 |         virtual bool on_text_change(const QString& text) {
      |                                     ~~~~~~~~~~~~~~~^~~~
pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget<T, ViewType, ProxyModelType>::on_text_change(const QString&) [with T = std::__cxx11::basic_string<wchar_t>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:111:9:   required from 'BaseSelectorWidget<T, ViewType, ProxyModelType>::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string<wchar_t>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]'
  111 |                         if (!on_text_change(text)) {
      |                              ^~~~~~~~~~~~~~
pdf_viewer/ui.h:643:18:   required from here
  643 |                 on_done(on_done)
      |                                ^
pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter]
  141 |         virtual bool on_text_change(const QString& text) {
      |                                     ~~~~~~~~~~~~~~~^~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string<wchar_t>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:132:15:   required from here
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                      ^~~~~~~~~
pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                                                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string<wchar_t>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:134:15:   required from here
  134 |         virtual void on_return_no_select(const QString& text) {
      |                      ^~~~~~~~~~~~~~~~~~~
pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter]
  134 |         virtual void on_return_no_select(const QString& text) {
      |                                          ~~~~~~~~~~~~~~~^~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string<char>; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:132:15:   required from here
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                      ^~~~~~~~~
pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                                                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string<char>; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:134:15:   required from here
  134 |         virtual void on_return_no_select(const QString& text) {
      |                      ^~~~~~~~~~~~~~~~~~~
pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter]
  134 |         virtual void on_return_no_select(const QString& text) {
      |                                          ~~~~~~~~~~~~~~~^~~~
pdf_viewer/main_widget.cpp: In member function 'void MainWidget::execute_command(std::wstring, std::wstring, bool)':
pdf_viewer/main_widget.cpp:3404:14: warning: ignoring return value of 'QString QString::arg(const QString&, int, QChar) const', declared with attribute 'nodiscard' [-Wunused-result]
 3404 |     qtext.arg(qfile_path);
      |     ~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/qobject.h:47,
                 from /usr/include/qt5/QtWidgets/qwidget.h:45,
                 from /usr/include/qt5/QtWidgets/qframe.h:44,
                 from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44,
                 from /usr/include/qt5/QtWidgets/qscrollarea.h:44,
                 from pdf_viewer/main_widget.cpp:13:
/usr/include/qt5/QtCore/qstring.h:336:31: note: declared here
  336 |     Q_REQUIRED_RESULT QString arg(const QString &a, int fieldWidth = 0,
      |                               ^~~
pdf_viewer/main_widget.cpp:3406:72: warning: 'QString::SkipEmptyParts' is deprecated [-Wdeprecated-declarations]
 3406 |     QStringList command_parts_ = qtext.split(QRegExp("\\s+"), QString::SkipEmptyParts);
      |                                                                        ^~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:605:9: note: declared here
  605 |         SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED
      |         ^~~~~~~~~~~~~~
pdf_viewer/main_widget.cpp:3406:72: warning: 'QString::SkipEmptyParts' is deprecated [-Wdeprecated-declarations]
 3406 |     QStringList command_parts_ = qtext.split(QRegExp("\\s+"), QString::SkipEmptyParts);
      |                                                                        ^~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:605:9: note: declared here
  605 |         SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED
      |         ^~~~~~~~~~~~~~
pdf_viewer/main_widget.cpp:3406:45: warning: 'QStringList QString::split(const QRegExp&, SplitBehavior) const' is deprecated: Use split(const QRegularExpression &, Qt::SplitBehavior) variant instead [-Wdeprecated-declarations]
 3406 |     QStringList command_parts_ = qtext.split(QRegExp("\\s+"), QString::SkipEmptyParts);
      |                                  ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:622:17: note: declared here
  622 |     QStringList split(const QRegExp &sep, SplitBehavior behavior) const;
      |                 ^~~~~
pdf_viewer/main_widget.cpp: In member function 'void MainWidget::get_window_params_for_one_window_mode(int*, int*)':
pdf_viewer/main_widget.cpp:3586:67: warning: 'const QRect QDesktopWidget::screenGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations]
 3586 |         int window_width = QApplication::desktop()->screenGeometry(0).width();
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from pdf_viewer/main_widget.cpp:18:
/usr/include/qt5/QtWidgets/qdesktopwidget.h:79:67: note: declared here
   79 |     QT_DEPRECATED_X("Use QGuiApplication::screens()") const QRect screenGeometry(int screen = -1) const;
      |                                                                   ^~~~~~~~~~~~~~
pdf_viewer/main_widget.cpp:3587:68: warning: 'const QRect QDesktopWidget::screenGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations]
 3587 |         int window_height = QApplication::desktop()->screenGeometry(0).height();
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/qt5/QtWidgets/qdesktopwidget.h:79:67: note: declared here
   79 |     QT_DEPRECATED_X("Use QGuiApplication::screens()") const QRect screenGeometry(int screen = -1) const;
      |                                                                   ^~~~~~~~~~~~~~
pdf_viewer/main_widget.cpp: In member function 'void MainWidget::get_window_params_for_two_window_mode(int*, int*, int*, int*)':
pdf_viewer/main_widget.cpp:3606:62: warning: 'int QDesktopWidget::numScreens() const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations]
 3606 |         int num_screens = QApplication::desktop()->numScreens();
      |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtWidgets/qdesktopwidget.h:71:59: note: declared here
   71 |     QT_DEPRECATED_X("Use QGuiApplication::screens()") int numScreens() const;
      |                                                           ^~~~~~~~~~
pdf_viewer/main_widget.cpp:3610:78: warning: 'const QRect QDesktopWidget::screenGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations]
 3610 |             int second_window_width = QApplication::desktop()->screenGeometry(1).width();
      |                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/qt5/QtWidgets/qdesktopwidget.h:79:67: note: declared here
   79 |     QT_DEPRECATED_X("Use QGuiApplication::screens()") const QRect screenGeometry(int screen = -1) const;
      |                                                                   ^~~~~~~~~~~~~~
pdf_viewer/main_widget.cpp:3611:79: warning: 'const QRect QDesktopWidget::screenGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations]
 3611 |             int second_window_height = QApplication::desktop()->screenGeometry(1).height();
      |                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/qt5/QtWidgets/qdesktopwidget.h:79:67: note: declared here
   79 |     QT_DEPRECATED_X("Use QGuiApplication::screens()") const QRect screenGeometry(int screen = -1) const;
      |                                                                   ^~~~~~~~~~~~~~
In file included from pdf_viewer/ui.h:36:
pdf_viewer/fts_fuzzy_match.h:59:17: warning: 'bool fts::fuzzy_match_simple(const char*, const char*)' defined but not used [-Wunused-function]
   59 |     static bool fuzzy_match_simple(char const * pattern, char const * str) {
      |                 ^~~~~~~~~~~~~~~~~~
pdf_viewer/main_widget.cpp: In member function 'std::optional<fz_rect> MainWidget::get_tag_rect(std::string, std::vector<fz_rect>*)':
pdf_viewer/main_widget.cpp:3809:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<fz_rect>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
 3809 |     if (index < word_rects.size()) {
      |         ~~~~~~^~~~~~~~~~~~~~~~~~~
In file included from pdf_viewer/document_view.h:25:
pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget<T, ViewType, ProxyModelType>::on_text_change(const QString&) [with T = std::__cxx11::basic_string<char>; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:111:9:   required from 'BaseSelectorWidget<T, ViewType, ProxyModelType>::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string<char>; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]'
  111 |                         if (!on_text_change(text)) {
      |                              ^~~~~~~~~~~~~~
pdf_viewer/ui.h:569:32:   required from here
  569 |                 on_done(on_done)
      |                                ^
pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter]
  141 |         virtual bool on_text_change(const QString& text) {
      |                                     ~~~~~~~~~~~~~~~^~~~
pdf_viewer/main_widget.cpp: In member function 'virtual void MainWidget::focusInEvent(QFocusEvent*)':
pdf_viewer/main_widget.cpp:4015:44: warning: unused parameter 'ev' [-Wunused-parameter]
 4015 | void MainWidget::focusInEvent(QFocusEvent* ev) {
      |                               ~~~~~~~~~~~~~^~
pdf_viewer/main_widget.cpp: In member function 'void MainWidget::focus_text(int, const std::wstring&)':
pdf_viewer/main_widget.cpp:4088:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<wchar_t> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
 4088 |     for (int i = 0; i < line_texts.size(); i++) {
      |                     ~~^~~~~~~~~~~~~~~~~~~
pdf_viewer/main_widget.cpp:4098:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<fz_rect>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
 4098 |     if (max_index < line_rects.size()) {
      |         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget<T, ViewType, ProxyModelType>::on_text_change(const QString&) [with T = std::__cxx11::basic_string<wchar_t>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:111:9:   required from 'BaseSelectorWidget<T, ViewType, ProxyModelType>::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string<wchar_t>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]'
  111 |                         if (!on_text_change(text)) {
      |                              ^~~~~~~~~~~~~~
pdf_viewer/ui.h:643:18:   required from here
  643 |                 on_done(on_done)
      |                                ^
pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter]
  141 |         virtual bool on_text_change(const QString& text) {
      |                                     ~~~~~~~~~~~~~~~^~~~
pdf_viewer/main_widget.cpp: In member function 'int MainWidget::get_current_monitor_width()':
pdf_viewer/main_widget.cpp:4113:63: warning: 'const QRect QDesktopWidget::screenGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations]
 4113 |                 return QApplication::desktop()->screenGeometry(0).width();
      |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/qt5/QtWidgets/qdesktopwidget.h:79:67: note: declared here
   79 |     QT_DEPRECATED_X("Use QGuiApplication::screens()") const QRect screenGeometry(int screen = -1) const;
      |                                                                   ^~~~~~~~~~~~~~
pdf_viewer/main_widget.cpp: In member function 'int MainWidget::get_current_monitor_height()':
pdf_viewer/main_widget.cpp:4122:63: warning: 'const QRect QDesktopWidget::screenGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations]
 4122 |                 return QApplication::desktop()->screenGeometry(0).height();
      |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/qt5/QtWidgets/qdesktopwidget.h:79:67: note: declared here
   79 |     QT_DEPRECATED_X("Use QGuiApplication::screens()") const QRect screenGeometry(int screen = -1) const;
      |                                                                   ^~~~~~~~~~~~~~
pdf_viewer/main_widget.cpp: In member function 'void MainWidget::synctex_under_pos(WindowPos)':
pdf_viewer/main_widget.cpp:4176:56: warning: 'static bool QProcess::startDetached(const QString&)' is deprecated: Use QProcess::startDetached(const QString &program, const QStringList &arguments) instead [-Wdeprecated-declarations]
 4176 |                                 QProcess::startDetached(command);
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from pdf_viewer/main_widget.cpp:32:
/usr/include/qt5/QtCore/qprocess.h:280:17: note: declared here
  280 |     static bool startDetached(const QString &command);
      |                 ^~~~~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string<wchar_t>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:132:15:   required from here
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                      ^~~~~~~~~
pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                                                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string<wchar_t>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:134:15:   required from here
  134 |         virtual void on_return_no_select(const QString& text) {
      |                      ^~~~~~~~~~~~~~~~~~~
pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter]
  134 |         virtual void on_return_no_select(const QString& text) {
      |                                          ~~~~~~~~~~~~~~~^~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string<char>; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:132:15:   required from here
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                      ^~~~~~~~~
pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                                                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string<char>; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:134:15:   required from here
  134 |         virtual void on_return_no_select(const QString& text) {
      |                      ^~~~~~~~~~~~~~~~~~~
pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter]
  134 |         virtual void on_return_no_select(const QString& text) {
      |                                          ~~~~~~~~~~~~~~~^~~~
pdf_viewer/main_widget.cpp: In member function 'void MainWidget::handle_keyboard_select(const std::wstring&)':
pdf_viewer/main_widget.cpp:4306:21: warning: unused variable 'w' [-Wunused-variable]
 4306 |                 int w = erect.x1 - erect.x0;
      |                     ^
pdf_viewer/main_widget.cpp:4302:37: warning: variable 'srect_' set but not used [-Wunused-but-set-variable]
 4302 |             std::optional<fz_irect> srect_ = get_tag_window_rect(parts.at(0).toStdString(), &schar_rects);
      |                                     ^~~~~~
In file included from pdf_viewer/ui.h:36:
pdf_viewer/fts_fuzzy_match.h: At global scope:
pdf_viewer/fts_fuzzy_match.h:59:17: warning: 'bool fts::fuzzy_match_simple(const char*, const char*)' defined but not used [-Wunused-function]
   59 |     static bool fuzzy_match_simple(char const * pattern, char const * str) {
      |                 ^~~~~~~~~~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string<wchar_t>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:132:15:   required from here
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                      ^~~~~~~~~
pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                                                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string<wchar_t>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:134:15:   required from here
  134 |         virtual void on_return_no_select(const QString& text) {
      |                      ^~~~~~~~~~~~~~~~~~~
pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter]
  134 |         virtual void on_return_no_select(const QString& text) {
      |                                          ~~~~~~~~~~~~~~~^~~~
pdf_viewer/sqlite3.c: In function 'generateColumnNames':
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string<char>; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:132:15:   required from here
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                      ^~~~~~~~~
pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                                                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string<char>; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:134:15:   required from here
  134 |         virtual void on_return_no_select(const QString& text) {
      |                      ^~~~~~~~~~~~~~~~~~~
pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter]
  134 |         virtual void on_return_no_select(const QString& text) {
      |                                          ~~~~~~~~~~~~~~~^~~~
pdf_viewer/sqlite3.c:14483:27: warning: cast between incompatible function types from 'int (*)(void *)' to 'void (*)(void *)' [-Wcast-function-type]
14483 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
      |                           ^
pdf_viewer/sqlite3.c:129782:58: note: in expansion of macro 'SQLITE_DYNAMIC'
129782 |         sqlite3VdbeSetColName(v, i, COLNAME_NAME, zName, SQLITE_DYNAMIC);
       |                                                          ^~~~~~~~~~~~~~
In file included from pdf_viewer/document_view.h:25:
pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget<T, ViewType, ProxyModelType>::on_text_change(const QString&) [with T = std::__cxx11::basic_string<char>; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:111:9:   required from 'BaseSelectorWidget<T, ViewType, ProxyModelType>::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string<char>; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]'
  111 |                         if (!on_text_change(text)) {
      |                              ^~~~~~~~~~~~~~
pdf_viewer/ui.h:569:32:   required from here
  569 |                 on_done(on_done)
      |                                ^
pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter]
  141 |         virtual bool on_text_change(const QString& text) {
      |                                     ~~~~~~~~~~~~~~~^~~~
pdf_viewer/sqlite3.c:14483:27: warning: cast between incompatible function types from 'int (*)(void *)' to 'void (*)(void *)' [-Wcast-function-type]
14483 | #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
      |                           ^
pdf_viewer/sqlite3.c:129789:52: note: in expansion of macro 'SQLITE_DYNAMIC'
129789 |       sqlite3VdbeSetColName(v, i, COLNAME_NAME, z, SQLITE_DYNAMIC);
       |                                                    ^~~~~~~~~~~~~~
In file included from pdf_viewer/ui.h:36:
pdf_viewer/fts_fuzzy_match.h: At global scope:
pdf_viewer/fts_fuzzy_match.h:59:17: warning: 'bool fts::fuzzy_match_simple(const char*, const char*)' defined but not used [-Wunused-function]
   59 |     static bool fuzzy_match_simple(char const * pattern, char const * str) {
      |                 ^~~~~~~~~~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget<T, ViewType, ProxyModelType>::on_text_change(const QString&) [with T = std::__cxx11::basic_string<wchar_t>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:111:9:   required from 'BaseSelectorWidget<T, ViewType, ProxyModelType>::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string<wchar_t>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]'
  111 |                         if (!on_text_change(text)) {
      |                              ^~~~~~~~~~~~~~
pdf_viewer/ui.h:643:18:   required from here
  643 |                 on_done(on_done)
      |                                ^
pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter]
  141 |         virtual bool on_text_change(const QString& text) {
      |                                     ~~~~~~~~~~~~~~~^~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string<wchar_t>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:132:15:   required from here
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                      ^~~~~~~~~
pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                                                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string<wchar_t>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:134:15:   required from here
  134 |         virtual void on_return_no_select(const QString& text) {
      |                      ^~~~~~~~~~~~~~~~~~~
pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter]
  134 |         virtual void on_return_no_select(const QString& text) {
      |                                          ~~~~~~~~~~~~~~~^~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string<char>; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:132:15:   required from here
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                      ^~~~~~~~~
pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                                                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string<char>; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:134:15:   required from here
  134 |         virtual void on_return_no_select(const QString& text) {
      |                      ^~~~~~~~~~~~~~~~~~~
pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter]
  134 |         virtual void on_return_no_select(const QString& text) {
      |                                          ~~~~~~~~~~~~~~~^~~~
pdf_viewer/pdf_renderer.cpp: In member function 'fz_document* PdfRenderer::get_document_with_path(int, fz_context*, std::wstring)':
pdf_viewer/pdf_renderer.cpp:374:22: warning: variable 'ret_val' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
  374 |         fz_document* ret_val = nullptr;
      |                      ^~~~~~~
pdf_viewer/document_view.cpp: In member function 'NormalizedWindowPos DocumentView::document_to_window_pos(DocumentPos)':
pdf_viewer/document_view.cpp:351:1: warning: control reaches end of non-void function [-Wreturn-type]
  351 | }
      | ^
In file included from pdf_viewer/ui.h:36:
pdf_viewer/fts_fuzzy_match.h: At global scope:
pdf_viewer/fts_fuzzy_match.h:59:17: warning: 'bool fts::fuzzy_match_simple(const char*, const char*)' defined but not used [-Wunused-function]
   59 |     static bool fuzzy_match_simple(char const * pattern, char const * str) {
      |                 ^~~~~~~~~~~~~~~~~~
In file included from pdf_viewer/main_widget.cpp:42:
pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget<T, ViewType, ProxyModelType>::on_text_change(const QString&) [with T = std::__cxx11::basic_string<char>; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:111:9:   required from 'BaseSelectorWidget<T, ViewType, ProxyModelType>::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string<char>; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]'
  111 |                         if (!on_text_change(text)) {
      |                              ^~~~~~~~~~~~~~
pdf_viewer/ui.h:569:32:   required from here
  569 |                 on_done(on_done)
      |                                ^
pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter]
  141 |         virtual bool on_text_change(const QString& text) {
      |                                     ~~~~~~~~~~~~~~~^~~~
pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget<T, ViewType, ProxyModelType>::on_text_change(const QString&) [with T = std::__cxx11::basic_string<wchar_t>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:111:9:   required from 'BaseSelectorWidget<T, ViewType, ProxyModelType>::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string<wchar_t>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]'
  111 |                         if (!on_text_change(text)) {
      |                              ^~~~~~~~~~~~~~
pdf_viewer/ui.h:643:18:   required from here
  643 |                 on_done(on_done)
      |                                ^
pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter]
  141 |         virtual bool on_text_change(const QString& text) {
      |                                     ~~~~~~~~~~~~~~~^~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string<wchar_t>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:132:15:   required from here
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                      ^~~~~~~~~
pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                                                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string<wchar_t>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:134:15:   required from here
  134 |         virtual void on_return_no_select(const QString& text) {
      |                      ^~~~~~~~~~~~~~~~~~~
pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter]
  134 |         virtual void on_return_no_select(const QString& text) {
      |                                          ~~~~~~~~~~~~~~~^~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string<char>; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:132:15:   required from here
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                      ^~~~~~~~~
pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                                                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string<char>; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:134:15:   required from here
  134 |         virtual void on_return_no_select(const QString& text) {
      |                      ^~~~~~~~~~~~~~~~~~~
pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter]
  134 |         virtual void on_return_no_select(const QString& text) {
      |                                          ~~~~~~~~~~~~~~~^~~~
pdf_viewer/pdf_view_opengl_widget.cpp: In member function 'float PdfViewOpenGLWidget::get_overview_side_pos(int)':
pdf_viewer/pdf_view_opengl_widget.cpp:1365:1: warning: control reaches end of non-void function [-Wreturn-type]
 1365 | }
      | ^
In file included from pdf_viewer/ui.h:36:
pdf_viewer/fts_fuzzy_match.h: At global scope:
pdf_viewer/fts_fuzzy_match.h:59:17: warning: 'bool fts::fuzzy_match_simple(const char*, const char*)' defined but not used [-Wunused-function]
   59 |     static bool fuzzy_match_simple(char const * pattern, char const * str) {
      |                 ^~~~~~~~~~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget<T, ViewType, ProxyModelType>::on_text_change(const QString&) [with T = int; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:111:9:   required from 'BaseSelectorWidget<T, ViewType, ProxyModelType>::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = int; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]'
  111 |                         if (!on_text_change(text)) {
      |                              ^~~~~~~~~~~~~~
pdf_viewer/ui.h:464:40:   required from 'FilteredSelectWindowClass<T>::FilteredSelectWindowClass(std::vector<std::__cxx11::basic_string<wchar_t> >, std::vector<T>, std::function<void(T*)>, QWidget*, std::function<void(T*)>) [with T = int]'
  464 |                 on_delete_function(on_delete_function)
      |                                                      ^
pdf_viewer/main_widget.cpp:2333:28:   required from here
 2333 |                     }, this));
      |                            ^
pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter]
  141 |         virtual bool on_text_change(const QString& text) {
      |                                     ~~~~~~~~~~~~~~~^~~~
pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget<T, ViewType, ProxyModelType>::on_text_change(const QString&) [with T = int; ViewType = QTreeView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:111:9:   required from 'BaseSelectorWidget<T, ViewType, ProxyModelType>::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = int; ViewType = QTreeView; ProxyModelType = QSortFilterProxyModel]'
  111 |                         if (!on_text_change(text)) {
      |                              ^~~~~~~~~~~~~~
pdf_viewer/ui.h:301:18:   required from 'FilteredTreeSelect<T>::FilteredTreeSelect(QStandardItemModel*, std::function<void(const std::vector<int, std::allocator<int> >&)>, QWidget*, std::vector<int, std::allocator<int> >) [with T = int]'
  301 |                 on_done(on_done)
      |                                ^
pdf_viewer/main_widget.cpp:2349:44:   required from here
 2349 |                     }, this, selected_index));
      |                                            ^
pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter]
  141 |         virtual bool on_text_change(const QString& text) {
      |                                     ~~~~~~~~~~~~~~~^~~~
pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget<T, ViewType, ProxyModelType>::on_text_change(const QString&) [with T = std::__cxx11::basic_string<char>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:111:9:   required from 'BaseSelectorWidget<T, ViewType, ProxyModelType>::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string<char>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]'
  111 |                         if (!on_text_change(text)) {
      |                              ^~~~~~~~~~~~~~
pdf_viewer/ui.h:464:40:   required from 'FilteredSelectWindowClass<T>::FilteredSelectWindowClass(std::vector<std::__cxx11::basic_string<wchar_t> >, std::vector<T>, std::function<void(T*)>, QWidget*, std::function<void(T*)>) [with T = std::__cxx11::basic_string<char>]'
  464 |                 on_delete_function(on_delete_function)
      |                                                      ^
pdf_viewer/main_widget.cpp:2421:5:   required from here
 2421 |                         }));
      |                          ^
pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter]
  141 |         virtual bool on_text_change(const QString& text) {
      |                                     ~~~~~~~~~~~~~~~^~~~
pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget<T, ViewType, ProxyModelType>::on_text_change(const QString&) [with T = float; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:111:9:   required from 'BaseSelectorWidget<T, ViewType, ProxyModelType>::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = float; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]'
  111 |                         if (!on_text_change(text)) {
      |                              ^~~~~~~~~~~~~~
pdf_viewer/ui.h:362:40:   required from 'FilteredSelectTableWindowClass<T>::FilteredSelectTableWindowClass(std::vector<std::__cxx11::basic_string<wchar_t> >, std::vector<std::__cxx11::basic_string<wchar_t> >, std::vector<T>, int, std::function<void(T*)>, QWidget*, std::function<void(T*)>) [with T = float]'
  362 |                 on_delete_function(on_delete_function)
      |                                                      ^
pdf_viewer/main_widget.cpp:2481:14:   required from here
 2481 |             }));
      |              ^
pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter]
  141 |         virtual bool on_text_change(const QString& text) {
      |                                     ~~~~~~~~~~~~~~~^~~~
pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget<T, ViewType, ProxyModelType>::on_text_change(const QString&) [with T = Highlight; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:111:9:   required from 'BaseSelectorWidget<T, ViewType, ProxyModelType>::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = Highlight; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]'
  111 |                         if (!on_text_change(text)) {
      |                              ^~~~~~~~~~~~~~
pdf_viewer/ui.h:362:40:   required from 'FilteredSelectTableWindowClass<T>::FilteredSelectTableWindowClass(std::vector<std::__cxx11::basic_string<wchar_t> >, std::vector<std::__cxx11::basic_string<wchar_t> >, std::vector<T>, int, std::function<void(T*)>, QWidget*, std::function<void(T*)>) [with T = Highlight]'
  362 |                 on_delete_function(on_delete_function)
      |                                                      ^
pdf_viewer/main_widget.cpp:2548:14:   required from here
 2548 |             }));
      |              ^
pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter]
  141 |         virtual bool on_text_change(const QString& text) {
      |                                     ~~~~~~~~~~~~~~~^~~~
pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget<T, ViewType, ProxyModelType>::on_text_change(const QString&) [with T = BookState; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:111:9:   required from 'BaseSelectorWidget<T, ViewType, ProxyModelType>::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = BookState; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]'
  111 |                         if (!on_text_change(text)) {
      |                              ^~~~~~~~~~~~~~
pdf_viewer/ui.h:362:40:   required from 'FilteredSelectTableWindowClass<T>::FilteredSelectTableWindowClass(std::vector<std::__cxx11::basic_string<wchar_t> >, std::vector<std::__cxx11::basic_string<wchar_t> >, std::vector<T>, int, std::function<void(T*)>, QWidget*, std::function<void(T*)>) [with T = BookState]'
  362 |                 on_delete_function(on_delete_function)
      |                                                      ^
pdf_viewer/main_widget.cpp:2585:14:   required from here
 2585 |             }));
      |              ^
pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter]
  141 |         virtual bool on_text_change(const QString& text) {
      |                                     ~~~~~~~~~~~~~~~^~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string<wchar_t>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:134:15:   required from here
  134 |         virtual void on_return_no_select(const QString& text) {
      |                      ^~~~~~~~~~~~~~~~~~~
pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter]
  134 |         virtual void on_return_no_select(const QString& text) {
      |                                          ~~~~~~~~~~~~~~~^~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_return_no_select(const QString&) [with T = BookState; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:134:15:   required from here
  134 |         virtual void on_return_no_select(const QString& text) {
      |                      ^~~~~~~~~~~~~~~~~~~
pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter]
  134 |         virtual void on_return_no_select(const QString& text) {
      |                                          ~~~~~~~~~~~~~~~^~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_delete(const QModelIndex&, const QModelIndex&) [with T = BookState; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:132:15:   required from here
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                      ^~~~~~~~~
pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                                                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_return_no_select(const QString&) [with T = Highlight; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:134:15:   required from here
  134 |         virtual void on_return_no_select(const QString& text) {
      |                      ^~~~~~~~~~~~~~~~~~~
pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter]
  134 |         virtual void on_return_no_select(const QString& text) {
      |                                          ~~~~~~~~~~~~~~~^~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_delete(const QModelIndex&, const QModelIndex&) [with T = Highlight; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:132:15:   required from here
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                      ^~~~~~~~~
pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                                                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_return_no_select(const QString&) [with T = float; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:134:15:   required from here
  134 |         virtual void on_return_no_select(const QString& text) {
      |                      ^~~~~~~~~~~~~~~~~~~
pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter]
  134 |         virtual void on_return_no_select(const QString& text) {
      |                                          ~~~~~~~~~~~~~~~^~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_delete(const QModelIndex&, const QModelIndex&) [with T = float; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:132:15:   required from here
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                      ^~~~~~~~~
pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                                                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string<char>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:134:15:   required from here
  134 |         virtual void on_return_no_select(const QString& text) {
      |                      ^~~~~~~~~~~~~~~~~~~
pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter]
  134 |         virtual void on_return_no_select(const QString& text) {
      |                                          ~~~~~~~~~~~~~~~^~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string<char>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:132:15:   required from here
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                      ^~~~~~~~~
pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                                                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_delete(const QModelIndex&, const QModelIndex&) [with T = int; ViewType = QTreeView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:132:15:   required from here
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                      ^~~~~~~~~
pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                                                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_return_no_select(const QString&) [with T = int; ViewType = QTreeView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:134:15:   required from here
  134 |         virtual void on_return_no_select(const QString& text) {
      |                      ^~~~~~~~~~~~~~~~~~~
pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter]
  134 |         virtual void on_return_no_select(const QString& text) {
      |                                          ~~~~~~~~~~~~~~~^~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_return_no_select(const QString&) [with T = int; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:134:15:   required from here
  134 |         virtual void on_return_no_select(const QString& text) {
      |                      ^~~~~~~~~~~~~~~~~~~
pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter]
  134 |         virtual void on_return_no_select(const QString& text) {
      |                                          ~~~~~~~~~~~~~~~^~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_delete(const QModelIndex&, const QModelIndex&) [with T = int; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:132:15:   required from here
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                      ^~~~~~~~~
pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                                                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string<wchar_t>; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:132:15:   required from here
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                      ^~~~~~~~~
pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                                                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string<char>; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:132:15:   required from here
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                      ^~~~~~~~~
pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter]
  132 |         virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {}
      |                                                                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget<T, ViewType, ProxyModelType>::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string<char>; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]':
pdf_viewer/ui.h:134:15:   required from here
  134 |         virtual void on_return_no_select(const QString& text) {
      |                      ^~~~~~~~~~~~~~~~~~~
pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter]
  134 |         virtual void on_return_no_select(const QString& text) {
      |                                          ~~~~~~~~~~~~~~~^~~~
pdf_viewer/main.cpp: In function 'int main(int, char**)':
pdf_viewer/main.cpp:738:14: warning: variable 'fail' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
  738 |         bool fail = false;
      |              ^~~~
pdf_viewer/main_widget.cpp: In member function 'bool MainWidget::execute_predefined_command(char)':
pdf_viewer/main_widget.cpp:4076:1: warning: control reaches end of non-void function [-Wreturn-type]
 4076 | }
      | ^
pdf_viewer/main_widget.cpp: In member function 'bool CharacterAddress::backspace()':
pdf_viewer/main_widget.cpp:4516:34: warning: control reaches end of non-void function [-Wreturn-type]
 4516 |         this->previous_character = nullptr;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from pdf_viewer/ui.h:36:
pdf_viewer/fts_fuzzy_match.h: At global scope:
pdf_viewer/fts_fuzzy_match.h:59:17: warning: 'bool fts::fuzzy_match_simple(const char*, const char*)' defined but not used [-Wunused-function]
   59 |     static bool fuzzy_match_simple(char const * pattern, char const * str) {
      |                 ^~~~~~~~~~~~~~~~~~
pdf_viewer/sqlite3.c: In function 'sqlite3InvokeBusyHandler':
pdf_viewer/sqlite3.c:160680:12: warning: cast between incompatible function types from 'int (*)(void *, int)' to 'int (*)(void *, int,  sqlite3_file *)' [-Wcast-function-type]
160680 |     xTra = (int(*)(void*,int,sqlite3_file*))p->xBusyHandler;
       |            ^
pdf_viewer/sqlite3.c: In function 'sqlite3_busy_timeout':
pdf_viewer/sqlite3.c:160758:30: warning: cast between incompatible function types from 'int (*)(void *, int,  sqlite3_file *)' to 'int (*)(void *, int)' [-Wcast-function-type]
160758 |     sqlite3_busy_handler(db, (int(*)(void*,int))sqliteDefaultBusyCallback,
       |                              ^
pdf_viewer/sqlite3.c: In function 'sqlite3_trace':
pdf_viewer/sqlite3.c:161110:16: warning: cast between incompatible function types from 'void (*)(void *, const char *)' to 'int (*)(u32,  void *, void *, void *)' {aka 'int (*)(unsigned int,  void *, void *, void *)'} [-Wcast-function-type]
161110 |   db->xTrace = (int(*)(u32,void*,void*,void*))xTrace;
       |                ^
pdf_viewer/sqlite3.c: In function 'sqlite3_db_status':
pdf_viewer/sqlite3.c:21486:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
21486 |       op = SQLITE_DBSTATUS_CACHE_WRITE+1;
      |       ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pdf_viewer/sqlite3.c:21488:5: note: here
21488 |     case SQLITE_DBSTATUS_CACHE_HIT:
      |     ^~~~
pdf_viewer/sqlite3.c: In function 'sqlite3_str_vappendf':
pdf_viewer/sqlite3.c:28352:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
28352 |         flag_long = sizeof(char*)==sizeof(i64) ? 2 :
      |         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28353 |                      sizeof(char*)==sizeof(long int) ? 1 : 0;
      |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pdf_viewer/sqlite3.c:28355:7: note: here
28355 |       case etORDINAL:
      |       ^~~~
pdf_viewer/sqlite3.c:28357:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
28357 |         cThousand = 0;
      |         ~~~~~~~~~~^~~
pdf_viewer/sqlite3.c:28359:7: note: here
28359 |       case etDECIMAL:
      |       ^~~~
pdf_viewer/sqlite3.c: In function 'sqlite3GetToken':
pdf_viewer/sqlite3.c:158219:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
158219 |       if( !sqlite3Isdigit(z[1]) )
       |         ^
pdf_viewer/sqlite3.c:158228:5: note: here
158228 |     case CC_DIGIT: {
       |     ^~~~
pdf_viewer/document.cpp: In member function 'fz_outline* Document::get_toc_outline()':
pdf_viewer/document.cpp:457:21: warning: variable 'res' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
  457 |         fz_outline* res = nullptr;
      |                     ^~~
pdf_viewer/document.cpp: In member function 'int Document::num_pages()':
pdf_viewer/document.cpp:777:13: warning: variable 'pages' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
  777 |         int pages = -1;
      |             ^~~~~
pdf_viewer/sqlite3.c:158318:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
158318 |       if( z[1]=='\'' ){
       |         ^
pdf_viewer/document.cpp: In member function 'fz_stext_page* Document::get_stext_with_page_number(fz_context*, int, fz_document*)':
pdf_viewer/document.cpp:825:14: warning: variable 'nocache' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
  825 |         bool nocache = false;
      |              ^~~~~~~
pdf_viewer/document.cpp:843:24: warning: variable 'stext_page' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
  843 |         fz_stext_page* stext_page = nullptr;
      |                        ^~~~~~~~~~
pdf_viewer/document.cpp:821:100: warning: argument 'doc_' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
  821 | fz_stext_page* Document::get_stext_with_page_number(fz_context* ctx, int page_number, fz_document* doc_) {
      |                                                                                       ~~~~~~~~~~~~~^~~~
pdf_viewer/sqlite3.c:158332:5: note: here
158332 |     case CC_ID: {
       |     ^~~~
pdf_viewer/sqlite3.c: In function 'sqlite3ExprCodeTarget':
pdf_viewer/sqlite3.c:102448:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
102448 |     case TK_AGG_COLUMN: {
       |                         ^
pdf_viewer/sqlite3.c:102461:5: note: here
102461 |     case TK_COLUMN: {
       |     ^~~~
pdf_viewer/sqlite3.c: In function 'exprImpliesNotNull':
pdf_viewer/sqlite3.c:104004:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
104004 |       if( exprImpliesNotNull(pParse, p->pRight, pNN, iTab, seenNot) ) return 1;
       |         ^
pdf_viewer/sqlite3.c:104007:5: note: here
104007 |     case TK_SPAN:
       |     ^~~~
pdf_viewer/sqlite3.c: In function 'impliesNotNullRow':
pdf_viewer/sqlite3.c:104144:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
104143 |       if( (pExpr->pLeft->op==TK_COLUMN && IsVirtual(pExpr->pLeft->y.pTab))
       |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
104144 |        || (pExpr->pRight->op==TK_COLUMN && IsVirtual(pExpr->pRight->y.pTab))
       |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pdf_viewer/sqlite3.c:104149:5: note: here
104149 |     default:
       |     ^~~~~~~
pdf_viewer/sqlite3.c: In function 'resolveP2Values':
pdf_viewer/sqlite3.c:78144:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
78144 |           if( pOp->p2!=0 ) p->readOnly = 0;
      |             ^
pdf_viewer/sqlite3.c:78147:9: note: here
78147 |         case OP_AutoCommit:
      |         ^~~~
pdf_viewer/sqlite3.c:78185:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
78185 |         case OP_VFilter: {
      |                          ^
pdf_viewer/sqlite3.c:78194:9: note: here
78194 |         default: {
      |         ^~~~~~~
pdf_viewer/sqlite3.c: In function 'resolveExprStep':
pdf_viewer/sqlite3.c:97814:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
97814 |     case TK_ISNOT: {
      |                    ^
pdf_viewer/sqlite3.c:97830:5: note: here
97830 |     case TK_BETWEEN:
      |     ^~~~
pdf_viewer/sqlite3.c: In function 'fkActionTrigger':
pdf_viewer/sqlite3.c:119039:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
119039 |         if( !pChanges ){
       |           ^
pdf_viewer/sqlite3.c:119043:7: note: here
119043 |       default:
       |       ^~~~~~~
pdf_viewer/sqlite3.c: In function 'sqlite3GenerateConstraintChecks':
pdf_viewer/sqlite3.c:120965:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
120965 |         onError = OE_Abort;
       |                 ^
pdf_viewer/sqlite3.c:120968:7: note: here
120968 |       case OE_Rollback:
       |       ^~~~
pdf_viewer/sqlite3.c:121026:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
121026 |         sqlite3UpsertDoUpdate(pParse, pUpsert, pTab, 0, iDataCur);
       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pdf_viewer/sqlite3.c:121030:7: note: here
121030 |       case OE_Ignore: {
       |       ^~~~
pdf_viewer/sqlite3.c:121247:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
121247 |         sqlite3UpsertDoUpdate(pParse, pUpsert, pTab, pIdx, iIdxCur+ix);
       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pdf_viewer/sqlite3.c:121251:7: note: here
121251 |       case OE_Ignore: {
       |       ^~~~
pdf_viewer/sqlite3.c: In function 'sqlite3VdbeExec':
pdf_viewer/sqlite3.c:85886:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
85886 |   if( (pIn3->flags & MEM_Null)==0 ) break;
      |     ^
pdf_viewer/sqlite3.c:85920:1: note: here
85920 | case OP_Halt: {
      | ^~~~
pdf_viewer/sqlite3.c:86055:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
86055 |   pOp->opcode = OP_String;
      |               ^
pdf_viewer/sqlite3.c:86072:1: note: here
86072 | case OP_String: {          /* out2 */
      | ^~~~
pdf_viewer/sqlite3.c:89327:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
89327 | case OP_IfNoHope: {     /* jump, in3 */
      |                   ^
pdf_viewer/sqlite3.c:89335:1: note: here
89335 | case OP_NoConflict:     /* jump, in3 */
      | ^~~~
pdf_viewer/sqlite3.c:90261:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
90261 |   p->aCounter[SQLITE_STMTSTATUS_SORT]++;
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
pdf_viewer/sqlite3.c:90276:1: note: here
90276 | case OP_Rewind: {        /* jump */
      | ^~~~
pdf_viewer/sqlite3.c:91591:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
91591 |   pOp->opcode = OP_AggStep1;
      |               ^
pdf_viewer/sqlite3.c:91594:1: note: here
91594 | case OP_AggStep1: {
      | ^~~~
pdf_viewer/document.cpp: In lambda function:
pdf_viewer/document.cpp:966:21: warning: variable 'num_added_toc_entries' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
  966 |                 int num_added_toc_entries = 0;
      |                     ^~~~~~~~~~~~~~~~~~~~~
pdf_viewer/sqlite3.c: In function 'sqlite3SelectNew':
pdf_viewer/sqlite3.c:128048:10: warning: function may return address of local variable [-Wreturn-local-addr]
128048 |   return pNew;
       |          ^~~~
pdf_viewer/sqlite3.c:128008:10: note: declared here
128008 |   Select standin;
       |          ^~~~~~~
g++ -Wl,--as-needed,-O1,--sort-common -Wl,--as-needed,-O1,--sort-common -o sioyek book.o config.o database.o document.o document_view.o input.o main.o main_widget.o pdf_renderer.o pdf_view_opengl_widget.o checksum.o new_file_checker.o coordinates.o sqlite3.o ui.o path.o utils.o synctex_parser.o synctex_parser_utils.o RunGuard.o OpenWithApplication.o moc_pdf_renderer.o moc_RunGuard.o moc_OpenWithApplication.o   -ldl -lmupdf -lz /usr/lib/libQt5OpenGL.so /usr/lib/libQt5Widgets.so /usr/lib/libQt53DInput.so /usr/lib/libQt53DCore.so /usr/lib/libQt5OpenGLExtensions.a /usr/lib/libQt5Gui.so /usr/lib/libQt5Network.so /usr/lib/libQt5Core.so -lGL -lpthread   
>>> sioyek: Entering fakeroot...
>>> sioyek-doc*: Running split function doc...
'usr/share/man' -> '/home/buildozer/aports/community/sioyek/pkg/sioyek-doc/usr/share/man'
>>> sioyek-doc*: Preparing subpackage sioyek-doc...
>>> sioyek-doc*: Running postcheck for sioyek-doc
>>> sioyek*: Running postcheck for sioyek
>>> sioyek*: Preparing package sioyek...
>>> sioyek*: Stripping binaries
>>> sioyek-doc*: Scanning shared objects
>>> sioyek*: Scanning shared objects
>>> sioyek-doc*: Tracing dependencies...
>>> sioyek-doc*: Package size: 16.9 KB
>>> sioyek-doc*: Compressing data...
>>> sioyek-doc*: Create checksum...
>>> sioyek-doc*: Create sioyek-doc-2.0.0-r31.apk
>>> sioyek*: Tracing dependencies...
	so:libGL.so.1
	so:libQt5Core.so.5
	so:libQt5Gui.so.5
	so:libQt5Network.so.5
	so:libQt5Widgets.so.5
	so:libc.musl-riscv64.so.1
	so:libgcc_s.so.1
	so:libmupdf.so.25.4
	so:libstdc++.so.6
	so:libz.so.1
>>> sioyek*: Package size: 1.5 MB
>>> sioyek*: Compressing data...
>>> sioyek*: Create checksum...
>>> sioyek*: Create sioyek-2.0.0-r31.apk
>>> sioyek: Build complete at Sun, 26 Jan 2025 23:35:23 +0000 elapsed time 0h 3m 12s
>>> sioyek: Cleaning up srcdir
>>> sioyek: Cleaning up pkgdir
>>> sioyek: Uninstalling dependencies...
(1/229) Purging .makedepends-sioyek (20250126.233214)
(2/229) Purging mupdf-dev (1.25.4-r0)
(3/229) Purging mupdf-libs (1.25.4-r0)
(4/229) Purging qt5-qt3d-dev (5.15.10_git20230424-r0)
(5/229) Purging qt5-qt3d (5.15.10_git20230424-r0)
(6/229) Purging agetty-openrc (0.56-r0)
(7/229) Purging agetty (2.40.4-r0)
(8/229) Purging assimp-libs (5.4.3-r0)
(9/229) Purging blkid (2.40.4-r0)
(10/229) Purging cfdisk (2.40.4-r0)
(11/229) Purging desktop-file-utils (0.28-r0)
(12/229) Purging dmesg (2.40.4-r0)
(13/229) Purging findmnt (2.40.4-r0)
(14/229) Purging flock (2.40.4-r0)
(15/229) Purging fstrim (2.40.4-r0)
(16/229) Purging git-perl (2.48.1-r0)
(17/229) Purging perl-git (2.48.1-r0)
(18/229) Purging perl-error (0.17029-r2)
(19/229) Purging gumbo-parser (0.13.0-r0)
(20/229) Purging hexdump (2.40.4-r0)
(21/229) Purging jbig2dec (0.20-r0)
(22/229) Purging logger (2.40.4-r0)
(23/229) Purging losetup (2.40.4-r0)
(24/229) Purging lsblk (2.40.4-r0)
(25/229) Purging lscpu (2.40.4-r0)
(26/229) Purging mcookie (2.40.4-r0)
(27/229) Purging mount (2.40.4-r0)
(28/229) Purging mujs-libs (1.3.2-r0)
(29/229) Purging openjpeg (2.5.3-r0)
(30/229) Purging partx (2.40.4-r0)
(31/229) Purging py3-packaging-pyc (24.2-r0)
(32/229) Purging py3-parsing-pyc (3.2.0-r0)
(33/229) Purging python3-pyc (3.12.8-r1)
(34/229) Purging python3-pycache-pyc0 (3.12.8-r1)
(35/229) Purging xcb-proto-pyc (1.17.0-r0)
(36/229) Purging pyc (3.12.8-r1)
(37/229) Purging qt5-qtdeclarative-dev (5.15.10_git20230629-r0)
(38/229) Purging qt5-qtwayland (5.15.10_git20230714-r0)
(39/229) Purging runuser (2.40.4-r0)
(40/229) Purging setpriv (2.40.4-r0)
(41/229) Purging sfdisk (2.40.4-r0)
(42/229) Purging umount (2.40.4-r0)
(43/229) Purging util-linux-misc (2.40.4-r0)
(44/229) Purging setarch (2.40.4-r0)
(45/229) Purging util-linux-openrc (2.40.4-r0)
(46/229) Purging uuidgen (2.40.4-r0)
(47/229) Purging wipefs (2.40.4-r0)
(48/229) Purging qt5-qtbase-dev (5.15.10_git20230714-r3)
(49/229) Purging qt5-qtbase-sqlite (5.15.10_git20230714-r3)
(50/229) Purging qt5-qtbase-odbc (5.15.10_git20230714-r3)
(51/229) Purging qt5-qtbase-postgresql (5.15.10_git20230714-r3)
(52/229) Purging qt5-qtbase-mysql (5.15.10_git20230714-r3)
(53/229) Purging qt5-qtbase-tds (5.15.10_git20230714-r3)
(54/229) Purging dbus-dev (1.16.0-r0)
(55/229) Purging fontconfig-dev (2.15.0-r1)
(56/229) Purging freetype-dev (2.13.3-r0)
(57/229) Purging glib-dev (2.82.4-r0)
(58/229) Purging bzip2-dev (1.0.8-r6)
(59/229) Purging docbook-xsl (1.79.2-r11)
(60/229) Purging docbook-xsl-ns (1.79.2-r11)
Executing docbook-xsl-ns-1.79.2-r11.pre-deinstall
(61/229) Purging docbook-xsl-nons (1.79.2-r11)
Executing docbook-xsl-nons-1.79.2-r11.pre-deinstall
(62/229) Purging docbook-xml (4.5-r9)
Executing docbook-xml-4.5-r9.pre-deinstall
(63/229) Purging gettext-dev (0.22.5-r0)
(64/229) Purging xz (5.6.3-r0)
(65/229) Purging gettext-asprintf (0.22.5-r0)
(66/229) Purging gettext (0.22.5-r0)
(67/229) Purging gettext-envsubst (0.22.5-r0)
(68/229) Purging libxml2-utils (2.13.4-r3)
(69/229) Purging libxslt (1.1.42-r1)
(70/229) Purging py3-packaging (24.2-r0)
(71/229) Purging py3-parsing (3.2.0-r0)
(72/229) Purging libpng-dev (1.6.45-r0)
(73/229) Purging libsm-dev (1.2.5-r0)
(74/229) Purging mesa-dev (24.3.4-r0)
(75/229) Purging libxdamage-dev (1.1.6-r5)
(76/229) Purging libxshmfence-dev (1.3.3-r0)
(77/229) Purging mesa-gles (24.3.4-r0)
(78/229) Purging mesa-osmesa (24.3.4-r0)
(79/229) Purging mesa-xatracker (24.3.4-r0)
(80/229) Purging openssl-dev (3.3.2-r4)
(81/229) Purging perl (5.40.1-r0)
(82/229) Purging qt5-qtdeclarative (5.15.10_git20230629-r0)
(83/229) Purging qt5-qtbase-x11 (5.15.10_git20230714-r3)
(84/229) Purging xdg-utils (1.2.1-r1)
(85/229) Purging xprop (1.2.8-r0)
(86/229) Purging xset (1.2.5-r1)
(87/229) Purging gtk+3.0 (3.24.48-r0)
Executing gtk+3.0-3.24.48-r0.post-deinstall
(88/229) Purging gtk-update-icon-cache (3.24.48-r0)
(89/229) Purging hicolor-icon-theme (0.18-r0)
(90/229) Purging libatk-bridge-2.0 (2.54.1-r0)
(91/229) Purging at-spi2-core (2.54.1-r0)
(92/229) Purging cups-libs (2.4.11-r0)
(93/229) Purging avahi-libs (0.8-r19)
(94/229) Purging brotli-dev (1.1.0-r2)
(95/229) Purging brotli (1.1.0-r2)
(96/229) Purging pcre2-dev (10.43-r0)
(97/229) Purging zlib-dev (1.3.1-r2)
(98/229) Purging libpcre2-32 (10.43-r0)
(99/229) Purging libedit-dev (20250104.3.1-r0)
(100/229) Purging ncurses-dev (6.5_p20250118-r0)
(101/229) Purging libncurses++ (6.5_p20250118-r0)
(102/229) Purging bsd-compat-headers (0.7.2-r6)
(103/229) Purging pango (1.54.0-r1)
Executing pango-1.54.0-r1.pre-deinstall
(104/229) Purging cairo-gobject (1.18.2-r1)
(105/229) Purging cairo (1.18.2-r1)
(106/229) Purging qt5-qtbase (5.15.10_git20230714-r3)
(107/229) Purging dbus-libs (1.16.0-r0)
(108/229) Purging libinput-libs (1.27.1-r0)
(109/229) Purging eudev-libs (3.2.14-r5)
(110/229) Purging expat-dev (2.6.4-r0)
(111/229) Purging expat (2.6.4-r0)
(112/229) Purging libxft (2.3.8-r3)
(113/229) Purging fontconfig (2.15.0-r1)
(114/229) Purging freetds (1.4.26-r0)
(115/229) Purging harfbuzz (10.2.0-r0)
(116/229) Purging freetype (2.13.3-r0)
(117/229) Purging fribidi (1.0.16-r0)
(118/229) Purging libxxf86vm-dev (1.1.6-r0)
(119/229) Purging libxfixes-dev (6.0.1-r4)
(120/229) Purging libxext-dev (1.3.6-r2)
(121/229) Purging libx11-dev (1.8.10-r0)
(122/229) Purging xtrans (1.5.2-r0)
(123/229) Purging libxcb-dev (1.17.0-r0)
(124/229) Purging xcb-proto (1.17.0-r0)
(125/229) Purging python3 (3.12.8-r1)
(126/229) Purging gdbm (1.24-r0)
(127/229) Purging gdk-pixbuf (2.42.12-r1)
Executing gdk-pixbuf-2.42.12-r1.pre-deinstall
(128/229) Purging shared-mime-info (2.4-r2)
Executing shared-mime-info-2.4-r2.post-deinstall
(129/229) Purging gettext-libs (0.22.5-r0)
(130/229) Purging libatk-1.0 (2.54.1-r0)
(131/229) Purging glib (2.82.4-r0)
(132/229) Purging gnutls (3.8.8-r0)
(133/229) Purging graphite2 (1.3.14-r6)
(134/229) Purging libdrm-dev (2.4.124-r0)
(135/229) Purging libpciaccess-dev (0.18.1-r0)
(136/229) Purging mesa-gl (24.3.4-r0)
(137/229) Purging mesa-egl (24.3.4-r0)
(138/229) Purging mesa-gbm (24.3.4-r0)
(139/229) Purging mesa (24.3.4-r0)
(140/229) Purging libdrm (2.4.124-r0)
(141/229) Purging libpciaccess (0.18.1-r0)
(142/229) Purging hwdata-pci (0.391-r0)
(143/229) Purging icu-libs (74.2-r0)
(144/229) Purging icu-data-full (74.2-r0)
(145/229) Purging util-linux-dev (2.40.4-r0)
(146/229) Purging libfdisk (2.40.4-r0)
(147/229) Purging libmount (2.40.4-r0)
(148/229) Purging libsmartcols (2.40.4-r0)
(149/229) Purging util-linux (2.40.4-r0)
(150/229) Purging libblkid (2.40.4-r0)
(151/229) Purging libxdmcp-dev (1.1.5-r1)
(152/229) Purging xcb-util-renderutil (0.3.10-r0)
(153/229) Purging xcb-util-image (0.4.1-r0)
(154/229) Purging libxkbcommon-x11 (1.7.0-r1)
(155/229) Purging xcb-util-wm (0.4.2-r0)
(156/229) Purging libxmu (1.2.1-r0)
(157/229) Purging libxi (1.8.2-r0)
(158/229) Purging libxrandr (1.5.4-r1)
(159/229) Purging libxinerama (1.1.5-r4)
(160/229) Purging libxtst (1.2.5-r0)
(161/229) Purging libxxf86vm (1.1.6-r0)
(162/229) Purging libxext (1.3.6-r2)
(163/229) Purging libxcursor (1.2.3-r0)
(164/229) Purging libxdamage (1.1.6-r5)
(165/229) Purging libxrender (0.9.12-r0)
(166/229) Purging libxt (1.3.1-r0)
(167/229) Purging libxcomposite (0.4.6-r5)
(168/229) Purging libxfixes (6.0.1-r4)
(169/229) Purging libx11 (1.8.10-r0)
(170/229) Purging xcb-util-keysyms (0.4.1-r0)
(171/229) Purging xcb-util (0.4.1-r3)
(172/229) Purging libxcb (1.17.0-r0)
(173/229) Purging libxdmcp (1.1.5-r1)
(174/229) Purging libbsd (0.12.2-r0)
(175/229) Purging libbz2 (1.0.8-r6)
(176/229) Purging libcap-ng (0.8.5-r0)
(177/229) Purging libeconf (0.6.3-r0)
(178/229) Purging libelf (0.191-r0)
(179/229) Purging libepoxy (1.5.10-r1)
(180/229) Purging libevdev (1.13.3-r0)
(181/229) Purging libffi-dev (3.4.6-r0)
(182/229) Purging linux-headers (6.12.6-r0)
(183/229) Purging llvm19-libs (19.1.7-r0)
(184/229) Purging wayland-libs-cursor (1.23.1-r0)
(185/229) Purging wayland-libs-client (1.23.1-r0)
(186/229) Purging p11-kit (0.25.5-r2)
(187/229) Purging wayland-libs-server (1.23.1-r0)
(188/229) Purging libffi (3.4.6-r0)
(189/229) Purging libformw (6.5_p20250118-r0)
(190/229) Purging libgcrypt (1.10.3-r1)
(191/229) Purging libgpg-error (1.51-r0)
(192/229) Purging libice-dev (1.1.2-r0)
(193/229) Purging libsm (1.2.5-r0)
(194/229) Purging libice (1.1.2-r0)
(195/229) Purging libintl (0.22.5-r0)
(196/229) Purging tiff (4.7.0-r0)
(197/229) Purging libjpeg-turbo (3.1.0-r0)
(198/229) Purging libmd (1.1.0-r0)
(199/229) Purging libmenuw (6.5_p20250118-r0)
(200/229) Purging libpanelw (6.5_p20250118-r0)
(201/229) Purging libpcre2-16 (10.43-r0)
(202/229) Purging libpng (1.6.45-r0)
(203/229) Purging libpq (17.2-r0)
(204/229) Purging libwebp (1.5.0-r0)
(205/229) Purging libsharpyuv (1.5.0-r0)
(206/229) Purging libtasn1 (4.19.0-r2)
(207/229) Purging libuuid (2.40.4-r0)
(208/229) Purging libxau-dev (1.0.12-r0)
(209/229) Purging libxau (1.0.12-r0)
(210/229) Purging libxkbcommon (1.7.0-r1)
(211/229) Purging xkeyboard-config (2.43-r0)
(212/229) Purging libxml2 (2.13.4-r3)
(213/229) Purging libxshmfence (1.3.3-r0)
(214/229) Purging linux-pam (1.6.1-r1)
(215/229) Purging mariadb-connector-c (3.3.10-r0)
(216/229) Purging mesa-glapi (24.3.4-r0)
(217/229) Purging mpdecimal (4.0.0-r0)
(218/229) Purging mtdev (1.1.7-r0)
(219/229) Purging nettle (3.10.1-r0)
(220/229) Purging pixman (0.43.4-r1)
(221/229) Purging utmps-libs (0.1.2.3-r2)
(222/229) Purging skalibs-libs (2.14.3.0-r0)
(223/229) Purging sqlite-dev (3.48.0-r0)
(224/229) Purging sqlite-libs (3.48.0-r0)
(225/229) Purging sqlite (3.48.0-r0)
(226/229) Purging unixodbc (2.3.12-r0)
(227/229) Purging wayland-libs-egl (1.23.1-r0)
(228/229) Purging xorgproto (2024.1-r0)
(229/229) Purging xz-libs (5.6.3-r0)
Executing busybox-1.37.0-r13.trigger
OK: 340 MiB in 102 packages
>>> sioyek: Updating the community/riscv64 repository index...
>>> sioyek: Signing the index...