>>> sioyek: Building community/sioyek 1.5.0-r1 (using abuild 3.10.0_rc1-r2) started Wed, 09 Nov 2022 07:19:39 +0000 >>> sioyek: Checking sanity of /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/178) Installing libffi (3.4.4-r0) (2/178) Installing libintl (0.21.1-r1) (3/178) Installing libblkid (2.38.1-r0) (4/178) Installing libmount (2.38.1-r0) (5/178) Installing glib (2.74.1-r2) (6/178) Installing desktop-file-utils (0.26-r1) (7/178) Installing libpng (1.6.38-r0) (8/178) Installing freetype (2.12.1-r0) (9/178) Installing gumbo-parser (0.10.1-r1) (10/178) Installing graphite2 (1.3.14-r2) (11/178) Installing harfbuzz (5.3.1-r1) (12/178) Installing jbig2dec (0.19-r1) (13/178) Installing libjpeg-turbo (2.1.4-r0) (14/178) Installing mujs-libs (1.3.0-r0) (15/178) Installing openjpeg (2.5.0-r0) (16/178) Installing mupdf-libs (1.21.0-r0) (17/178) Installing mupdf-dev (1.21.0-r0) (18/178) Installing icu-data-full (72.1-r1) (19/178) Installing dbus-libs (1.14.4-r0) (20/178) Installing icu-libs (72.1-r1) (21/178) Installing libpcre2-16 (10.40-r0) (22/178) Installing qt5-qtbase (5.15.6_git20221010-r0) (23/178) Installing sqlite-libs (3.39.4-r0) (24/178) Installing qt5-qtbase-sqlite (5.15.6_git20221010-r0) (25/178) Installing readline (8.2.0-r0) (26/178) Installing unixodbc (2.3.11-r0) (27/178) Installing qt5-qtbase-odbc (5.15.6_git20221010-r0) (28/178) Installing libpq (14.5-r3) (29/178) Installing qt5-qtbase-postgresql (5.15.6_git20221010-r0) (30/178) Installing mariadb-connector-c (3.3.3-r0) (31/178) Installing qt5-qtbase-mysql (5.15.6_git20221010-r0) (32/178) Installing freetds (1.3.13-r0) (33/178) Installing qt5-qtbase-tds (5.15.6_git20221010-r0) (34/178) Installing hicolor-icon-theme (0.17-r2) (35/178) Installing libxau (1.0.10-r0) (36/178) Installing libmd (1.0.4-r0) (37/178) Installing libbsd (0.11.7-r0) (38/178) Installing libxdmcp (1.1.3-r1) (39/178) Installing libxcb (1.15-r0) (40/178) Installing libx11 (1.8.1-r1) (41/178) Installing libxext (1.3.5-r0) (42/178) Installing libice (1.0.10-r1) (43/178) Installing libuuid (2.38.1-r0) (44/178) Installing libsm (1.2.3-r1) (45/178) Installing libxt (1.2.1-r0) (46/178) Installing libxmu (1.1.4-r0) (47/178) Installing xset (1.2.4-r1) (48/178) Installing xprop (1.2.5-r1) (49/178) Installing xdg-utils (1.1.3-r4) (50/178) Installing mesa (22.2.3-r0) (51/178) Installing hwdata-pci (0.364-r0) (52/178) Installing libpciaccess (0.17-r0) (53/178) Installing libdrm (2.4.114-r0) (54/178) Installing wayland-libs-server (1.21.0-r1) (55/178) Installing mesa-gbm (22.2.3-r0) (56/178) Installing mesa-glapi (22.2.3-r0) (57/178) Installing wayland-libs-client (1.21.0-r1) (58/178) Installing libxshmfence (1.3.1-r0) (59/178) Installing mesa-egl (22.2.3-r0) (60/178) Installing libxfixes (6.0.0-r0) (61/178) Installing libxxf86vm (1.1.5-r0) (62/178) Installing mesa-gl (22.2.3-r0) (63/178) Installing avahi-libs (0.8-r6) (64/178) Installing nettle (3.8.1-r0) (65/178) Installing p11-kit (0.24.1-r1) (66/178) Installing libtasn1 (4.19.0-r0) (67/178) Installing libunistring (1.1-r0) (68/178) Installing gnutls (3.7.8-r2) (69/178) Installing cups-libs (2.4.2-r1) (70/178) Installing fontconfig (2.14.1-r0) (71/178) Installing libxml2 (2.10.3-r1) (72/178) Installing shared-mime-info (2.2-r2) (73/178) Installing libwebp (1.2.4-r1) (74/178) Installing tiff (4.4.0-r1) (75/178) Installing gdk-pixbuf (2.42.10-r0) (76/178) Installing gtk-update-icon-cache (3.24.34-r7) (77/178) Installing libxcomposite (0.4.5-r1) (78/178) Installing libxrender (0.9.11-r0) (79/178) Installing libxcursor (1.2.1-r1) (80/178) Installing libxdamage (1.1.5-r1) (81/178) Installing libxi (1.8-r0) (82/178) Installing libxinerama (1.1.5-r0) (83/178) Installing libxrandr (1.5.2-r1) (84/178) Installing libatk-1.0 (2.46.0-r0) (85/178) Installing libxtst (1.2.4-r0) (86/178) Installing at-spi2-core (2.46.0-r0) (87/178) Installing libatk-bridge-2.0 (2.46.0-r0) (88/178) Installing pixman (0.42.2-r0) (89/178) Installing cairo (1.17.6-r3) (90/178) Installing cairo-gobject (1.17.6-r3) (91/178) Installing libepoxy (1.5.10-r0) (92/178) Installing fribidi (1.0.12-r0) (93/178) Installing libxft (2.3.6-r0) (94/178) Installing pango (1.50.11-r0) (95/178) Installing wayland-libs-cursor (1.21.0-r1) (96/178) Installing wayland-libs-egl (1.21.0-r1) (97/178) Installing xkeyboard-config (2.37-r0) (98/178) Installing libxkbcommon (1.4.1-r0) (99/178) Installing gtk+3.0 (3.24.34-r7) Executing gtk+3.0-3.24.34-r7.post-install (100/178) Installing libevdev (1.13.0-r0) (101/178) Installing mtdev (1.1.6-r1) (102/178) Installing eudev-libs (3.2.11-r2) (103/178) Installing libinput-libs (1.21.0-r0) (104/178) Installing xcb-util-wm (0.4.2-r0) (105/178) Installing xcb-util (0.4.0-r3) (106/178) Installing xcb-util-image (0.4.1-r0) (107/178) Installing xcb-util-keysyms (0.4.1-r0) (108/178) Installing xcb-util-renderutil (0.3.10-r0) (109/178) Installing libxkbcommon-x11 (1.4.1-r0) (110/178) Installing qt5-qtbase-x11 (5.15.6_git20221010-r0) (111/178) Installing libfdisk (2.38.1-r0) (112/178) Installing libsmartcols (2.38.1-r0) (113/178) Installing util-linux-dev (2.38.1-r0) (114/178) Installing dbus-dev (1.14.4-r0) (115/178) Installing expat (2.5.0-r0) (116/178) Installing expat-dev (2.5.0-r0) (117/178) Installing brotli (1.0.9-r9) (118/178) Installing brotli-dev (1.0.9-r9) (119/178) Installing zlib-dev (1.2.13-r0) (120/178) Installing libpng-dev (1.6.38-r0) (121/178) Installing freetype-dev (2.12.1-r0) (122/178) Installing fontconfig-dev (2.14.1-r0) (123/178) Installing bzip2-dev (1.0.8-r3) (124/178) Installing libxml2-utils (2.10.3-r1) (125/178) Installing docbook-xml (4.5-r8) Executing docbook-xml-4.5-r8.post-install (126/178) Installing libgpg-error (1.46-r1) (127/178) Installing libgcrypt (1.10.1-r0) (128/178) Installing libxslt (1.1.37-r0) (129/178) Installing docbook-xsl (1.79.2-r8) Executing docbook-xsl-1.79.2-r8.post-install (130/178) Installing gettext-asprintf (0.21.1-r1) (131/178) Installing gettext-libs (0.21.1-r1) (132/178) Installing gettext (0.21.1-r1) (133/178) Installing gettext-dev (0.21.1-r1) (134/178) Installing gdbm (1.23-r0) (135/178) Installing mpdecimal (2.5.1-r1) (136/178) Installing python3 (3.10.8-r3) (137/178) Installing linux-headers (5.19.5-r0) (138/178) Installing libffi-dev (3.4.4-r0) (139/178) Installing bsd-compat-headers (0.7.2-r3) (140/178) Installing ncurses-dev (6.3_p20221029-r0) (141/178) Installing libedit-dev (20221030.3.1-r0) (142/178) Installing libpcre2-32 (10.40-r0) (143/178) Installing pcre2-dev (10.40-r0) (144/178) Installing glib-dev (2.74.1-r2) (145/178) Installing xorgproto (2022.2-r0) (146/178) Installing libice-dev (1.0.10-r1) (147/178) Installing libsm-dev (1.2.3-r1) (148/178) Installing libxau-dev (1.0.10-r0) (149/178) Installing xcb-proto (1.15.2-r0) (150/178) Installing libxdmcp-dev (1.1.3-r1) (151/178) Installing libxcb-dev (1.15-r0) (152/178) Installing xtrans (1.4.0-r2) (153/178) Installing libx11-dev (1.8.1-r1) (154/178) Installing libxext-dev (1.3.5-r0) (155/178) Installing libpciaccess-dev (0.17-r0) (156/178) Installing libdrm-dev (2.4.114-r0) (157/178) Installing libxfixes-dev (6.0.0-r0) (158/178) Installing libxdamage-dev (1.1.5-r1) (159/178) Installing libxshmfence-dev (1.3.1-r0) (160/178) Installing mesa-gles (22.2.3-r0) (161/178) Installing llvm15-libs (15.0.4-r0) (162/178) Installing mesa-osmesa (22.2.3-r0) (163/178) Installing mesa-xatracker (22.2.3-r0) (164/178) Installing libxxf86vm-dev (1.1.5-r0) (165/178) Installing mesa-dev (22.2.3-r0) (166/178) Installing openssl-dev (3.0.7-r0) (167/178) Installing perl (5.36.0-r0) (168/178) Installing sqlite-dev (3.39.4-r0) (169/178) Installing qt5-qtbase-dev (5.15.6_git20221010-r0) (170/178) Installing qt5-qtdeclarative (5.15.6_git20220908-r0) (171/178) Installing qt5-qtdeclarative-dev (5.15.6_git20220908-r0) (172/178) Installing qt5-qt3d (5.15.6_git20220907-r0) (173/178) Installing qt5-qt3d-dev (5.15.6_git20220907-r0) (174/178) Installing .makedepends-sioyek (20221109.071940) (175/178) Installing qt5-qtwayland (5.15.6_git20220927-r1) (176/178) Installing perl-error (0.17029-r1) (177/178) Installing perl-git (2.38.1-r0) (178/178) Installing git-perl (2.38.1-r0) Executing busybox-1.35.0-r27.trigger Executing glib-2.74.1-r2.trigger Executing desktop-file-utils-0.26-r1.trigger Executing shared-mime-info-2.2-r2.trigger Executing gdk-pixbuf-2.42.10-r0.trigger Executing gtk-update-icon-cache-3.24.34-r7.trigger OK: 940 MiB in 281 packages >>> sioyek: Cleaning up srcdir >>> sioyek: Cleaning up pkgdir >>> sioyek: Fetching https://distfiles.alpinelinux.org/distfiles/edge/sioyek-1.5.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4757k 100 4757k 0 0 21.8M 0 --:--:-- --:--:-- --:--:-- 21.9M >>> sioyek: Fetching https://distfiles.alpinelinux.org/distfiles/edge/sioyek-1.5.0.tar.gz >>> sioyek: Checking sha512sums... sioyek-1.5.0.tar.gz: OK mupdf-1.20.patch: OK fix-mupdf-libs.patch: OK sioyek.desktop: OK >>> sioyek: Unpacking /var/cache/distfiles/edge/sioyek-1.5.0.tar.gz... >>> sioyek: mupdf-1.20.patch patching file pdf_viewer/document.cpp patching file pdf_viewer/document_view.cpp patching file pdf_viewer/main_widget.cpp patching file pdf_viewer/pdf_renderer.cpp patching file pdf_viewer/utils.cpp patching file pdf_viewer/utils.h >>> sioyek: fix-mupdf-libs.patch patching file pdf_viewer_build_config.pro Info: creating stash file /home/buildozer/aports/community/sioyek/src/sioyek-1.5.0/.qmake.stash g++ -c -pipe -std=c++17 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -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 -fomit-frame-pointer -Os -fomit-frame-pointer -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 -fomit-frame-pointer -Os -fomit-frame-pointer -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 -fomit-frame-pointer -Os -fomit-frame-pointer -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 -fomit-frame-pointer -Os -fomit-frame-pointer -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 -fomit-frame-pointer -Os -fomit-frame-pointer -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 -fomit-frame-pointer -Os -fomit-frame-pointer -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 -fomit-frame-pointer -Os -fomit-frame-pointer -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 -fomit-frame-pointer -Os -fomit-frame-pointer -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 -fomit-frame-pointer -Os -fomit-frame-pointer -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 -fomit-frame-pointer -Os -fomit-frame-pointer -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 -fomit-frame-pointer -Os -fomit-frame-pointer -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 -fomit-frame-pointer -Os -fomit-frame-pointer -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 -fomit-frame-pointer -Os -fomit-frame-pointer -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 -fomit-frame-pointer -Os -fomit-frame-pointer -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 -fomit-frame-pointer -Os -fomit-frame-pointer -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 -fomit-frame-pointer -Os -fomit-frame-pointer -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 -fomit-frame-pointer -Os -fomit-frame-pointer -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 -fomit-frame-pointer -Os -fomit-frame-pointer -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 -fomit-frame-pointer -Os -fomit-frame-pointer -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 -fomit-frame-pointer -Os -fomit-frame-pointer -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 -fomit-frame-pointer -Os -fomit-frame-pointer -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-1.5.0/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/home/buildozer/aports/community/sioyek/src/sioyek-1.5.0 -I/home/buildozer/aports/community/sioyek/src/sioyek-1.5.0/pdf_viewer -I/home/buildozer/aports/community/sioyek/src/sioyek-1.5.0/mupdf/include -I/home/buildozer/aports/community/sioyek/src/sioyek-1.5.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++/12.2.1 -I/usr/include/c++/12.2.1/i586-alpine-linux-musl -I/usr/include/c++/12.2.1/backward -I/usr/local/include -I/usr/include/fortify -I/usr/include -I/usr/lib/gcc/i586-alpine-linux-musl/12.2.1/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-1.5.0/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/home/buildozer/aports/community/sioyek/src/sioyek-1.5.0 -I/home/buildozer/aports/community/sioyek/src/sioyek-1.5.0/pdf_viewer -I/home/buildozer/aports/community/sioyek/src/sioyek-1.5.0/mupdf/include -I/home/buildozer/aports/community/sioyek/src/sioyek-1.5.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++/12.2.1 -I/usr/include/c++/12.2.1/i586-alpine-linux-musl -I/usr/include/c++/12.2.1/backward -I/usr/local/include -I/usr/include/fortify -I/usr/include -I/usr/lib/gcc/i586-alpine-linux-musl/12.2.1/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-1.5.0/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/home/buildozer/aports/community/sioyek/src/sioyek-1.5.0 -I/home/buildozer/aports/community/sioyek/src/sioyek-1.5.0/pdf_viewer -I/home/buildozer/aports/community/sioyek/src/sioyek-1.5.0/mupdf/include -I/home/buildozer/aports/community/sioyek/src/sioyek-1.5.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++/12.2.1 -I/usr/include/c++/12.2.1/i586-alpine-linux-musl -I/usr/include/c++/12.2.1/backward -I/usr/local/include -I/usr/include/fortify -I/usr/include -I/usr/lib/gcc/i586-alpine-linux-musl/12.2.1/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/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) { | ^~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~ g++ -c -pipe -std=c++17 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -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 pdf_viewer/database.cpp:408:1: warning: multi-line comment [-Wcomment] 408 | // const char* insert_books_sql = ""\ | ^ g++ -c -pipe -std=c++17 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -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 -fomit-frame-pointer -Os -fomit-frame-pointer -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/main_widget.cpp:2631:5: warning: multi-line comment [-Wcomment] 2631 | //std::optional> 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); | ^~~~~~~~~~~~~~ In file included from pdf_viewer/utf8.h:31, from pdf_viewer/utils.h:19, 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 struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/vector:60, from pdf_viewer/config.h:3: /usr/include/c++/12.2.1/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 struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ 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:19, from pdf_viewer/input.h:14, from pdf_viewer/input.cpp:10: pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from /usr/include/c++/12.2.1/bits/locale_classes.h:40, from /usr/include/c++/12.2.1/bits/ios_base.h:41, from /usr/include/c++/12.2.1/ios:42, from /usr/include/c++/12.2.1/ostream:38, from /usr/include/c++/12.2.1/iostream:39, from pdf_viewer/input.cpp:1: /usr/include/c++/12.2.1/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 struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.2.1/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:19, from pdf_viewer/database.h:9, from pdf_viewer/database.cpp:1: pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from /usr/include/c++/12.2.1/bits/locale_classes.h:40, from /usr/include/c++/12.2.1/bits/ios_base.h:41, from /usr/include/c++/12.2.1/ios:42, from /usr/include/c++/12.2.1/ostream:38, from /usr/include/c++/12.2.1/iostream:39, from pdf_viewer/database.h:3: /usr/include/c++/12.2.1/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 struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ pdf_viewer/input.cpp: In constructor 'CommandManager::CommandManager()': pdf_viewer/input.cpp:159:35: warning: missing initializer for member 'Command::special_symbols' [-Wmissing-field-initializers] 159 | commands.push_back({ utf8_encode(command_name) , false, false, false, false, true}); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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/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/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:19, from pdf_viewer/path.h:5, from pdf_viewer/path.cpp:2: pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/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++/12.2.1/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 struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.2.1/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:19, 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 struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/vector:60, from pdf_viewer/document_view.h:3: /usr/include/c++/12.2.1/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 struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.2.1/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:19, from pdf_viewer/pdf_renderer.cpp:2: pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/vector:60, from pdf_viewer/pdf_renderer.h:3, from pdf_viewer/pdf_renderer.cpp:1: /usr/include/c++/12.2.1/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 struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.2.1/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:19, from pdf_viewer/ui.h:39, from pdf_viewer/ui.cpp:1: pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from pdf_viewer/ui.h:2: /usr/include/c++/12.2.1/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 struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.2.1/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:19, 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 struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/vector:60, from pdf_viewer/document.h:2: /usr/include/c++/12.2.1/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 struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.2.1/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:19, from pdf_viewer/input.h:14, from pdf_viewer/main_widget.cpp:38: pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from /usr/include/c++/12.2.1/bits/locale_classes.h:40, from /usr/include/c++/12.2.1/bits/ios_base.h:41, from /usr/include/c++/12.2.1/ios:42, from /usr/include/c++/12.2.1/ostream:38, from /usr/include/c++/12.2.1/iostream:39, from pdf_viewer/main_widget.cpp:2: /usr/include/c++/12.2.1/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 struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.2.1/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:19, 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 struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from /usr/include/c++/12.2.1/bits/locale_classes.h:40, from /usr/include/c++/12.2.1/bits/ios_base.h:41, from /usr/include/c++/12.2.1/ios:42, from /usr/include/c++/12.2.1/ostream:38, from /usr/include/c++/12.2.1/iostream:39, from pdf_viewer/pdf_view_opengl_widget.h:3: /usr/include/c++/12.2.1/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 struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.2.1/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:19, from pdf_viewer/utils.cpp:6: pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:65, from /usr/include/c++/12.2.1/bits/specfun.h:45, from /usr/include/c++/12.2.1/cmath:1935, from pdf_viewer/utils.cpp:4: /usr/include/c++/12.2.1/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 struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:562:32: required from here 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::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:636:18: required from here pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] pdf_viewer/document.cpp: In member function 'std::optional, std::__cxx11::basic_string > > Document::get_generic_link_name_at_position(const std::vector&, float, float)': pdf_viewer/document.cpp:1245:27: warning: unknown escape sequence: '\.' 1245 | std::wregex regex(L"[a-zA-Z]{3,}(\.){0,1}[ \t]+[0-9]+(\.[0-9]+)*"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/document.cpp:1245:27: warning: unknown escape sequence: '\.' In file included from pdf_viewer/utf8.h:31, from pdf_viewer/utils.h:19, 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:16, 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 struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from pdf_viewer/main_widget.h:3: /usr/include/c++/12.2.1/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 struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ 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) { | ^~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here 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::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:134:15: required from here pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] 134 | virtual void on_return_no_select(const QString& text) { | ~~~~~~~~~~~~~~~^~~~ pdf_viewer/utils.cpp: In function 'void install_app(const char*)': pdf_viewer/utils.cpp:165:30: warning: unused parameter 'argv0' [-Wunused-parameter] 165 | void install_app(const char *argv0) | ~~~~~~~~~~~~^~~~~ pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here 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::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:134:15: required from here pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] 134 | virtual void on_return_no_select(const QString& text) { | ~~~~~~~~~~~~~~~^~~~ pdf_viewer/document_view.cpp: In member function 'int DocumentView::get_line_index_of_pos(DocumentPos)': pdf_viewer/document_view.cpp:997:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 997 | for (int i = 0; i < rects.size(); i++) { | ~~^~~~~~~~~~~~~~ pdf_viewer/document_view.cpp:1000:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1000 | for (int i = 0; i < rects.size(); i++) { | ~~^~~~~~~~~~~~~~ pdf_viewer/document_view.cpp:995:13: warning: unused variable 'page_width' [-Wunused-variable] 995 | int page_width = current_document->get_page_width(line_doc_pos.page); | ^~~~~~~~~~ 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/document_view.cpp: In member function 'std::vector DocumentView::find_line_definitions()': pdf_viewer/document_view.cpp:1039:49: warning: unknown escape sequence: '\.' 1039 | std::wstring item_regex(L"[a-zA-Z]{2,}[ \t]+[0-9]+(\.[0-9]+)*"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/document_view.cpp:1088:49: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1088 | if (vec->size() > max_size) { | ~~~~~~~~~~~~^~~~~~~~~~ pdf_viewer/document_view.cpp:1095:47: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1095 | if (i < vec->size()) { | ~~^~~~~~~~~~~~~ pdf_viewer/document_view.cpp:1084:29: warning: unused variable 'index' [-Wunused-variable] 1084 | int index = 0; | ^~~~~ pdf_viewer/utils.cpp: In function 'void index_generic(const std::vector&, int, std::vector&)': pdf_viewer/utils.cpp:1008:37: warning: unknown escape sequence: '\.' 1008 | std::wregex index_dst_regex(L"(^|\n)[A-Z][a-zA-Z]{2,}[ \t]+[0-9]+(\.[0-9]+)*"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/utils.cpp: In function 'void sleep_ms(unsigned int)': pdf_viewer/utils.cpp:1146:62: warning: narrowing conversion of '(((ms % 1000) * 1000) * 1000)' from 'unsigned int' to 'long int' [-Wnarrowing] 1146 | struct timespec ts = { ms / 1000, (ms % 1000) * 1000 * 1000 }; | ~~~~~~~~~~~~~~~~~~~^~~~~~ pdf_viewer/pdf_view_opengl_widget.cpp: In member function 'void PdfViewOpenGLWidget::render(QPainter*)': pdf_viewer/pdf_view_opengl_widget.cpp:851:45: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 851 | 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:1075:37: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 1075 | 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; | ^~~~~ pdf_viewer/utils.cpp: In function 'float line_num_penalty(int)': pdf_viewer/utils.cpp:1809:28: warning: unused parameter 'num' [-Wunused-parameter] 1809 | float line_num_penalty(int num) { | ~~~~^~~ pdf_viewer/utils.cpp: In function 'bool command_requires_text(std::wstring)': pdf_viewer/utils.cpp:2028:34: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2028 | if ((command.find(L"%5") != -1) || (command.find(L"command_text") != -1)) { | ~~~~~~~~~~~~~~~~~~~~^~~~~ pdf_viewer/utils.cpp:2028:75: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2028 | if ((command.find(L"%5") != -1) || (command.find(L"command_text") != -1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from pdf_viewer/utf8.h:31, from pdf_viewer/utils.h:19, from pdf_viewer/input.h:14, from pdf_viewer/main.cpp:53: pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12.2.1/string:45, from /usr/include/c++/12.2.1/bits/locale_classes.h:40, from /usr/include/c++/12.2.1/bits/ios_base.h:41, from /usr/include/c++/12.2.1/ios:42, from /usr/include/c++/12.2.1/ostream:38, from /usr/include/c++/12.2.1/iostream:39, from pdf_viewer/main.cpp:1: /usr/include/c++/12.2.1/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 struct std::iterator' is deprecated [-Wdeprecated-declarations] 179 | class iterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12.2.1/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ pdf_viewer/main_widget.cpp: In member function 'virtual void MainWidget::closeEvent(QCloseEvent*)': pdf_viewer/main_widget.cpp:275:42: warning: unused parameter 'close_event' [-Wunused-parameter] 275 | void MainWidget::closeEvent(QCloseEvent* close_event) { | ~~~~~~~~~~~~~^~~~~~~~~~~ pdf_viewer/main_widget.cpp: In member function 'virtual void MainWidget::on_config_file_changed(ConfigManager*)': pdf_viewer/main_widget.cpp:694:56: warning: unused parameter 'new_config' [-Wunused-parameter] 694 | void MainWidget::on_config_file_changed(ConfigManager* new_config) { | ~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from pdf_viewer/document_view.h:25: pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:562:32: required from here 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::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:636:18: required from here pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] pdf_viewer/main_widget.cpp: In member function 'void MainWidget::next_state()': pdf_viewer/main_widget.cpp:1286:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1286 | if (current_history_index + 1 < history.size()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ pdf_viewer/main_widget.cpp: In member function 'void MainWidget::prev_state()': pdf_viewer/main_widget.cpp:1321:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1321 | 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:1339:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1339 | 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:1544:24: warning: 'QPoint QWheelEvent::pos() const' is deprecated: Use position() [-Wdeprecated-declarations] 1544 | 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:1545:24: warning: 'QPoint QWheelEvent::pos() const' is deprecated: Use position() [-Wdeprecated-declarations] 1545 | 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:1549:44: warning: 'int QWheelEvent::delta() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations] 1549 | 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/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) { | ~~~~~~~~~~~~~~~^~~~ In file included from pdf_viewer/document_view.h:25: pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:562:32: required from here 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::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:636:18: required from here pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] pdf_viewer/main_widget.cpp: In member function 'void MainWidget::handle_command(const Command*, int)': pdf_viewer/main_widget.cpp:2039:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 2039 | for (int i = 0; i < windows.size(); i++) { | ~~^~~~~~~~~~~~~~~~ pdf_viewer/main_widget.cpp: In lambda function: pdf_viewer/main_widget.cpp:2046:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 2046 | if (*window_id < windows.size()) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ 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:369:22: warning: variable 'ret_val' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 369 | fz_document* ret_val = nullptr; | ^~~~~~~ pdf_viewer/sqlite3.c: In function 'sqlite3DefaultRowEst': 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/document_view.h:25: pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:562:32: required from here pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] 141 | virtual bool on_text_change(const QString& text) { | ~~~~~~~~~~~~~~~^~~~ 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/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:636:18: required from here pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] pdf_viewer/main_widget.cpp: In member function 'void MainWidget::execute_command(std::wstring, std::wstring, bool)': pdf_viewer/main_widget.cpp:3056:26: warning: ignoring return value of 'QString QString::arg(const QString&, int, QChar) const', declared with attribute 'nodiscard' [-Wunused-result] 3056 | 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:3058:72: warning: 'QString::SkipEmptyParts' is deprecated [-Wdeprecated-declarations] 3058 | 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:3058:72: warning: 'QString::SkipEmptyParts' is deprecated [-Wdeprecated-declarations] 3058 | 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:3058:45: warning: 'QStringList QString::split(const QRegExp&, SplitBehavior) const' is deprecated: Use split(const QRegularExpression &, Qt::SplitBehavior) variant instead [-Wdeprecated-declarations] 3058 | 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:3190:67: warning: 'const QRect QDesktopWidget::screenGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations] 3190 | 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:3191:68: warning: 'const QRect QDesktopWidget::screenGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations] 3191 | 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:3210:62: warning: 'int QDesktopWidget::numScreens() const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations] 3210 | 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:3214:78: warning: 'const QRect QDesktopWidget::screenGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations] 3214 | 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:3215:79: warning: 'const QRect QDesktopWidget::screenGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations] 3215 | 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; | ^~~~~~~~~~~~~~ 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/main_widget.cpp: In member function 'std::optional MainWidget::get_tag_rect(std::string)': pdf_viewer/main_widget.cpp:3401:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 3401 | if (index < word_rects.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~ pdf_viewer/main_widget.cpp: In member function 'virtual void MainWidget::focusInEvent(QFocusEvent*)': pdf_viewer/main_widget.cpp:3624:44: warning: unused parameter 'ev' [-Wunused-parameter] 3624 | 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:3689:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 3689 | for (int i = 0; i < line_texts.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ pdf_viewer/main_widget.cpp: In member function 'int MainWidget::get_current_monitor_width()': pdf_viewer/main_widget.cpp:3710:63: warning: 'const QRect QDesktopWidget::screenGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations] 3710 | 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:3719:63: warning: 'const QRect QDesktopWidget::screenGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations] 3719 | 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:3758:56: warning: 'static bool QProcess::startDetached(const QString&)' is deprecated: Use QProcess::startDetached(const QString &program, const QStringList &arguments) instead [-Wdeprecated-declarations] 3758 | 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/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) ); | ^~~~~~ pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here 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::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:134:15: required from here 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::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here 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::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:134:15: required from here 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::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here 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::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:134:15: required from here 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::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here 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::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:134:15: required from here pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] 134 | virtual void on_return_no_select(const QString& text) { | ~~~~~~~~~~~~~~~^~~~ pdf_viewer/document_view.cpp: In member function 'NormalizedWindowPos DocumentView::document_to_window_pos(DocumentPos)': pdf_viewer/document_view.cpp:327:1: warning: control reaches end of non-void function [-Wreturn-type] 327 | } | ^ pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here 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::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:134:15: required from here 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::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here 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::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:134:15: required from here pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] 134 | virtual void on_return_no_select(const QString& text) { | ~~~~~~~~~~~~~~~^~~~ 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/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 'printfFunc': pdf_viewer/pdf_view_opengl_widget.cpp: In member function 'float PdfViewOpenGLWidget::get_overview_side_pos(int)': pdf_viewer/pdf_view_opengl_widget.cpp:1193:1: warning: control reaches end of non-void function [-Wreturn-type] 1193 | } | ^ 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); | ^~~~~~~~~~~~~~ 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::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:562:32: required from here 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::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:636:18: required from here pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] pdf_viewer/main.cpp: In function 'void focus_on_widget(QWidget*)': pdf_viewer/main.cpp:601:54: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 601 | widget->setWindowState(widget->windowState() & ~Qt::WindowMinimized | Qt::WindowActive); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = int; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = int; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:457:40: required from 'FilteredSelectWindowClass::FilteredSelectWindowClass(std::vector >, std::vector, std::function, QWidget*, std::function) [with T = int]' pdf_viewer/main_widget.cpp:2004:28: required from here pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = int; ViewType = QTreeView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = int; ViewType = QTreeView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:298:18: required from 'FilteredTreeSelect::FilteredTreeSelect(QStandardItemModel*, std::function >&)>, QWidget*, std::vector >) [with T = int]' pdf_viewer/main_widget.cpp:2020:44: required from here pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:457:40: required from 'FilteredSelectWindowClass::FilteredSelectWindowClass(std::vector >, std::vector, std::function, QWidget*, std::function) [with T = std::__cxx11::basic_string]' pdf_viewer/main_widget.cpp:2092:5: required from here pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = float; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = float; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:359:40: required from 'FilteredSelectTableWindowClass::FilteredSelectTableWindowClass(std::vector >, std::vector >, std::vector, int, std::function, QWidget*, std::function) [with T = float]' pdf_viewer/main_widget.cpp:2152:14: required from here pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::vector; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::vector; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:359:40: required from 'FilteredSelectTableWindowClass::FilteredSelectTableWindowClass(std::vector >, std::vector >, std::vector, int, std::function, QWidget*, std::function) [with T = std::vector]' pdf_viewer/main_widget.cpp:2225:14: required from here pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = BookState; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = BookState; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:359:40: required from 'FilteredSelectTableWindowClass::FilteredSelectTableWindowClass(std::vector >, std::vector >, std::vector, int, std::function, QWidget*, std::function) [with T = BookState]' pdf_viewer/main_widget.cpp:2262:14: required from here pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] In file included from pdf_viewer/main.cpp:57: pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:562:32: required from here 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::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:134:15: required from here 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 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:636:18: required from here pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_return_no_select(const QString&) [with T = BookState; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:134:15: required from here pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = BookState; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here 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::on_return_no_select(const QString&) [with T = std::vector; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:134:15: required from here 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::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::vector; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here 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::on_return_no_select(const QString&) [with T = float; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:134:15: required from here 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::on_delete(const QModelIndex&, const QModelIndex&) [with T = float; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here 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::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:134:15: required from here 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::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here 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::on_delete(const QModelIndex&, const QModelIndex&) [with T = int; ViewType = QTreeView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here 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::on_return_no_select(const QString&) [with T = int; ViewType = QTreeView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:134:15: required from here 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::on_return_no_select(const QString&) [with T = int; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:134:15: required from here pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = int; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here 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::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here 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::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here 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::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:134:15: required from here 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::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here 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::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:134:15: required from here 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::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here 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::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:134:15: required from here 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 'bool MainWidget::execute_predefined_command(char)': pdf_viewer/main_widget.cpp:3677:1: warning: control reaches end of non-void function [-Wreturn-type] 3677 | } | ^ 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/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 'generateColumnNames': 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); | ^~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~ pdf_viewer/main.cpp: In function 'int main(int, char**)': pdf_viewer/main.cpp:637:14: warning: variable 'use_single_instance' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 637 | bool use_single_instance = !SHOULD_LAUNCH_NEW_INSTANCE; | ^~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:682:14: warning: variable 'fail' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 682 | bool fail = false; | ^~~~ pdf_viewer/document.cpp: In member function 'fz_outline* Document::get_toc_outline()': pdf_viewer/document.cpp:521:21: warning: variable 'res' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 521 | fz_outline* res = nullptr; | ^~~ pdf_viewer/document.cpp: In member function 'int Document::num_pages()': pdf_viewer/document.cpp:847:13: warning: variable 'pages' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 847 | int pages = -1; | ^~~~~ pdf_viewer/document.cpp: In member function 'fz_stext_page* Document::get_stext_with_page_number(fz_context*, int)': pdf_viewer/document.cpp:900:24: warning: variable 'stext_page' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 900 | fz_stext_page* stext_page = nullptr; | ^~~~~~~~~~ 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/sqlite3.c:158318:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 158318 | if( z[1]=='\'' ){ | ^ 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/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... >>> 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: 40.0 KB >>> sioyek-doc*: Compressing data... >>> sioyek-doc*: Create checksum... >>> sioyek-doc*: Create sioyek-doc-1.5.0-r1.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-x86.so.1 so:libgcc_s.so.1 so:libmupdf.so.1.21 so:libstdc++.so.6 so:libz.so.1 >>> sioyek*: Package size: 1.6 MB >>> sioyek*: Compressing data... >>> sioyek*: Create checksum... >>> sioyek*: Create sioyek-1.5.0-r1.apk >>> sioyek: Build complete at Wed, 09 Nov 2022 07:20:36 +0000 elapsed time 0h 0m 57s >>> sioyek: Cleaning up srcdir >>> sioyek: Cleaning up pkgdir >>> sioyek: Uninstalling dependencies... (1/178) Purging .makedepends-sioyek (20221109.071940) (2/178) Purging mupdf-dev (1.21.0-r0) (3/178) Purging mupdf-libs (1.21.0-r0) (4/178) Purging qt5-qt3d-dev (5.15.6_git20220907-r0) (5/178) Purging qt5-qt3d (5.15.6_git20220907-r0) (6/178) Purging qt5-qtwayland (5.15.6_git20220927-r1) (7/178) Purging git-perl (2.38.1-r0) (8/178) Purging perl-git (2.38.1-r0) (9/178) Purging perl-error (0.17029-r1) (10/178) Purging qt5-qtdeclarative-dev (5.15.6_git20220908-r0) (11/178) Purging qt5-qtbase-dev (5.15.6_git20221010-r0) (12/178) Purging qt5-qtbase-sqlite (5.15.6_git20221010-r0) (13/178) Purging qt5-qtbase-odbc (5.15.6_git20221010-r0) (14/178) Purging qt5-qtbase-postgresql (5.15.6_git20221010-r0) (15/178) Purging qt5-qtbase-mysql (5.15.6_git20221010-r0) (16/178) Purging qt5-qtbase-tds (5.15.6_git20221010-r0) (17/178) Purging dbus-dev (1.14.4-r0) (18/178) Purging fontconfig-dev (2.14.1-r0) (19/178) Purging freetype-dev (2.12.1-r0) (20/178) Purging libpng-dev (1.6.38-r0) (21/178) Purging libsm-dev (1.2.3-r1) (22/178) Purging mesa-dev (22.2.3-r0) (23/178) Purging libxdamage-dev (1.1.5-r1) (24/178) Purging libxshmfence-dev (1.3.1-r0) (25/178) Purging mesa-gles (22.2.3-r0) (26/178) Purging mesa-osmesa (22.2.3-r0) (27/178) Purging mesa-xatracker (22.2.3-r0) (28/178) Purging openssl-dev (3.0.7-r0) (29/178) Purging perl (5.36.0-r0) (30/178) Purging sqlite-dev (3.39.4-r0) (31/178) Purging glib-dev (2.74.1-r2) (32/178) Purging bzip2-dev (1.0.8-r3) (33/178) Purging docbook-xsl (1.79.2-r8) Executing docbook-xsl-1.79.2-r8.post-deinstall (34/178) Purging docbook-xml (4.5-r8) Executing docbook-xml-4.5-r8.post-deinstall (35/178) Purging gettext-dev (0.21.1-r1) (36/178) Purging gettext-asprintf (0.21.1-r1) (37/178) Purging gettext (0.21.1-r1) (38/178) Purging libxml2-utils (2.10.3-r1) (39/178) Purging libxslt (1.1.37-r0) (40/178) Purging python3 (3.10.8-r3) (41/178) Purging libffi-dev (3.4.4-r0) (42/178) Purging llvm15-libs (15.0.4-r0) (43/178) Purging qt5-qtdeclarative (5.15.6_git20220908-r0) (44/178) Purging qt5-qtbase-x11 (5.15.6_git20221010-r0) (45/178) Purging xdg-utils (1.1.3-r4) (46/178) Purging xset (1.2.4-r1) (47/178) Purging xprop (1.2.5-r1) (48/178) Purging gtk+3.0 (3.24.34-r7) Executing gtk+3.0-3.24.34-r7.post-deinstall (49/178) Purging gtk-update-icon-cache (3.24.34-r7) (50/178) Purging hicolor-icon-theme (0.17-r2) (51/178) Purging pango (1.50.11-r0) Executing pango-1.50.11-r0.pre-deinstall (52/178) Purging gdk-pixbuf (2.42.10-r0) Executing gdk-pixbuf-2.42.10-r0.pre-deinstall (53/178) Purging shared-mime-info (2.2-r2) Executing shared-mime-info-2.2-r2.post-deinstall (54/178) Purging libatk-bridge-2.0 (2.46.0-r0) (55/178) Purging at-spi2-core (2.46.0-r0) (56/178) Purging qt5-qtbase (5.15.6_git20221010-r0) (57/178) Purging desktop-file-utils (0.26-r1) (58/178) Purging cairo-gobject (1.17.6-r3) (59/178) Purging harfbuzz (5.3.1-r1) (60/178) Purging libatk-1.0 (2.46.0-r0) (61/178) Purging glib (2.74.1-r2) (62/178) Purging wayland-libs-cursor (1.21.0-r1) (63/178) Purging mesa-egl (22.2.3-r0) (64/178) Purging wayland-libs-client (1.21.0-r1) (65/178) Purging cups-libs (2.4.2-r1) (66/178) Purging gnutls (3.7.8-r2) (67/178) Purging p11-kit (0.24.1-r1) (68/178) Purging mesa-gbm (22.2.3-r0) (69/178) Purging wayland-libs-server (1.21.0-r1) (70/178) Purging libffi (3.4.4-r0) (71/178) Purging gettext-libs (0.21.1-r1) (72/178) Purging avahi-libs (0.8-r6) (73/178) Purging libintl (0.21.1-r1) (74/178) Purging util-linux-dev (2.38.1-r0) (75/178) Purging libfdisk (2.38.1-r0) (76/178) Purging libmount (2.38.1-r0) (77/178) Purging libsmartcols (2.38.1-r0) (78/178) Purging libblkid (2.38.1-r0) (79/178) Purging cairo (1.17.6-r3) (80/178) Purging libxft (2.3.6-r0) (81/178) Purging fontconfig (2.14.1-r0) (82/178) Purging freetype (2.12.1-r0) (83/178) Purging libpng (1.6.38-r0) (84/178) Purging gumbo-parser (0.10.1-r1) (85/178) Purging graphite2 (1.3.14-r2) (86/178) Purging jbig2dec (0.19-r1) (87/178) Purging tiff (4.4.0-r1) (88/178) Purging libjpeg-turbo (2.1.4-r0) (89/178) Purging mujs-libs (1.3.0-r0) (90/178) Purging openjpeg (2.5.0-r0) (91/178) Purging icu-libs (72.1-r1) (92/178) Purging icu-data-full (72.1-r1) (93/178) Purging dbus-libs (1.14.4-r0) (94/178) Purging pcre2-dev (10.40-r0) (95/178) Purging libedit-dev (20221030.3.1-r0) (96/178) Purging bsd-compat-headers (0.7.2-r3) (97/178) Purging ncurses-dev (6.3_p20221029-r0) (98/178) Purging zlib-dev (1.2.13-r0) (99/178) Purging libpcre2-32 (10.40-r0) (100/178) Purging libpcre2-16 (10.40-r0) (101/178) Purging sqlite-libs (3.39.4-r0) (102/178) Purging freetds (1.3.13-r0) (103/178) Purging unixodbc (2.3.11-r0) (104/178) Purging readline (8.2.0-r0) (105/178) Purging libpq (14.5-r3) (106/178) Purging mariadb-connector-c (3.3.3-r0) (107/178) Purging libxxf86vm-dev (1.1.5-r0) (108/178) Purging libxfixes-dev (6.0.0-r0) (109/178) Purging libxext-dev (1.3.5-r0) (110/178) Purging libx11-dev (1.8.1-r1) (111/178) Purging xtrans (1.4.0-r2) (112/178) Purging libxcb-dev (1.15-r0) (113/178) Purging xcb-proto (1.15.2-r0) (114/178) Purging libxau-dev (1.0.10-r0) (115/178) Purging mesa-gl (22.2.3-r0) (116/178) Purging mesa (22.2.3-r0) (117/178) Purging xcb-util-renderutil (0.3.10-r0) (118/178) Purging xcb-util-image (0.4.1-r0) (119/178) Purging libxkbcommon-x11 (1.4.1-r0) (120/178) Purging xcb-util-wm (0.4.2-r0) (121/178) Purging libxmu (1.1.4-r0) (122/178) Purging libxi (1.8-r0) (123/178) Purging libxrandr (1.5.2-r1) (124/178) Purging libxinerama (1.1.5-r0) (125/178) Purging libxtst (1.2.4-r0) (126/178) Purging libxxf86vm (1.1.5-r0) (127/178) Purging libxext (1.3.5-r0) (128/178) Purging libxcursor (1.2.1-r1) (129/178) Purging libxdamage (1.1.5-r1) (130/178) Purging libxrender (0.9.11-r0) (131/178) Purging libxt (1.2.1-r0) (132/178) Purging libxcomposite (0.4.5-r1) (133/178) Purging libxfixes (6.0.0-r0) (134/178) Purging libx11 (1.8.1-r1) (135/178) Purging xcb-util-keysyms (0.4.1-r0) (136/178) Purging xcb-util (0.4.0-r3) (137/178) Purging libxcb (1.15-r0) (138/178) Purging libxau (1.0.10-r0) (139/178) Purging libxdmcp-dev (1.1.3-r1) (140/178) Purging libxdmcp (1.1.3-r1) (141/178) Purging libbsd (0.11.7-r0) (142/178) Purging libmd (1.0.4-r0) (143/178) Purging libice-dev (1.0.10-r1) (144/178) Purging libsm (1.2.3-r1) (145/178) Purging libice (1.0.10-r1) (146/178) Purging libuuid (2.38.1-r0) (147/178) Purging libdrm-dev (2.4.114-r0) (148/178) Purging linux-headers (5.19.5-r0) (149/178) Purging libdrm (2.4.114-r0) (150/178) Purging libpciaccess-dev (0.17-r0) (151/178) Purging libpciaccess (0.17-r0) (152/178) Purging hwdata-pci (0.364-r0) (153/178) Purging mesa-glapi (22.2.3-r0) (154/178) Purging libxshmfence (1.3.1-r0) (155/178) Purging nettle (3.8.1-r0) (156/178) Purging libtasn1 (4.19.0-r0) (157/178) Purging libunistring (1.1-r0) (158/178) Purging libxkbcommon (1.4.1-r0) (159/178) Purging xkeyboard-config (2.37-r0) (160/178) Purging libxml2 (2.10.3-r1) (161/178) Purging libwebp (1.2.4-r1) (162/178) Purging pixman (0.42.2-r0) (163/178) Purging libepoxy (1.5.10-r0) (164/178) Purging fribidi (1.0.12-r0) (165/178) Purging wayland-libs-egl (1.21.0-r1) (166/178) Purging libinput-libs (1.21.0-r0) (167/178) Purging libevdev (1.13.0-r0) (168/178) Purging mtdev (1.1.6-r1) (169/178) Purging eudev-libs (3.2.11-r2) (170/178) Purging expat-dev (2.5.0-r0) (171/178) Purging expat (2.5.0-r0) (172/178) Purging brotli-dev (1.0.9-r9) (173/178) Purging brotli (1.0.9-r9) (174/178) Purging libgcrypt (1.10.1-r0) (175/178) Purging libgpg-error (1.46-r1) (176/178) Purging gdbm (1.23-r0) (177/178) Purging mpdecimal (2.5.1-r1) (178/178) Purging xorgproto (2022.2-r0) Executing busybox-1.35.0-r27.trigger OK: 380 MiB in 103 packages >>> sioyek: Updating the community/x86 repository index... >>> sioyek: Signing the index...