Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/sioyek.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1638327679.520914/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.byofol99:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.byofol99:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '794dd383387d4883b72d4ff78b2197bb', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1638327679.520914/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.byofol99:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/sioyek.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False warning: Macro expanded in comment on line 15: %{version}.tar.gz Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1638230400 Wrote: /builddir/build/SRPMS/sioyek-1.0.0-1.fc36.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/sioyek.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1638327679.520914/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.byofol99:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.byofol99:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '47f5dcaa03074b8cb5eebe54c9480988', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1638327679.520914/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.byofol99:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/sioyek.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False warning: Macro expanded in comment on line 15: %{version}.tar.gz Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1638230400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HYjS8I + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f + /usr/bin/gzip -dc /builddir/build/SOURCES/ahrm-a62085.tar.gz + /usr/bin/tar -xvvof - drwxrwxr-x root/root 0 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/ -rw-rw-r-- root/root 2518 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/.gitattributes drwxrwxr-x root/root 0 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/.github/ drwxrwxr-x root/root 0 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/.github/workflows/ -rw-rw-r-- root/root 7831 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/.github/workflows/build_and_release.yml -rw-rw-r-- root/root 5950 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/.gitignore -rw-rw-r-- root/root 152 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/.gitmodules -rw-rw-r-- root/root 35149 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/LICENSE -rw-rw-r-- root/root 4796 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/README.md -rwxrwxr-x root/root 2167 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/build_and_release.sh -rwxrwxr-x root/root 418 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/build_linux.sh -rw-rw-r-- root/root 1368 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/build_mac.sh -rw-rw-r-- root/root 1350 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/build_windows.bat -rwxrwxr-x root/root 52 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/delete_build.sh drwxrwxr-x root/root 0 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/mupdf/ drwxrwxr-x root/root 0 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/ -rw-rw-r-- root/root 153 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/.gitignore -rw-rw-r-- root/root 3811 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/RunGuard.cpp -rw-rw-r-- root/root 2009 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/RunGuard.h -rw-rw-r-- root/root 3501 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/book.cpp -rw-rw-r-- root/root 4324 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/book.h -rw-rw-r-- root/root 2012 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/checksum.cpp -rw-rw-r-- root/root 664 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/checksum.h -rw-rw-r-- root/root 9401 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/config.cpp -rw-rw-r-- root/root 1403 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/config.h drwxrwxr-x root/root 0 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/data/ -rw-rw-r-- root/root 63 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/data/last_document_path.txt -rw-rw-r-- root/root 40415 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/database.cpp -rw-rw-r-- root/root 3421 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/database.h -rw-rw-r-- root/root 36340 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/document.cpp -rw-rw-r-- root/root 8016 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/document.h -rw-rw-r-- root/root 22360 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/document_view.cpp -rw-rw-r-- root/root 5155 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/document_view.h drwxrwxr-x root/root 0 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/fonts/ -rw-rw-r-- root/root 59872 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/fonts/monaco.ttf -rw-rw-r-- root/root 266464 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/fonts/msuighub.ttf -rw-rw-r-- root/root 260352 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/fonts/msuighur.ttf -rw-rw-r-- root/root 8449 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/fts_fuzzy_match.h -rw-rw-r-- root/root 34418 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/icon1.ico -rw-rw-r-- root/root 42508 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/icon2.ico -rw-rw-r-- root/root 16779 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/input.cpp -rw-rw-r-- root/root 2111 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/input.h -rw-rw-r-- root/root 7644 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/keys.config -rw-rw-r-- root/root 0 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/keys_user.config -rw-rw-r-- root/root 18223 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/main.cpp -rw-rw-r-- root/root 78265 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/main_widget.cpp -rw-rw-r-- root/root 7459 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/main_widget.h -rw-rw-r-- root/root 2493 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/path.cpp -rw-rw-r-- root/root 651 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/path.h -rw-rw-r-- root/root 13945 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/pdf_renderer.cpp -rw-rw-r-- root/root 3285 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/pdf_renderer.h -rw-rw-r-- root/root 33844 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/pdf_view_opengl_widget.cpp -rw-rw-r-- root/root 5580 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/pdf_view_opengl_widget.h -rw-rw-r-- root/root 4892 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/prefs.config -rw-rw-r-- root/root 0 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/prefs_user.config drwxrwxr-x root/root 0 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/shaders/ -rw-rw-r-- root/root 240 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/shaders/dark_mode.fragment -rw-rw-r-- root/root 121 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/shaders/debug.fragment -rw-rw-r-- root/root 154 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/shaders/highlight.fragment -rw-rw-r-- root/root 168 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/shaders/simple.fragment -rw-rw-r-- root/root 246 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/shaders/simple.vertex -rw-rw-r-- root/root 277 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/shaders/undendered_page.fragment -rw-rw-r-- root/root 273 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/shaders/unrendered_page.fragment -rw-rw-r-- root/root 827 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/shaders/vertical_bar.fragment -rw-rw-r-- root/root 201 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/shaders/vertical_bar_dark.fragment -rw-rw-r-- root/root 591565 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/shell.c -rw-rw-r-- root/root 8074669 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/sqlite3.c -rw-rw-r-- root/root 576161 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/sqlite3.h -rw-rw-r-- root/root 34802 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/sqlite3ext.h drwxrwxr-x root/root 0 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/synctex/ -rw-rw-r-- root/root 158347 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/synctex/synctex_parser.c -rw-rw-r-- root/root 15245 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/synctex/synctex_parser.h -rw-rw-r-- root/root 1738 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/synctex/synctex_parser_local.h -rw-rw-r-- root/root 16398 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/synctex/synctex_parser_utils.c -rw-rw-r-- root/root 5315 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/synctex/synctex_parser_utils.h -rw-rw-r-- root/root 2283 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/ui.cpp -rw-rw-r-- root/root 14721 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/ui.h -rw-rw-r-- root/root 1521 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/utf8.h drwxrwxr-x root/root 0 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/utf8/ -rw-rw-r-- root/root 12172 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/utf8/checked.h -rw-rw-r-- root/root 10697 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/utf8/core.h -rw-rw-r-- root/root 8907 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/utf8/unchecked.h -rw-rw-r-- root/root 35831 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/utils.cpp -rw-rw-r-- root/root 6103 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer/utils.h -rw-rw-r-- root/root 3098 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer_build_config.pro drwxrwxr-x root/root 0 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/resources/ -rw-rw-r-- root/root 23815 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/resources/sioyek-icon-linux.png -rw-rw-r-- root/root 38726 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/resources/sioyek.1 -rw-rw-r-- root/root 142 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/resources/sioyek.desktop -rwxrwxr-x root/root 238698 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/tutorial.pdf drwxrwxr-x root/root 0 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/windows_runtime/ -rw-rw-r-- root/root 2790224 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/windows_runtime/libcrypto-1_1-x64.dll -rw-rw-r-- root/root 567120 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/windows_runtime/libssl-1_1-x64.dll -rw-rw-r-- root/root 37256 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/windows_runtime/vcruntime140_1.dll drwxrwxr-x root/root 0 2021-11-28 17:50 sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/zlib/ + STATUS=0 + '[' 0 -ne 0 ']' + cd sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -E 's/should_launch_new_instance[ \t]+0/should_launch_new_instance 1/' pdf_viewer/prefs.config + sed -i 's/-lmupdf-third -lmupdf-threads -lharfbuzz/-lmupdf-third -lharfbuzz -lfreetype -lgumbo -ljbig2dec -lopenjp2 -ljpeg -ltesseract -llept/' pdf_viewer_build_config.pro + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1bpIE1 + umask 022 + cd /builddir/build/BUILD + cd sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f + qmake-qt5 pdf_viewer_build_config.pro DEFINES+=LINUX_STANDARD_PATHS Info: creating stash file /builddir/build/BUILD/sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/.qmake.stash + /usr/bin/make -O -j2 V=1 VERBOSE=1 g++ -c -pipe -std=c++17 -O2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DCORE_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_QUICKWIDGETS_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DRENDER_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_QMLMODELS_LIB -DQT_QML_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/QtQuickWidgets -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/Qt3DAnimation -I/usr/include/qt5/Qt3DExtras -I/usr/include/qt5/Qt3DRender -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DLogic -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/../lib64/qt5/mkspecs/linux-g++ -o book.o pdf_viewer/book.cpp g++ -c -pipe -std=c++17 -O2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DCORE_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_QUICKWIDGETS_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DRENDER_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_QMLMODELS_LIB -DQT_QML_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/QtQuickWidgets -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/Qt3DAnimation -I/usr/include/qt5/Qt3DExtras -I/usr/include/qt5/Qt3DRender -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DLogic -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/../lib64/qt5/mkspecs/linux-g++ -o config.o pdf_viewer/config.cpp g++ -c -pipe -std=c++17 -O2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DCORE_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_QUICKWIDGETS_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DRENDER_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_QMLMODELS_LIB -DQT_QML_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/QtQuickWidgets -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/Qt3DAnimation -I/usr/include/qt5/Qt3DExtras -I/usr/include/qt5/Qt3DRender -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DLogic -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/../lib64/qt5/mkspecs/linux-g++ -o database.o pdf_viewer/database.cpp pdf_viewer/database.cpp:408:1: warning: multi-line comment [-Wcomment] 408 | // const char* insert_books_sql = ""\ | ^ 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) { | ~~~~~~~^~~~~~~~ pdf_viewer/database.cpp: In member function 'void DatabaseManager::split_database(const wstring&, const wstring&, bool)': pdf_viewer/database.cpp:870:25: warning: loop variable '' creates a copy from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 870 | for (const auto [path, hash_] : path_hash) { | ^~~~~~~~~~~~~ pdf_viewer/database.cpp:870:25: note: use reference type to prevent copying 870 | for (const auto [path, hash_] : path_hash) { | ^~~~~~~~~~~~~ | & pdf_viewer/database.cpp:930:25: warning: loop variable '' creates a copy from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 930 | for (const auto [path, hash] : path_hash) { | ^~~~~~~~~~~~ pdf_viewer/database.cpp:930:25: note: use reference type to prevent copying 930 | for (const auto [path, hash] : path_hash) { | ^~~~~~~~~~~~ | & pdf_viewer/database.cpp:934:25: warning: loop variable '' creates a copy from type 'const std::pair, OpenedBookState>' [-Wrange-loop-construct] 934 | for (const auto [hash, book_state] : opened_book_states) { | ^~~~~~~~~~~~~~~~~~ pdf_viewer/database.cpp:934:25: note: use reference type to prevent copying 934 | for (const auto [hash, book_state] : opened_book_states) { | ^~~~~~~~~~~~~~~~~~ | & pdf_viewer/database.cpp:937:25: warning: loop variable '' creates a copy from type 'const std::pair, Mark>' [-Wrange-loop-construct] 937 | for (const auto [hash, mark] : marks) { | ^~~~~~~~~~~~ pdf_viewer/database.cpp:937:25: note: use reference type to prevent copying 937 | for (const auto [hash, mark] : marks) { | ^~~~~~~~~~~~ | & pdf_viewer/database.cpp:940:25: warning: loop variable '' creates a copy from type 'const std::pair, BookMark>' [-Wrange-loop-construct] 940 | for (const auto [hash, bookmark] : bookmarks) { | ^~~~~~~~~~~~~~~~ pdf_viewer/database.cpp:940:25: note: use reference type to prevent copying 940 | for (const auto [hash, bookmark] : bookmarks) { | ^~~~~~~~~~~~~~~~ | & pdf_viewer/database.cpp:943:25: warning: loop variable '' creates a copy from type 'const std::pair, Highlight>' [-Wrange-loop-construct] 943 | for (const auto [hash, highlight] : highlights) { | ^~~~~~~~~~~~~~~~~ pdf_viewer/database.cpp:943:25: note: use reference type to prevent copying 943 | for (const auto [hash, highlight] : highlights) { | ^~~~~~~~~~~~~~~~~ | & pdf_viewer/database.cpp:954:25: warning: loop variable '' creates a copy from type 'const std::pair, Link>' [-Wrange-loop-construct] 954 | for (const auto [hash, portal] : portals) { | ^~~~~~~~~~~~~~ pdf_viewer/database.cpp:954:25: note: use reference type to prevent copying 954 | for (const auto [hash, portal] : portals) { | ^~~~~~~~~~~~~~ | & pdf_viewer/database.cpp:853:18: warning: unused variable 'prev_database' [-Wunused-variable] 853 | sqlite3* prev_database = local_db; | ^~~~~~~~~~~~~ pdf_viewer/database.cpp: In member function 'void DatabaseManager::export_json(std::wstring, CachedChecksummer*)': pdf_viewer/database.cpp:1003:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1003 | for (int i = 0; i < prev_doc_checksums.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/database.cpp: In function 'std::string create_select_query(std::string, std::vector >, std::unordered_map, std::variant, std::allocator >, std::__cxx11::basic_string, std::allocator >, int, char, float> >)': pdf_viewer/database.cpp:1165:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1165 | for (int i = 0; i < selections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ pdf_viewer/database.cpp:1167:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1167 | if (i < (selections.size() - 1)) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/database.cpp:1199:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::unordered_map, std::variant, std::allocator >, std::__cxx11::basic_string, std::allocator >, int, char, float> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1199 | if (index != values.size()) { | ~~~~~~^~~~~~~~~~~~~~~~ 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) { | ^~~~~~~~~~~~~~~~~~~~~~ g++ -c -pipe -std=c++17 -O2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DCORE_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_QUICKWIDGETS_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DRENDER_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_QMLMODELS_LIB -DQT_QML_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/QtQuickWidgets -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/Qt3DAnimation -I/usr/include/qt5/Qt3DExtras -I/usr/include/qt5/Qt3DRender -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DLogic -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/../lib64/qt5/mkspecs/linux-g++ -o document_view.o pdf_viewer/document_view.cpp In file included from pdf_viewer/document_view.h:25, from pdf_viewer/document_view.cpp:1: pdf_viewer/ui.h: In member function 'QList CommandSelector::get_item(std::string)': pdf_viewer/ui.h:328:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 328 | for (int i = 0; i < command_keys.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ pdf_viewer/ui.h: In member function 'QStandardItemModel* CommandSelector::get_standard_item_model(std::vector >)': pdf_viewer/ui.h:347:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 347 | for (int i = 0; i < command_names.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/ui.h: In constructor 'CommandSelector::CommandSelector(std::function)>*, QWidget*, QStringList, std::unordered_map, std::vector > >)': pdf_viewer/ui.h:320:43: warning: 'CommandSelector::on_done' will be initialized after [-Wreorder] 320 | std::function* on_done = nullptr; | ^~~~~~~ pdf_viewer/ui.h:319:67: warning: 'std::unordered_map, std::vector > > CommandSelector::key_map' [-Wreorder] 319 | std::unordered_map> key_map; | ^~~~~~~ pdf_viewer/ui.h:377:9: warning: when initialized here [-Wreorder] 377 | CommandSelector(std::function* on_done, | ^~~~~~~~~~~~~~~ pdf_viewer/ui.h: In member function 'virtual void CommandSelector::on_return_no_select(const QString&)': pdf_viewer/ui.h:402:57: warning: unused parameter 'text' [-Wunused-parameter] 402 | virtual void on_return_no_select(const QString& text) { | ~~~~~~~~~~~~~~~^~~~ In file included from pdf_viewer/document_view.cpp:1: pdf_viewer/document_view.h: In constructor 'DocumentView::DocumentView(fz_context*, DatabaseManager*, DocumentManager*, ConfigManager*, CachedChecksummer*)': pdf_viewer/document_view.h:38:26: warning: 'DocumentView::document_manager' will be initialized after [-Wreorder] 38 | DocumentManager* document_manager = nullptr; | ^~~~~~~~~~~~~~~~ pdf_viewer/document_view.h:37:24: warning: 'ConfigManager* DocumentView::config_manager' [-Wreorder] 37 | ConfigManager* config_manager = nullptr; | ^~~~~~~~~~~~~~ pdf_viewer/document_view.cpp:5:1: warning: when initialized here [-Wreorder] 5 | DocumentView::DocumentView( fz_context* mupdf_context, | ^~~~~~~~~~~~ pdf_viewer/document_view.cpp: In member function 'std::optional DocumentView::get_link_in_pos(int, int)': pdf_viewer/document_view.cpp:238:22: warning: unused variable 'found' [-Wunused-variable] 238 | bool found = false; | ^~~~~ pdf_viewer/document_view.cpp: In member function 'int DocumentView::get_highlight_index_in_pos(int, int)': pdf_viewer/document_view.cpp:260:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 260 | for (int i = 0; i < highlights.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ pdf_viewer/document_view.cpp:261:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 261 | for (int j = 0; j < highlights[i].highlight_rects.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/document_view.cpp: In member function 'std::optional > DocumentView::get_current_page_range()': pdf_viewer/document_view.cpp:679:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 679 | if (ci < chapter_pages.size() - 1) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/document_view.cpp: In member function 'void DocumentView::get_page_chapter_index(int, std::vector, std::vector >&)': pdf_viewer/document_view.cpp:689:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 689 | for (int i = 0; i < nodes.size(); i++) { | ~~^~~~~~~~~~~~~~ pdf_viewer/document_view.cpp:690:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 690 | if ((i == nodes.size() - 1) && (nodes[i]->page <= page)) { | ~~^~~~~~~~~~~~~~~~~~~ pdf_viewer/document_view.cpp: In member function 'void DocumentView::goto_chapter(int)': pdf_viewer/document_view.cpp:720:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 720 | while (index < chapter_pages.size() && chapter_pages[index] < curr_page) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/document_view.cpp:728:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 728 | else if (new_index >= chapter_pages.size()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from pdf_viewer/document_view.h:25, from pdf_viewer/document_view.cpp:1: 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:101:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:383:18: required from here pdf_viewer/ui.h:126:52: warning: unused parameter 'text' [-Wunused-parameter] 126 | 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:101:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:443:18: required from here pdf_viewer/ui.h:126:52: warning: unused parameter 'text' [-Wunused-parameter] 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:122:15: required from here pdf_viewer/ui.h:122:51: warning: unused parameter 'source_index' [-Wunused-parameter] 122 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ pdf_viewer/ui.h:122:84: warning: unused parameter 'selected_index' [-Wunused-parameter] 122 | 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:123:15: required from here pdf_viewer/ui.h:123:57: warning: unused parameter 'text' [-Wunused-parameter] 123 | 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:122:15: required from here pdf_viewer/ui.h:122:51: warning: unused parameter 'source_index' [-Wunused-parameter] 122 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ pdf_viewer/ui.h:122:84: warning: unused parameter 'selected_index' [-Wunused-parameter] 122 | 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:123:15: required from here pdf_viewer/ui.h:123:57: warning: unused parameter 'text' [-Wunused-parameter] 123 | virtual void on_return_no_select(const QString& text) {} | ~~~~~~~~~~~~~~~^~~~ g++ -c -pipe -std=c++17 -O2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DCORE_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_QUICKWIDGETS_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DRENDER_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_QMLMODELS_LIB -DQT_QML_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/QtQuickWidgets -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/Qt3DAnimation -I/usr/include/qt5/Qt3DExtras -I/usr/include/qt5/Qt3DRender -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DLogic -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/../lib64/qt5/mkspecs/linux-g++ -o document.o pdf_viewer/document.cpp pdf_viewer/document.cpp: In member function 'int Document::get_mark_index(char)': pdf_viewer/document.cpp:16:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 16 | for (int i = 0; i < marks.size(); i++) { | ~~^~~~~~~~~~~~~~ pdf_viewer/document.cpp: In member function 'void Document::fill_highlight_rects(fz_context*)': pdf_viewer/document.cpp:46:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 46 | for (int i = 0; i < highlights.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ pdf_viewer/document.cpp: In member function 'void Document::delete_highlight_with_offsets(float, float, float, float)': pdf_viewer/document.cpp:148:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 148 | for (int i = 0; i < highlights.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ pdf_viewer/document.cpp: In member function 'bool Document::remove_mark(char)': pdf_viewer/document.cpp:240:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 240 | for (int i = 0; i < marks.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from pdf_viewer/document.cpp:1: pdf_viewer/document.h: In constructor 'Document::Document(fz_context*, std::wstring, DatabaseManager*, CachedChecksummer*)': pdf_viewer/document.h:90:22: warning: 'Document::doc' will be initialized after [-Wreorder] 90 | fz_document* doc = nullptr; | ^~~ pdf_viewer/document.h:32:26: warning: 'DatabaseManager* Document::db_manager' [-Wreorder] 32 | DatabaseManager* db_manager = nullptr; | ^~~~~~~~~~ pdf_viewer/document.cpp:258:1: warning: when initialized here [-Wreorder] 258 | Document::Document(fz_context* context, std::wstring file_name, DatabaseManager* db, CachedChecksummer* checksummer) : | ^~~~~~~~ pdf_viewer/document.cpp: In member function 'void Document::count_chapter_pages_accum(std::vector >&)': pdf_viewer/document.cpp:283:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 283 | for (int i = 0; i < raw_page_count.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/document.cpp: In member function 'float Document::get_page_height(int)': pdf_viewer/document.cpp:312:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 312 | if ((page_index >= 0) && (page_index < page_heights.size())) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ pdf_viewer/document.cpp: In member function 'float Document::get_page_width(int)': pdf_viewer/document.cpp:322:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 322 | if ((page_index >= 0) && (page_index < page_widths.size())) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ pdf_viewer/document.cpp: In member function 'void Document::convert_toc_tree(fz_outline*, std::vector&)': pdf_viewer/document.cpp:459:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 459 | } while (root = root->next); | ~~~~~^~~~~~~~~~~~ pdf_viewer/document.cpp: In member function 'void Document::get_visible_pages(float, float, std::vector >&)': pdf_viewer/document.cpp:585:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 585 | for (int i = 0; i < page_heights.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ pdf_viewer/document.cpp: In member function 'void Document::absolute_to_page_pos(float, float, float*, float*, int*)': pdf_viewer/document.cpp:790:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 790 | if (i < accum_page_heights.size()) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/document.cpp: In lambda function: pdf_viewer/document.cpp:884:22: warning: unused variable 'focus_next' [-Wunused-variable] 884 | bool focus_next = false; | ^~~~~~~~~~ pdf_viewer/document.cpp: In member function 'std::optional > Document::get_regex_match_at_position(const wregex&, const std::vector&, float, float)': pdf_viewer/document.cpp:990:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 990 | for (int i = 0; i < match_ranges.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ pdf_viewer/document.cpp: In member function 'bool Document::find_generic_location(const wstring&, const wstring&, int*, float*)': pdf_viewer/document.cpp:1007:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1007 | for (int i = 0; i < generic_indices.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ 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:1041:27: warning: unknown escape sequence: '\.' 1041 | std::wregex regex(L"[a-zA-Z]{3,}[ \t]+[0-9]+(\.[0-9]+)*"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/document.cpp: In member function 'void Document::get_text_selection(fz_context*, fz_point, fz_point, bool, std::vector&, std::wstring&)': pdf_viewer/document.cpp:1249:17: warning: unused variable 'page_rect' [-Wunused-variable] 1249 | fz_rect page_rect; | ^~~~~~~~~ In file included from pdf_viewer/database.h:9, from pdf_viewer/document.h:19, from pdf_viewer/document.cpp:1: pdf_viewer/utils.h: In instantiation of 'int argminf(const std::vector&, std::function) [with T = BookMark]': pdf_viewer/document.cpp:117:35: required from here pdf_viewer/utils.h:35:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 35 | for (int i = 0; i < collection.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ pdf_viewer/utils.h: In instantiation of 'int argminf(const std::vector&, std::function) [with T = Link]': pdf_viewer/document.cpp:165:31: required from here pdf_viewer/utils.h:35:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] pdf_viewer/document.cpp: In member function 'fz_outline* Document::get_toc_outline()': pdf_viewer/document.cpp:410:21: warning: variable 'res' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 410 | fz_outline* res = nullptr; | ^~~ pdf_viewer/document.cpp: In member function 'int Document::num_pages()': pdf_viewer/document.cpp:694:13: warning: variable 'pages' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 694 | 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:750:24: warning: variable 'stext_page' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 750 | fz_stext_page* stext_page = nullptr; | ^~~~~~~~~~ g++ -c -pipe -std=c++17 -O2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DCORE_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_QUICKWIDGETS_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DRENDER_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_QMLMODELS_LIB -DQT_QML_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/QtQuickWidgets -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/Qt3DAnimation -I/usr/include/qt5/Qt3DExtras -I/usr/include/qt5/Qt3DRender -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DLogic -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/../lib64/qt5/mkspecs/linux-g++ -o input.o pdf_viewer/input.cpp pdf_viewer/input.cpp: In function 'InputParseTreeNode parse_token(std::string)': pdf_viewer/input.cpp:148:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 148 | for (int i = 0; i < subcommands.size() - 1; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/input.cpp: In function 'InputParseTreeNode* parse_lines(InputParseTreeNode*, std::vector >, std::vector >)': pdf_viewer/input.cpp:237:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 237 | for (int j = 0; j < lines.size(); j++) { | ~~^~~~~~~~~~~~~~ pdf_viewer/input.cpp:246:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 246 | for (int i = 0; i < tokens.size(); i++) { | ~~^~~~~~~~~~~~~~~ pdf_viewer/input.cpp:279:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 279 | if (i == (tokens.size() - 1)) { | ~~^~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/input.cpp: In function 'InputParseTreeNode* parse_key_config_files(const Path&, const std::vector&)': pdf_viewer/input.cpp:328:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 328 | for (int i = 0; i < user_paths.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ pdf_viewer/input.cpp: In member function 'void InputHandler::delete_current_parse_tree(InputParseTreeNode*)': pdf_viewer/input.cpp:413:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 413 | for (int i = 0; i < node_to_delete->children.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/input.cpp: In member function 'void InputHandler::add_command_key_mappings(InputParseTreeNode*, std::unordered_map, std::vector > >&, std::vector) const': pdf_viewer/input.cpp:468:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 468 | for (int i = 0; i < thisroot->children.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/input.cpp: In member function 'std::string InputHandler::get_key_string_from_tree_node_sequence(std::vector) const': pdf_viewer/input.cpp:513:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 513 | for (int i = 0; i < seq.size(); i++) { | ~~^~~~~~~~~~~~ g++ -c -pipe -std=c++17 -O2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DCORE_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_QUICKWIDGETS_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DRENDER_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_QMLMODELS_LIB -DQT_QML_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/QtQuickWidgets -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/Qt3DAnimation -I/usr/include/qt5/Qt3DExtras -I/usr/include/qt5/Qt3DRender -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DLogic -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/../lib64/qt5/mkspecs/linux-g++ -o main.o pdf_viewer/main.cpp In file included from pdf_viewer/main.cpp:66: pdf_viewer/ui.h: In member function 'QList CommandSelector::get_item(std::string)': pdf_viewer/ui.h:328:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 328 | for (int i = 0; i < command_keys.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ pdf_viewer/ui.h: In member function 'QStandardItemModel* CommandSelector::get_standard_item_model(std::vector >)': pdf_viewer/ui.h:347:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 347 | for (int i = 0; i < command_names.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/ui.h: In constructor 'CommandSelector::CommandSelector(std::function)>*, QWidget*, QStringList, std::unordered_map, std::vector > >)': pdf_viewer/ui.h:320:43: warning: 'CommandSelector::on_done' will be initialized after [-Wreorder] 320 | std::function* on_done = nullptr; | ^~~~~~~ pdf_viewer/ui.h:319:67: warning: 'std::unordered_map, std::vector > > CommandSelector::key_map' [-Wreorder] 319 | std::unordered_map> key_map; | ^~~~~~~ pdf_viewer/ui.h:377:9: warning: when initialized here [-Wreorder] 377 | CommandSelector(std::function* on_done, | ^~~~~~~~~~~~~~~ pdf_viewer/ui.h: In member function 'virtual void CommandSelector::on_return_no_select(const QString&)': pdf_viewer/ui.h:402:57: warning: unused parameter 'text' [-Wunused-parameter] 402 | virtual void on_return_no_select(const QString& text) { | ~~~~~~~~~~~~~~~^~~~ pdf_viewer/main.cpp: At global scope: pdf_viewer/main.cpp:86:21: warning: 'APPLICATION_NAME' initialized and declared 'extern' 86 | extern std::wstring APPLICATION_NAME = L"sioyek"; | ^~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:87:12: warning: 'FONT_SIZE' initialized and declared 'extern' 87 | extern int FONT_SIZE = -1; | ^~~~~~~~~ pdf_viewer/main.cpp:88:20: warning: 'APPLICATION_VERSION' initialized and declared 'extern' 88 | extern std::string APPLICATION_VERSION = "1.0.0"; | ^~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:89:14: warning: 'BACKGROUND_COLOR' initialized and declared 'extern' 89 | extern float BACKGROUND_COLOR[3] = { 1.0f, 1.0f, 1.0f }; | ^~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:90:14: warning: 'DARK_MODE_BACKGROUND_COLOR' initialized and declared 'extern' 90 | extern float DARK_MODE_BACKGROUND_COLOR[3] = { 0.0f, 0.0f, 0.0f }; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:92:21: warning: 'MIDDLE_CLICK_SEARCH_ENGINE' initialized and declared 'extern' 92 | extern std::wstring MIDDLE_CLICK_SEARCH_ENGINE = L"s"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:93:21: warning: 'SHIFT_MIDDLE_CLICK_SEARCH_ENGINE' initialized and declared 'extern' 93 | extern std::wstring SHIFT_MIDDLE_CLICK_SEARCH_ENGINE = L"l"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:94:14: warning: 'HIGHLIGHT_COLORS' initialized and declared 'extern' 94 | extern float HIGHLIGHT_COLORS[26 * 3] = { \ | ^~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:122:14: warning: 'DARK_MODE_CONTRAST' initialized and declared 'extern' 122 | extern float DARK_MODE_CONTRAST = 0.8f; | ^~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:123:14: warning: 'ZOOM_INC_FACTOR' initialized and declared 'extern' 123 | extern float ZOOM_INC_FACTOR = 1.2f; | ^~~~~~~~~~~~~~~ pdf_viewer/main.cpp:124:14: warning: 'VERTICAL_MOVE_AMOUNT' initialized and declared 'extern' 124 | extern float VERTICAL_MOVE_AMOUNT = 1.0f; | ^~~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:125:14: warning: 'HORIZONTAL_MOVE_AMOUNT' initialized and declared 'extern' 125 | extern float HORIZONTAL_MOVE_AMOUNT = 1.0f; | ^~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:126:14: warning: 'VERTICAL_LINE_WIDTH' initialized and declared 'extern' 126 | extern float VERTICAL_LINE_WIDTH = 0.1f; | ^~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:127:14: warning: 'VERTICAL_LINE_FREQ' initialized and declared 'extern' 127 | extern float VERTICAL_LINE_FREQ = 0.001f; | ^~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:128:14: warning: 'MOVE_SCREEN_PERCENTAGE' initialized and declared 'extern' 128 | extern float MOVE_SCREEN_PERCENTAGE = 0.8f; | ^~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:133:13: warning: 'FLAT_TABLE_OF_CONTENTS' initialized and declared 'extern' 133 | extern bool FLAT_TABLE_OF_CONTENTS = false; | ^~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:134:13: warning: 'SHOULD_USE_MULTIPLE_MONITORS' initialized and declared 'extern' 134 | extern bool SHOULD_USE_MULTIPLE_MONITORS = false; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:135:13: warning: 'SHOULD_CHECK_FOR_LATEST_VERSION_ON_STARTUP' initialized and declared 'extern' 135 | extern bool SHOULD_CHECK_FOR_LATEST_VERSION_ON_STARTUP = true; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:136:13: warning: 'DEFAULT_DARK_MODE' initialized and declared 'extern' 136 | extern bool DEFAULT_DARK_MODE = false; | ^~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:137:13: warning: 'SORT_BOOKMARKS_BY_LOCATION' initialized and declared 'extern' 137 | extern bool SORT_BOOKMARKS_BY_LOCATION = false; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:138:21: warning: 'LIBGEN_ADDRESS' initialized and declared 'extern' 138 | extern std::wstring LIBGEN_ADDRESS = L""; | ^~~~~~~~~~~~~~ pdf_viewer/main.cpp:139:21: warning: 'GOOGLE_SCHOLAR_ADDRESS' initialized and declared 'extern' 139 | extern std::wstring GOOGLE_SCHOLAR_ADDRESS = L""; | ^~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:140:21: warning: 'INVERSE_SEARCH_COMMAND' initialized and declared 'extern' 140 | extern std::wstring INVERSE_SEARCH_COMMAND = L""; | ^~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:141:21: warning: 'SHARED_DATABASE_PATH' initialized and declared 'extern' 141 | extern std::wstring SHARED_DATABASE_PATH = L""; | ^~~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:142:21: warning: 'UI_FONT_FACE_NAME' initialized and declared 'extern' 142 | extern std::wstring UI_FONT_FACE_NAME = L""; | ^~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:143:13: warning: 'SHOULD_LOAD_TUTORIAL_WHEN_NO_OTHER_FILE' initialized and declared 'extern' 143 | extern bool SHOULD_LOAD_TUTORIAL_WHEN_NO_OTHER_FILE = false; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:144:13: warning: 'SHOULD_LAUNCH_NEW_INSTANCE' initialized and declared 'extern' 144 | extern bool SHOULD_LAUNCH_NEW_INSTANCE = true; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:145:13: warning: 'SHOULD_DRAW_UNRENDERED_PAGES' initialized and declared 'extern' 145 | extern bool SHOULD_DRAW_UNRENDERED_PAGES = true; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:146:13: warning: 'HOVER_OVERVIEW' initialized and declared 'extern' 146 | extern bool HOVER_OVERVIEW = false; | ^~~~~~~~~~~~~~ pdf_viewer/main.cpp:147:14: warning: 'VISUAL_MARK_NEXT_PAGE_FRACTION' initialized and declared 'extern' 147 | extern float VISUAL_MARK_NEXT_PAGE_FRACTION = 0.25f; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:148:14: warning: 'VISUAL_MARK_NEXT_PAGE_THRESHOLD' initialized and declared 'extern' 148 | extern float VISUAL_MARK_NEXT_PAGE_THRESHOLD = 0.1f; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:149:21: warning: 'ITEM_LIST_PREFIX' initialized and declared 'extern' 149 | extern std::wstring ITEM_LIST_PREFIX = L">"; | ^~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:150:21: warning: 'STARTUP_COMMANDS' initialized and declared 'extern' 150 | extern std::wstring STARTUP_COMMANDS = L""; | ^~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:151:14: warning: 'SMALL_PIXMAP_SCALE' initialized and declared 'extern' 151 | extern float SMALL_PIXMAP_SCALE = 0.75f; | ^~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:153:13: warning: 'default_config_path' initialized and declared 'extern' 153 | extern Path default_config_path(L""); | ^~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:154:13: warning: 'default_keys_path' initialized and declared 'extern' 154 | extern Path default_keys_path(L""); | ^~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:155:26: warning: 'user_config_paths' initialized and declared 'extern' 155 | extern std::vector user_config_paths = {}; | ^~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:156:26: warning: 'user_keys_paths' initialized and declared 'extern' 156 | extern std::vector user_keys_paths = {}; | ^~~~~~~~~~~~~~~ pdf_viewer/main.cpp:157:13: warning: 'database_file_path' initialized and declared 'extern' 157 | extern Path database_file_path(L""); | ^~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:158:13: warning: 'local_database_file_path' initialized and declared 'extern' 158 | extern Path local_database_file_path(L""); | ^~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:159:13: warning: 'global_database_file_path' initialized and declared 'extern' 159 | extern Path global_database_file_path(L""); | ^~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:160:13: warning: 'tutorial_path' initialized and declared 'extern' 160 | extern Path tutorial_path(L""); | ^~~~~~~~~~~~~ pdf_viewer/main.cpp:161:13: warning: 'last_opened_file_address_path' initialized and declared 'extern' 161 | extern Path last_opened_file_address_path(L""); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:162:13: warning: 'shader_path' initialized and declared 'extern' 162 | extern Path shader_path(L""); | ^~~~~~~~~~~ pdf_viewer/main.cpp: In function 'int main(int, char**)': pdf_viewer/main.cpp:419:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 419 | for (int i = 0; i < user_config_paths.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:426:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 426 | for (int i = 0; i < user_keys_paths.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:466:67: warning: 'const QRect QDesktopWidget::screenGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations] 466 | int window_width = QApplication::desktop()->screenGeometry().width(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from pdf_viewer/main.cpp:47: /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.cpp:467:68: warning: 'const QRect QDesktopWidget::screenGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations] 467 | int window_height = QApplication::desktop()->screenGeometry().height(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from pdf_viewer/main.cpp:47: /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.cpp:353:18: warning: unused variable 'db' [-Wunused-variable] 353 | sqlite3* db; | ^~ pdf_viewer/main.cpp:354:15: warning: unused variable 'error_message' [-Wunused-variable] 354 | char* error_message = nullptr; | ^~~~~~~~~~~~~ pdf_viewer/main.cpp:355:13: warning: unused variable 'rc' [-Wunused-variable] 355 | int rc; | ^~ In file included from pdf_viewer/main.cpp:66: 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:101:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:383:18: required from here pdf_viewer/ui.h:126:52: warning: unused parameter 'text' [-Wunused-parameter] 126 | 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:101:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:443:18: required from here pdf_viewer/ui.h:126:52: warning: unused parameter 'text' [-Wunused-parameter] 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:122:15: required from here pdf_viewer/ui.h:122:51: warning: unused parameter 'source_index' [-Wunused-parameter] 122 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ pdf_viewer/ui.h:122:84: warning: unused parameter 'selected_index' [-Wunused-parameter] 122 | 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:123:15: required from here pdf_viewer/ui.h:123:57: warning: unused parameter 'text' [-Wunused-parameter] 123 | 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:122:15: required from here pdf_viewer/ui.h:122:51: warning: unused parameter 'source_index' [-Wunused-parameter] 122 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ pdf_viewer/ui.h:122:84: warning: unused parameter 'selected_index' [-Wunused-parameter] 122 | 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:123:15: required from here pdf_viewer/ui.h:123:57: warning: unused parameter 'text' [-Wunused-parameter] 123 | virtual void on_return_no_select(const QString& text) {} | ~~~~~~~~~~~~~~~^~~~ In file included from pdf_viewer/main.cpp:79: pdf_viewer/fts_fuzzy_match.h: At global scope: pdf_viewer/fts_fuzzy_match.h:69:17: warning: 'bool fts::fuzzy_match(const char*, const char*, int&)' defined but not used [-Wunused-function] 69 | static bool fuzzy_match(char const * pattern, char const * str, int & outScore) { | ^~~~~~~~~~~ pdf_viewer/fts_fuzzy_match.h:59:17: warning: 'bool fts::fuzzy_match_simple(const char*, const char*)' defined but not used [-Wunused-function] 59 | static bool fuzzy_match_simple(char const * pattern, char const * str) { | ^~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp: In function 'int main(int, char**)': pdf_viewer/main.cpp:322:14: warning: variable 'use_single_instance' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 322 | bool use_single_instance = !SHOULD_LAUNCH_NEW_INSTANCE; | ^~~~~~~~~~~~~~~~~~~ pdf_viewer/main.cpp:385:14: warning: variable 'fail' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 385 | bool fail = false; | ^~~~ g++ -c -pipe -std=c++17 -O2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DCORE_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_QUICKWIDGETS_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DRENDER_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_QMLMODELS_LIB -DQT_QML_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/QtQuickWidgets -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/Qt3DAnimation -I/usr/include/qt5/Qt3DExtras -I/usr/include/qt5/Qt3DRender -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DLogic -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/../lib64/qt5/mkspecs/linux-g++ -o pdf_renderer.o pdf_viewer/pdf_renderer.cpp In file included from pdf_viewer/pdf_renderer.cpp:1: pdf_viewer/pdf_renderer.h: In constructor 'PdfRenderer::PdfRenderer(int, bool*, fz_context*, float)': pdf_viewer/pdf_renderer.h:81:13: warning: 'PdfRenderer::num_threads' will be initialized after [-Wreorder] 81 | int num_threads = 0; | ^~~~~~~~~~~ pdf_viewer/pdf_renderer.h:62:46: warning: 'std::vector > PdfRenderer::pixmaps_to_drop' [-Wreorder] 62 | std::vector> pixmaps_to_drop; | ^~~~~~~~~~~~~~~ pdf_viewer/pdf_renderer.cpp:5:1: warning: when initialized here [-Wreorder] 5 | PdfRenderer::PdfRenderer(int num_threads, bool* should_quit_pointer, fz_context* context_to_clone, float display_scale) : context_to_clone(context_to_clone), | ^~~~~~~~~~~ pdf_viewer/pdf_renderer.cpp: In member function 'void PdfRenderer::add_request(std::wstring, int, float)': pdf_viewer/pdf_renderer.cpp:58:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 58 | for (int i = 0; i < pending_render_requests.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/pdf_renderer.cpp:66:52: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 66 | if (pending_render_requests.size() > MAX_PENDING_REQUESTS) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/pdf_renderer.cpp: In member function 'void PdfRenderer::delete_old_pages(bool)': pdf_viewer/pdf_renderer.cpp:199:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 199 | for (int i = 0; i < cached_responses.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/pdf_renderer.cpp:204:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 204 | for (int i = 0; i < cached_responses.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/pdf_renderer.cpp:210:47: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 210 | else if (cached_response_times.size() > N) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ pdf_viewer/pdf_renderer.cpp:218:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 218 | for (int i = 0; i < cached_responses.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/pdf_renderer.cpp: In member function 'void PdfRenderer::delete_old_pixmaps(int, fz_context*)': pdf_viewer/pdf_renderer.cpp:362:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 362 | for (int i = 0; i < pixmaps_to_drop[thread_index].size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:347:22: warning: variable 'ret_val' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 347 | fz_document* ret_val = nullptr; | ^~~~~~~ g++ -c -pipe -std=c++17 -O2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DCORE_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_QUICKWIDGETS_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DRENDER_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_QMLMODELS_LIB -DQT_QML_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/QtQuickWidgets -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/Qt3DAnimation -I/usr/include/qt5/Qt3DExtras -I/usr/include/qt5/Qt3DRender -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DLogic -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/../lib64/qt5/mkspecs/linux-g++ -o pdf_view_opengl_widget.o pdf_viewer/pdf_view_opengl_widget.cpp In file included from pdf_viewer/document_view.h:25, from pdf_viewer/pdf_view_opengl_widget.h:40, from pdf_viewer/pdf_view_opengl_widget.cpp:1: pdf_viewer/ui.h: In member function 'QList CommandSelector::get_item(std::string)': pdf_viewer/ui.h:328:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 328 | for (int i = 0; i < command_keys.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ pdf_viewer/ui.h: In member function 'QStandardItemModel* CommandSelector::get_standard_item_model(std::vector >)': pdf_viewer/ui.h:347:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 347 | for (int i = 0; i < command_names.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/ui.h: In constructor 'CommandSelector::CommandSelector(std::function)>*, QWidget*, QStringList, std::unordered_map, std::vector > >)': pdf_viewer/ui.h:320:43: warning: 'CommandSelector::on_done' will be initialized after [-Wreorder] 320 | std::function* on_done = nullptr; | ^~~~~~~ pdf_viewer/ui.h:319:67: warning: 'std::unordered_map, std::vector > > CommandSelector::key_map' [-Wreorder] 319 | std::unordered_map> key_map; | ^~~~~~~ pdf_viewer/ui.h:377:9: warning: when initialized here [-Wreorder] 377 | CommandSelector(std::function* on_done, | ^~~~~~~~~~~~~~~ pdf_viewer/ui.h: In member function 'virtual void CommandSelector::on_return_no_select(const QString&)': pdf_viewer/ui.h:402:57: warning: unused parameter 'text' [-Wunused-parameter] 402 | virtual void on_return_no_select(const QString& text) { | ~~~~~~~~~~~~~~~^~~~ In file included from pdf_viewer/pdf_view_opengl_widget.cpp:1: pdf_viewer/pdf_view_opengl_widget.h: In constructor 'PdfViewOpenGLWidget::PdfViewOpenGLWidget(DocumentView*, PdfRenderer*, ConfigManager*, bool, QWidget*)': pdf_viewer/pdf_view_opengl_widget.h:78:24: warning: 'PdfViewOpenGLWidget::config_manager' will be initialized after [-Wreorder] 78 | ConfigManager* config_manager = nullptr; | ^~~~~~~~~~~~~~ pdf_viewer/pdf_view_opengl_widget.h:77:22: warning: 'PdfRenderer* PdfViewOpenGLWidget::pdf_renderer' [-Wreorder] 77 | PdfRenderer* pdf_renderer = nullptr; | ^~~~~~~~~~~~ pdf_viewer/pdf_view_opengl_widget.cpp:293:1: warning: when initialized here [-Wreorder] 293 | PdfViewOpenGLWidget::PdfViewOpenGLWidget(DocumentView* document_view, PdfRenderer* pdf_renderer, ConfigManager* config_manager, bool is_helper, QWidget* parent) : | ^~~~~~~~~~~~~~~~~~~ pdf_viewer/pdf_view_opengl_widget.cpp: In member function 'void PdfViewOpenGLWidget::render(QPainter*)': pdf_viewer/pdf_view_opengl_widget.cpp:607:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 607 | for (int i = 0; i < highlights.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ pdf_viewer/pdf_view_opengl_widget.cpp:626:51: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 626 | for (int j = 0; j < highlights[i].highlight_rects.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/pdf_view_opengl_widget.cpp:651:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 651 | for (int i = 0; i < all_visible_links.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/pdf_view_opengl_widget.cpp: In member function 'bool PdfViewOpenGLWidget::get_is_searching(float*)': pdf_viewer/pdf_view_opengl_widget.cpp:680:14: warning: unused variable 'res' [-Wunused-variable] 680 | bool res = is_searching; | ^~~ pdf_viewer/pdf_view_opengl_widget.cpp: In member function 'void PdfViewOpenGLWidget::draw_empty_helper_message(QPainter*)': pdf_viewer/pdf_view_opengl_widget.cpp:867:37: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 867 | 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, from pdf_viewer/pdf_view_opengl_widget.cpp:1: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ pdf_viewer/pdf_view_opengl_widget.cpp: In member function 'bool PdfViewOpenGLWidget::is_window_point_in_overview_border(float, float, int*)': pdf_viewer/pdf_view_opengl_widget.cpp:946:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 946 | for (int i = 0; i < rects.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from pdf_viewer/document_view.h:25, from pdf_viewer/pdf_view_opengl_widget.h:40, from pdf_viewer/pdf_view_opengl_widget.cpp:1: 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:101:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:383:18: required from here pdf_viewer/ui.h:126:52: warning: unused parameter 'text' [-Wunused-parameter] 126 | 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:101:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:443:18: required from here pdf_viewer/ui.h:126:52: warning: unused parameter 'text' [-Wunused-parameter] 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:122:15: required from here pdf_viewer/ui.h:122:51: warning: unused parameter 'source_index' [-Wunused-parameter] 122 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ pdf_viewer/ui.h:122:84: warning: unused parameter 'selected_index' [-Wunused-parameter] 122 | 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:123:15: required from here pdf_viewer/ui.h:123:57: warning: unused parameter 'text' [-Wunused-parameter] 123 | 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:122:15: required from here pdf_viewer/ui.h:122:51: warning: unused parameter 'source_index' [-Wunused-parameter] 122 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ pdf_viewer/ui.h:122:84: warning: unused parameter 'selected_index' [-Wunused-parameter] 122 | 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:123:15: required from here pdf_viewer/ui.h:123:57: warning: unused parameter 'text' [-Wunused-parameter] 123 | virtual void on_return_no_select(const QString& text) {} | ~~~~~~~~~~~~~~~^~~~ pdf_viewer/pdf_view_opengl_widget.cpp: In member function 'float PdfViewOpenGLWidget::get_overview_side_pos(int)': pdf_viewer/pdf_view_opengl_widget.cpp:981:1: warning: control reaches end of non-void function [-Wreturn-type] 981 | } | ^ g++ -c -pipe -std=c++17 -O2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DCORE_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_QUICKWIDGETS_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DRENDER_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_QMLMODELS_LIB -DQT_QML_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/QtQuickWidgets -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/Qt3DAnimation -I/usr/include/qt5/Qt3DExtras -I/usr/include/qt5/Qt3DRender -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DLogic -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/../lib64/qt5/mkspecs/linux-g++ -o main_widget.o pdf_viewer/main_widget.cpp In file included from pdf_viewer/main_widget.cpp:37: pdf_viewer/ui.h: In member function 'QList CommandSelector::get_item(std::string)': pdf_viewer/ui.h:328:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 328 | for (int i = 0; i < command_keys.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ pdf_viewer/ui.h: In member function 'QStandardItemModel* CommandSelector::get_standard_item_model(std::vector >)': pdf_viewer/ui.h:347:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 347 | for (int i = 0; i < command_names.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/ui.h: In constructor 'CommandSelector::CommandSelector(std::function)>*, QWidget*, QStringList, std::unordered_map, std::vector > >)': pdf_viewer/ui.h:320:43: warning: 'CommandSelector::on_done' will be initialized after [-Wreorder] 320 | std::function* on_done = nullptr; | ^~~~~~~ pdf_viewer/ui.h:319:67: warning: 'std::unordered_map, std::vector > > CommandSelector::key_map' [-Wreorder] 319 | std::unordered_map> key_map; | ^~~~~~~ pdf_viewer/ui.h:377:9: warning: when initialized here [-Wreorder] 377 | CommandSelector(std::function* on_done, | ^~~~~~~~~~~~~~~ pdf_viewer/ui.h: In member function 'virtual void CommandSelector::on_return_no_select(const QString&)': pdf_viewer/ui.h:402:57: warning: unused parameter 'text' [-Wunused-parameter] 402 | virtual void on_return_no_select(const QString& text) { | ~~~~~~~~~~~~~~~^~~~ pdf_viewer/main_widget.cpp: In function 'std::optional > get_last_opened_file_name()': pdf_viewer/main_widget.cpp:101:14: warning: unused variable 'file_path' [-Wunused-variable] 101 | char file_path[MAX_PATH] = { 0 }; | ^~~~~~~~~ pdf_viewer/main_widget.cpp: In member function 'virtual void MainWidget::closeEvent(QCloseEvent*)': pdf_viewer/main_widget.cpp:235:42: warning: unused parameter 'close_event' [-Wunused-parameter] 235 | void MainWidget::closeEvent(QCloseEvent* close_event) { | ~~~~~~~~~~~~~^~~~~~~~~~~ pdf_viewer/main_widget.cpp: In constructor 'MainWidget::MainWidget(fz_context*, DatabaseManager*, DocumentManager*, ConfigManager*, InputHandler*, CachedChecksummer*, bool*, QWidget*)': pdf_viewer/main_widget.cpp:263:73: warning: 'const QRect QDesktopWidget::screenGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations] 263 | int first_screen_width = QApplication::desktop()->screenGeometry(0).width(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from pdf_viewer/main_widget.cpp:16: /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:276:62: warning: 'int QDesktopWidget::numScreens() const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations] 276 | int num_screens = QApplication::desktop()->numScreens(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from pdf_viewer/main_widget.cpp:16: /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: In member function 'virtual void MainWidget::on_config_file_changed(ConfigManager*)': pdf_viewer/main_widget.cpp:543:56: warning: unused parameter 'new_config' [-Wunused-parameter] 543 | void MainWidget::on_config_file_changed(ConfigManager* new_config) | ~~~~~~~~~~~~~~~^~~~~~~~~~ pdf_viewer/main_widget.cpp: In member function 'void MainWidget::do_synctex_forward_search(const Path&, const Path&, int)': pdf_viewer/main_widget.cpp:600:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 600 | while (node = synctex_next_result(scanner)) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main_widget.cpp: In member function 'void MainWidget::on_new_instance_message(qint32, QByteArray)': pdf_viewer/main_widget.cpp:645:49: warning: unused parameter 'instance_id' [-Wunused-parameter] 645 | void MainWidget::on_new_instance_message(qint32 instance_id, QByteArray arguments_str) | ~~~~~~~^~~~~~~~~~~ pdf_viewer/main_widget.cpp: In member function 'void MainWidget::handle_command_types(const Command*, int)': pdf_viewer/main_widget.cpp:1008:62: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 1008 | std::cerr << "File select failed" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/qcborcommon.h:45, from /usr/include/qt5/QtCore/qcborvalue.h:45, from /usr/include/qt5/QtCore/qjsonvalue.h:46, from /usr/include/qt5/QtCore/qjsonobject.h:43, from pdf_viewer/book.h:11, from pdf_viewer/utils.h:17, from pdf_viewer/input.h:14, from pdf_viewer/main_widget.cpp:33: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ pdf_viewer/main_widget.cpp:1008:62: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 1008 | std::cerr << "File select failed" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/qcborcommon.h:45, from /usr/include/qt5/QtCore/qcborvalue.h:45, from /usr/include/qt5/QtCore/qjsonvalue.h:46, from /usr/include/qt5/QtCore/qjsonobject.h:43, from pdf_viewer/book.h:11, from pdf_viewer/utils.h:17, from pdf_viewer/input.h:14, from pdf_viewer/main_widget.cpp:33: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ pdf_viewer/main_widget.cpp:1008:62: warning: the address of 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' will never be NULL [-Waddress] 1008 | std::cerr << "File select failed" << endl; | ^~~~ pdf_viewer/main_widget.cpp: In member function 'void MainWidget::handle_right_click(float, float, bool)': pdf_viewer/main_widget.cpp:1124:53: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1124 | while (node = synctex_next_result(scanner)) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main_widget.cpp:1141:72: warning: 'static bool QProcess::startDetached(const QString&)' is deprecated: Use QProcess::startDetached(const QString &program, const QStringList &arguments) instead [-Wdeprecated-declarations] 1141 | QProcess::startDetached(command); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from pdf_viewer/main_widget.cpp:30: /usr/include/qt5/QtCore/qprocess.h:280:17: note: declared here 280 | static bool startDetached(const QString &command); | ^~~~~~~~~~~~~ pdf_viewer/main_widget.cpp: In member function 'void MainWidget::next_state()': pdf_viewer/main_widget.cpp:1276:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1276 | if (current_history_index < history.size()-1) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ pdf_viewer/main_widget.cpp: In member function 'virtual void MainWidget::wheelEvent(QWheelEvent*)': pdf_viewer/main_widget.cpp:1537:28: warning: 'QPoint QWheelEvent::pos() const' is deprecated: Use position() [-Wdeprecated-declarations] 1537 | 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:17: /usr/include/qt5/QtGui/qevent.h:225:19: note: declared here 225 | inline QPoint pos() const { return p.toPoint(); } | ^~~ pdf_viewer/main_widget.cpp:1538:28: warning: 'QPoint QWheelEvent::pos() const' is deprecated: Use position() [-Wdeprecated-declarations] 1538 | int y = wevent->pos().y(); | ~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtGui/QKeyEvent:1, from /usr/include/qt5/Qt3DInput/qkeyevent.h:45, from pdf_viewer/main_widget.cpp:17: /usr/include/qt5/QtGui/qevent.h:225:19: note: declared here 225 | inline QPoint pos() const { return p.toPoint(); } | ^~~ pdf_viewer/main_widget.cpp:1602:58: warning: 'int QWheelEvent::delta() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations] 1602 | handle_command(command, abs(wevent->delta() / 120)); | ~~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtGui/QKeyEvent:1, from /usr/include/qt5/Qt3DInput/qkeyevent.h:45, from pdf_viewer/main_widget.cpp:17: /usr/include/qt5/QtGui/qevent.h:219:16: note: declared here 219 | inline int delta() const { return qt4D; } | ^~~~~ pdf_viewer/main_widget.cpp: In member function 'void MainWidget::toggle_two_window_mode()': pdf_viewer/main_widget.cpp:1626:70: warning: 'int QDesktopWidget::numScreens() const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations] 1626 | int num_screens = QApplication::desktop()->numScreens(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from pdf_viewer/main_widget.cpp:16: /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:1627:75: warning: 'const QRect QDesktopWidget::screenGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations] 1627 | int window_width = QApplication::desktop()->screenGeometry(0).width(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from pdf_viewer/main_widget.cpp:16: /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:1628:76: warning: 'const QRect QDesktopWidget::screenGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations] 1628 | int window_height = QApplication::desktop()->screenGeometry(0).height(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from pdf_viewer/main_widget.cpp:16: /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:1632:90: warning: 'const QRect QDesktopWidget::screenGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations] 1632 | int second_window_width = QApplication::desktop()->screenGeometry(1).width(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from pdf_viewer/main_widget.cpp:16: /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:1633:91: warning: 'const QRect QDesktopWidget::screenGeometry(int) const' is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations] 1633 | int second_window_height = QApplication::desktop()->screenGeometry(1).height(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from pdf_viewer/main_widget.cpp:16: /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::handle_command(const Command*, int)': pdf_viewer/main_widget.cpp:1924:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1924 | for (int i = 0; i < bookmarks.size() ; i++) { | ~~^~~~~~~~~~~~~~~~~~ pdf_viewer/main_widget.cpp:1953:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1953 | for (int i = 0; i < highlights.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ pdf_viewer/main_widget.cpp: In member function 'void MainWidget::handle_pending_text_command(std::wstring)': pdf_viewer/main_widget.cpp:2252:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 2252 | for (int i = 0; i < visible_pages.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main_widget.cpp:2260:62: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 2260 | if ((link_index >= 0) && (link_index < visible_page_links.size())) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/main_widget.cpp: In member function 'float MainWidget::get_ith_next_line_from_absolute_y(float, int, bool)': pdf_viewer/main_widget.cpp:2404:21: warning: unused variable 'small_doc_x' [-Wunused-variable] 2404 | int small_doc_x = static_cast(doc_x * SMALL_PIXMAP_SCALE); | ^~~~~~~~~~~ In file included from pdf_viewer/input.h:14, from pdf_viewer/main_widget.cpp:33: pdf_viewer/utils.h: In instantiation of 'int find_nth_larger_element_in_sorted_list(std::vector, T, int) [with T = unsigned int]': pdf_viewer/main_widget.cpp:2407:53: required from here pdf_viewer/utils.h:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 115 | while (i < sorted_list.size() && (value >= sorted_list[i])) i++; | ~~^~~~~~~~~~~~~~~~~~~~ pdf_viewer/utils.h:116:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 116 | if ((i < sorted_list.size()) && (sorted_list[i] == value)) i--; | ~~~^~~~~~~~~~~~~~~~~~~~~ pdf_viewer/utils.h:117:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 117 | if ((i + n - 1) < sorted_list.size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from pdf_viewer/main_widget.cpp:37: 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:101:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:383:18: required from here pdf_viewer/ui.h:126:52: warning: unused parameter 'text' [-Wunused-parameter] 126 | 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:101:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:443:18: required from here pdf_viewer/ui.h:126: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 = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:101:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = int; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:284:40: required from 'FilteredSelectWindowClass::FilteredSelectWindowClass(std::vector >, std::vector, std::function, QWidget*, std::function) [with T = int]' pdf_viewer/main_widget.cpp:1831:13: required from here pdf_viewer/ui.h:126: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:101:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = int; ViewType = QTreeView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:236:18: required from 'FilteredTreeSelect::FilteredTreeSelect(QStandardItemModel*, std::function >&)>, QWidget*, std::vector >) [with T = int]' pdf_viewer/main_widget.cpp:1847:29: required from here pdf_viewer/ui.h:126: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:101:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:284: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:1890:6: required from here pdf_viewer/ui.h:126: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 = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:101:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = float; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:284:40: required from 'FilteredSelectWindowClass::FilteredSelectWindowClass(std::vector >, std::vector, std::function, QWidget*, std::function) [with T = float]' pdf_viewer/main_widget.cpp:1944:5: required from here pdf_viewer/ui.h:126: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 = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:101:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::vector; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:284:40: required from 'FilteredSelectWindowClass::FilteredSelectWindowClass(std::vector >, std::vector, std::function, QWidget*, std::function) [with T = std::vector]' pdf_viewer/main_widget.cpp:1982:5: required from here pdf_viewer/ui.h:126: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 = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:101:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = BookState; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:284:40: required from 'FilteredSelectWindowClass::FilteredSelectWindowClass(std::vector >, std::vector, std::function, QWidget*, std::function) [with T = BookState]' pdf_viewer/main_widget.cpp:2015:5: required from here pdf_viewer/ui.h:126:52: warning: unused parameter 'text' [-Wunused-parameter] In file included from pdf_viewer/main_widget.cpp:37: pdf_viewer/ui.h: In instantiation of 'void FilteredSelectWindowClass::on_delete(const QModelIndex&, const QModelIndex&) [with T = BookState]': pdf_viewer/ui.h:298:15: required from here pdf_viewer/ui.h:301:29: warning: unused variable 'delete_row' [-Wunused-variable] 301 | int delete_row = selected_index.row(); | ^~~~~~~~~~ In file included from pdf_viewer/main_widget.cpp:37: pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_return_no_select(const QString&) [with T = BookState; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:123:15: required from here pdf_viewer/ui.h:123:57: warning: unused parameter 'text' [-Wunused-parameter] 123 | 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 = BookState; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:122:15: required from here pdf_viewer/ui.h:122:51: warning: unused parameter 'source_index' [-Wunused-parameter] 122 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ pdf_viewer/ui.h:122:84: warning: unused parameter 'selected_index' [-Wunused-parameter] 122 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from pdf_viewer/main_widget.cpp:37: pdf_viewer/ui.h: In instantiation of 'void FilteredSelectWindowClass::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::vector]': pdf_viewer/ui.h:298:15: required from here pdf_viewer/ui.h:301:29: warning: unused variable 'delete_row' [-Wunused-variable] 301 | int delete_row = selected_index.row(); | ^~~~~~~~~~ In file included from pdf_viewer/main_widget.cpp:37: pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_return_no_select(const QString&) [with T = std::vector; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:123:15: required from here pdf_viewer/ui.h:123:57: warning: unused parameter 'text' [-Wunused-parameter] 123 | 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 = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:122:15: required from here pdf_viewer/ui.h:122:51: warning: unused parameter 'source_index' [-Wunused-parameter] 122 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ pdf_viewer/ui.h:122:84: warning: unused parameter 'selected_index' [-Wunused-parameter] 122 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from pdf_viewer/main_widget.cpp:37: pdf_viewer/ui.h: In instantiation of 'void FilteredSelectWindowClass::on_delete(const QModelIndex&, const QModelIndex&) [with T = float]': pdf_viewer/ui.h:298:15: required from here pdf_viewer/ui.h:301:29: warning: unused variable 'delete_row' [-Wunused-variable] 301 | int delete_row = selected_index.row(); | ^~~~~~~~~~ In file included from pdf_viewer/main_widget.cpp:37: pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_return_no_select(const QString&) [with T = float; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:123:15: required from here pdf_viewer/ui.h:123:57: warning: unused parameter 'text' [-Wunused-parameter] 123 | 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 = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:122:15: required from here pdf_viewer/ui.h:122:51: warning: unused parameter 'source_index' [-Wunused-parameter] 122 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ pdf_viewer/ui.h:122:84: warning: unused parameter 'selected_index' [-Wunused-parameter] 122 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from pdf_viewer/main_widget.cpp:37: pdf_viewer/ui.h: In instantiation of 'void FilteredSelectWindowClass::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string]': pdf_viewer/ui.h:298:15: required from here pdf_viewer/ui.h:301:29: warning: unused variable 'delete_row' [-Wunused-variable] 301 | int delete_row = selected_index.row(); | ^~~~~~~~~~ In file included from pdf_viewer/main_widget.cpp:37: 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:123:15: required from here pdf_viewer/ui.h:123:57: warning: unused parameter 'text' [-Wunused-parameter] 123 | 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:122:15: required from here pdf_viewer/ui.h:122:51: warning: unused parameter 'source_index' [-Wunused-parameter] 122 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ pdf_viewer/ui.h:122:84: warning: unused parameter 'selected_index' [-Wunused-parameter] 122 | 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:122:15: required from here pdf_viewer/ui.h:122:51: warning: unused parameter 'source_index' [-Wunused-parameter] 122 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ pdf_viewer/ui.h:122:84: warning: unused parameter 'selected_index' [-Wunused-parameter] 122 | 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:123:15: required from here pdf_viewer/ui.h:123:57: warning: unused parameter 'text' [-Wunused-parameter] 123 | virtual void on_return_no_select(const QString& text) {} | ~~~~~~~~~~~~~~~^~~~ In file included from pdf_viewer/main_widget.cpp:37: pdf_viewer/ui.h: In instantiation of 'void FilteredSelectWindowClass::on_delete(const QModelIndex&, const QModelIndex&) [with T = int]': pdf_viewer/ui.h:298:15: required from here pdf_viewer/ui.h:301:29: warning: unused variable 'delete_row' [-Wunused-variable] 301 | int delete_row = selected_index.row(); | ^~~~~~~~~~ In file included from pdf_viewer/main_widget.cpp:37: 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:123:15: required from here pdf_viewer/ui.h:123:57: warning: unused parameter 'text' [-Wunused-parameter] 123 | 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 = int; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:122:15: required from here pdf_viewer/ui.h:122:51: warning: unused parameter 'source_index' [-Wunused-parameter] 122 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ pdf_viewer/ui.h:122:84: warning: unused parameter 'selected_index' [-Wunused-parameter] 122 | 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:122:15: required from here pdf_viewer/ui.h:122:51: warning: unused parameter 'source_index' [-Wunused-parameter] 122 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ pdf_viewer/ui.h:122:84: warning: unused parameter 'selected_index' [-Wunused-parameter] 122 | 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:123:15: required from here pdf_viewer/ui.h:123:57: warning: unused parameter 'text' [-Wunused-parameter] 123 | 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:122:15: required from here pdf_viewer/ui.h:122:51: warning: unused parameter 'source_index' [-Wunused-parameter] 122 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ pdf_viewer/ui.h:122:84: warning: unused parameter 'selected_index' [-Wunused-parameter] 122 | 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:123:15: required from here pdf_viewer/ui.h:123:57: warning: unused parameter 'text' [-Wunused-parameter] 123 | virtual void on_return_no_select(const QString& text) {} | ~~~~~~~~~~~~~~~^~~~ g++ -c -pipe -std=c++17 -O2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DCORE_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_QUICKWIDGETS_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DRENDER_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_QMLMODELS_LIB -DQT_QML_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/QtQuickWidgets -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/Qt3DAnimation -I/usr/include/qt5/Qt3DExtras -I/usr/include/qt5/Qt3DRender -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DLogic -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/../lib64/qt5/mkspecs/linux-g++ -o checksum.o pdf_viewer/checksum.cpp g++ -c -pipe -std=c++17 -O2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DCORE_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_QUICKWIDGETS_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DRENDER_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_QMLMODELS_LIB -DQT_QML_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/QtQuickWidgets -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/Qt3DAnimation -I/usr/include/qt5/Qt3DExtras -I/usr/include/qt5/Qt3DRender -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DLogic -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/../lib64/qt5/mkspecs/linux-g++ -o ui.o pdf_viewer/ui.cpp In file included from pdf_viewer/ui.cpp:1: pdf_viewer/ui.h: In member function 'QList CommandSelector::get_item(std::string)': pdf_viewer/ui.h:328:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 328 | for (int i = 0; i < command_keys.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ pdf_viewer/ui.h: In member function 'QStandardItemModel* CommandSelector::get_standard_item_model(std::vector >)': pdf_viewer/ui.h:347:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 347 | for (int i = 0; i < command_names.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/ui.h: In constructor 'CommandSelector::CommandSelector(std::function)>*, QWidget*, QStringList, std::unordered_map, std::vector > >)': pdf_viewer/ui.h:320:43: warning: 'CommandSelector::on_done' will be initialized after [-Wreorder] 320 | std::function* on_done = nullptr; | ^~~~~~~ pdf_viewer/ui.h:319:67: warning: 'std::unordered_map, std::vector > > CommandSelector::key_map' [-Wreorder] 319 | std::unordered_map> key_map; | ^~~~~~~ pdf_viewer/ui.h:377:9: warning: when initialized here [-Wreorder] 377 | CommandSelector(std::function* on_done, | ^~~~~~~~~~~~~~~ pdf_viewer/ui.h: In member function 'virtual void CommandSelector::on_return_no_select(const QString&)': pdf_viewer/ui.h:402:57: warning: unused parameter 'text' [-Wunused-parameter] 402 | virtual void on_return_no_select(const QString& text) { | ~~~~~~~~~~~~~~~^~~~ pdf_viewer/ui.cpp: In constructor 'ConfigFileChangeListener::ConfigFileChangeListener()': pdf_viewer/ui.cpp:23:75: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 23 | std::wcout << "config file change listener constructor called" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtGui/qgenericmatrix.h:45, from /usr/include/qt5/QtGui/qquaternion.h:44, from /usr/include/qt5/QtGui/qmatrix4x4.h:46, from /usr/include/qt5/QtGui/qopenglshaderprogram.h:51, from pdf_viewer/ui.h:22, from pdf_viewer/ui.cpp:1: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ pdf_viewer/ui.cpp:23:75: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 23 | std::wcout << "config file change listener constructor called" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtGui/qgenericmatrix.h:45, from /usr/include/qt5/QtGui/qquaternion.h:44, from /usr/include/qt5/QtGui/qmatrix4x4.h:46, from /usr/include/qt5/QtGui/qopenglshaderprogram.h:51, from pdf_viewer/ui.h:22, from pdf_viewer/ui.cpp:1: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ pdf_viewer/ui.cpp:23:75: warning: the address of 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' will never be NULL [-Waddress] 23 | std::wcout << "config file change listener constructor called" << endl; | ^~~~ pdf_viewer/ui.cpp: In destructor 'ConfigFileChangeListener::~ConfigFileChangeListener()': pdf_viewer/ui.cpp:28:74: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 28 | std::wcout << "config file change listener destructor called" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtGui/qgenericmatrix.h:45, from /usr/include/qt5/QtGui/qquaternion.h:44, from /usr/include/qt5/QtGui/qmatrix4x4.h:46, from /usr/include/qt5/QtGui/qopenglshaderprogram.h:51, from pdf_viewer/ui.h:22, from pdf_viewer/ui.cpp:1: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ pdf_viewer/ui.cpp:28:74: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] 28 | std::wcout << "config file change listener destructor called" << endl; | ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtGui/qgenericmatrix.h:45, from /usr/include/qt5/QtGui/qquaternion.h:44, from /usr/include/qt5/QtGui/qmatrix4x4.h:46, from /usr/include/qt5/QtGui/qopenglshaderprogram.h:51, from pdf_viewer/ui.h:22, from pdf_viewer/ui.cpp:1: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); | ^~~~ pdf_viewer/ui.cpp:28:74: warning: the address of 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' will never be NULL [-Waddress] 28 | std::wcout << "config file change listener destructor called" << endl; | ^~~~ In file included from pdf_viewer/ui.cpp:1: 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:101:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:383:18: required from here pdf_viewer/ui.h:126:52: warning: unused parameter 'text' [-Wunused-parameter] 126 | 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:101:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:443:18: required from here pdf_viewer/ui.h:126:52: warning: unused parameter 'text' [-Wunused-parameter] 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:122:15: required from here pdf_viewer/ui.h:122:51: warning: unused parameter 'source_index' [-Wunused-parameter] 122 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ pdf_viewer/ui.h:122:84: warning: unused parameter 'selected_index' [-Wunused-parameter] 122 | 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:123:15: required from here pdf_viewer/ui.h:123:57: warning: unused parameter 'text' [-Wunused-parameter] 123 | 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:122:15: required from here pdf_viewer/ui.h:122:51: warning: unused parameter 'source_index' [-Wunused-parameter] 122 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ pdf_viewer/ui.h:122:84: warning: unused parameter 'selected_index' [-Wunused-parameter] 122 | 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:123:15: required from here pdf_viewer/ui.h:123:57: warning: unused parameter 'text' [-Wunused-parameter] 123 | virtual void on_return_no_select(const QString& text) {} | ~~~~~~~~~~~~~~~^~~~ g++ -c -pipe -std=c++17 -O2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DCORE_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_QUICKWIDGETS_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DRENDER_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_QMLMODELS_LIB -DQT_QML_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/QtQuickWidgets -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/Qt3DAnimation -I/usr/include/qt5/Qt3DExtras -I/usr/include/qt5/Qt3DRender -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DLogic -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/../lib64/qt5/mkspecs/linux-g++ -o path.o pdf_viewer/path.cpp g++ -c -pipe -std=c++17 -O2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DCORE_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_QUICKWIDGETS_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DRENDER_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_QMLMODELS_LIB -DQT_QML_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/QtQuickWidgets -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/Qt3DAnimation -I/usr/include/qt5/Qt3DExtras -I/usr/include/qt5/Qt3DRender -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DLogic -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/../lib64/qt5/mkspecs/linux-g++ -o utils.o pdf_viewer/utils.cpp pdf_viewer/utils.cpp: In function 'void install_app(const char*)': pdf_viewer/utils.cpp:157:30: warning: unused parameter 'argv0' [-Wunused-parameter] 157 | void install_app(const char *argv0) | ~~~~~~~~~~~~^~~~~ pdf_viewer/utils.cpp: In function 'std::vector reorder_stext_line(fz_stext_line*)': pdf_viewer/utils.cpp:343:25: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 343 | return std::move(reordered_chars); | ~~~~~~~~~^~~~~~~~~~~~~~~~~ pdf_viewer/utils.cpp:343:25: note: remove 'std::move' call pdf_viewer/utils.cpp: In function 'void merge_selected_character_rects(const std::vector&, std::vector&)': pdf_viewer/utils.cpp:485:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 485 | for (int i = 1; i < selected_character_rects.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/utils.cpp:505:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 505 | for (int i = 0; i < resulting_rects.size() - 1; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/utils.cpp: In function 'void split_path(std::wstring, std::vector >&)': pdf_viewer/utils.cpp:536:59: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 536 | while ((loc = next_path_separator_position(path)) != -1) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ pdf_viewer/utils.cpp: In function 'void split_key_string(std::string, const string&, std::vector >&)': pdf_viewer/utils.cpp:569:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 569 | while ((loc = haystack.find(needle)) != -1) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ pdf_viewer/utils.cpp: In function 'void get_text_from_flat_chars(const std::vector&, std::wstring&, std::vector&)': pdf_viewer/utils.cpp:680:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 680 | for (int i = 0; i < flat_chars.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ pdf_viewer/utils.cpp: In function 'std::wstring strip_string(std::wstring&)': pdf_viewer/utils.cpp:753:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 753 | if (start_index == input_string.size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/utils.cpp: In function 'void index_generic(const std::vector&, int, std::vector&)': pdf_viewer/utils.cpp:779:37: warning: unknown escape sequence: '\.' 779 | 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 index_equations(const std::vector&, int, std::map, std::vector >&)': pdf_viewer/utils.cpp:816:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = 0; i < match_ranges.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ pdf_viewer/utils.cpp: In function 'void index_references(fz_stext_page*, int, std::map, IndexedData>&)': pdf_viewer/utils.cpp:851:14: warning: unused variable 'is_in_reference' [-Wunused-variable] 851 | bool is_in_reference = false; | ^~~~~~~~~~~~~~~ pdf_viewer/utils.cpp:852:19: warning: unused variable 'MAX_REFERENCE_SIZE' [-Wunused-variable] 852 | const int MAX_REFERENCE_SIZE = 10; | ^~~~~~~~~~~~~~~~~~ pdf_viewer/utils.cpp: In function 'bool largest_contigous_ones(std::vector&, int*, int*)': pdf_viewer/utils.cpp:989:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 989 | for (int i = 0; i < arr.size(); i++) { | ~~^~~~~~~~~~~~ pdf_viewer/utils.cpp: In function 'std::vector > get_line_ends_from_histogram(std::vector >)': pdf_viewer/utils.cpp:1064:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1064 | while (i < histogram.size()) { | ~~^~~~~~~~~~~~~~~~~~ pdf_viewer/utils.cpp:1066:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1066 | while ((i < histogram.size()) && (normalized_histogram[i] > 0.2f)) i++; | ~~^~~~~~~~~~~~~~~~~~ pdf_viewer/utils.cpp:1067:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1067 | while ((i < histogram.size()) && (normalized_histogram[i] <= 0.21f)) i++; | ~~^~~~~~~~~~~~~~~~~~ pdf_viewer/utils.cpp:1068:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1068 | if (i == histogram.size()) break; | ~~^~~~~~~~~~~~~~~~~~~ pdf_viewer/utils.cpp:1077:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1077 | for (int i = 0; i < res.size() - 1; i++) { | ~~^~~~~~~~~~~~~~~~ pdf_viewer/utils.cpp:1083:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1083 | for (int i = 0; i < res.size(); i++) { | ~~^~~~~~~~~~~~ pdf_viewer/utils.cpp: In function 'int find_best_vertical_line_location(fz_pixmap*, int, int)': pdf_viewer/utils.cpp:1129:13: warning: unused variable 'test' [-Wunused-variable] 1129 | int test = (start_index + end_index) / 2; | ^~~~ pdf_viewer/utils.cpp: In function 'bool is_string_numeric_float(const wstring&)': pdf_viewer/utils.cpp:1152:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1152 | for (int i = 0; i < str.size(); i++) { | ~~^~~~~~~~~~~~ pdf_viewer/utils.cpp: In function 'std::wstring concatenate_path(const wstring&, const wstring&)': pdf_viewer/utils.cpp:1286:25: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 1286 | return std::move(result); | ~~~~~~~~~^~~~~~~~ pdf_viewer/utils.cpp:1286:25: note: remove 'std::move' call pdf_viewer/utils.cpp: In function 'std::wstring add_redundant_dot_to_path(const wstring&)': pdf_viewer/utils.cpp:1310:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1310 | for (int i = 0; i < parts.size(); i++) { | ~~^~~~~~~~~~~~~~ pdf_viewer/utils.cpp:1312:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1312 | if (i < parts.size() - 1) { | ~~^~~~~~~~~~~~~~~~~~ pdf_viewer/utils.cpp:1316:25: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 1316 | return std::move(res); | ~~~~~~~~~^~~~~ pdf_viewer/utils.cpp:1316:25: note: remove 'std::move' call pdf_viewer/utils.cpp: In function 'float type_name_similarity_score(std::wstring, std::wstring)': pdf_viewer/utils.cpp:1337:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1337 | if ((common_prefix_index == name1.size()) || (common_prefix_index == name2.size())) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ pdf_viewer/utils.cpp:1337:83: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1337 | if ((common_prefix_index == name1.size()) || (common_prefix_index == name2.size())) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ gcc -c -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DCORE_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_QUICKWIDGETS_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DRENDER_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_QMLMODELS_LIB -DQT_QML_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/QtQuickWidgets -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/Qt3DAnimation -I/usr/include/qt5/Qt3DExtras -I/usr/include/qt5/Qt3DRender -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DLogic -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/../lib64/qt5/mkspecs/linux-g++ -o synctex_parser.o pdf_viewer/synctex/synctex_parser.c pdf_viewer/synctex/synctex_parser.c: In function '_synctex_horiz_box_setup_visible': pdf_viewer/synctex/synctex_parser.c:1839:82: warning: unused parameter 'v' [-Wunused-parameter] 1839 | synctex_status_t _synctex_horiz_box_setup_visible(synctex_node_t node,int h, int v) { | ~~~~^ pdf_viewer/synctex/synctex_parser.c: In function 'synctex_node_column': pdf_viewer/synctex/synctex_parser.c:3261:40: warning: unused parameter 'node' [-Wunused-parameter] 3261 | int synctex_node_column(synctex_node_t node) { | ~~~~~~~~~~~~~~~^~~~ pdf_viewer/synctex/synctex_parser.c: In function 'synctex_display_query': pdf_viewer/synctex/synctex_parser.c:3290:84: warning: unused parameter 'column' [-Wunused-parameter] 3290 | int synctex_display_query(synctex_scanner_t scanner,const char * name,int line,int column) { | ~~~~^~~~~~ pdf_viewer/synctex/synctex_parser.c: In function '_synctex_point_v_distance': pdf_viewer/synctex/synctex_parser.c:3689:92: warning: unused parameter 'visible' [-Wunused-parameter] 3689 | int _synctex_point_v_distance(synctex_point_t hitPoint, synctex_node_t node,synctex_bool_t visible) { pdf_viewer/synctex/synctex_parser.c: In function '_synctex_node_distance_to_point': pdf_viewer/synctex/synctex_parser.c:3779:99: warning: unused parameter 'visible' [-Wunused-parameter] 3779 | int _synctex_node_distance_to_point(synctex_point_t hitPoint, synctex_node_t node, synctex_bool_t visible) { pdf_viewer/synctex/synctex_parser.c: In function 'synctex_updater_new_with_output_file': pdf_viewer/synctex/synctex_parser.c:4174:59: warning: passing argument 4 of '_synctex_open' from incompatible pointer type [-Wincompatible-pointer-types] 4174 | if (_synctex_open(output,build_directory,&synctex,&SYNCTEX_FILE,synctex_ADD_QUOTES,&io_mode) | ^ | | | void ** pdf_viewer/synctex/synctex_parser.c:2738:105: note: expected 'struct gzFile_s **' but argument is of type 'void **' 2738 | int _synctex_open(const char * output, const char * build_directory, char ** synctex_name_ref, gzFile * file_ref, synctex_bool_t add_quotes, synctex_io_mode_t * io_mode_ref) { | ~~~~~~~~~^~~~~~~~ pdf_viewer/synctex/synctex_parser.c:4175:66: warning: passing argument 4 of '_synctex_open' from incompatible pointer type [-Wincompatible-pointer-types] 4175 | && _synctex_open(output,build_directory,&synctex,&SYNCTEX_FILE,synctex_DONT_ADD_QUOTES,&io_mode)) { | ^ | | | void ** pdf_viewer/synctex/synctex_parser.c:2738:105: note: expected 'struct gzFile_s **' but argument is of type 'void **' 2738 | int _synctex_open(const char * output, const char * build_directory, char ** synctex_name_ref, gzFile * file_ref, synctex_bool_t add_quotes, synctex_io_mode_t * io_mode_ref) { | ~~~~~~~~~^~~~~~~~ gcc -c -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DCORE_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_QUICKWIDGETS_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DRENDER_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_QMLMODELS_LIB -DQT_QML_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/QtQuickWidgets -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/Qt3DAnimation -I/usr/include/qt5/Qt3DExtras -I/usr/include/qt5/Qt3DRender -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DLogic -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/../lib64/qt5/mkspecs/linux-g++ -o synctex_parser_utils.o pdf_viewer/synctex/synctex_parser_utils.c pdf_viewer/synctex/synctex_parser_utils.c: In function '_synctex_merge_strings': pdf_viewer/synctex/synctex_parser_utils.c:289:52: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 289 | if(dest != strncpy(dest,temp,size)) { | ^~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/synctex/synctex_parser_utils.c:287:44: note: length computed here 287 | if((size = strlen(temp))>0) { | ^~~~~~~~~~~~ g++ -c -pipe -std=c++17 -O2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DCORE_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_QUICKWIDGETS_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DRENDER_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_QMLMODELS_LIB -DQT_QML_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/QtQuickWidgets -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/Qt3DAnimation -I/usr/include/qt5/Qt3DExtras -I/usr/include/qt5/Qt3DRender -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DLogic -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/../lib64/qt5/mkspecs/linux-g++ -o RunGuard.o pdf_viewer/RunGuard.cpp g++ -pipe -std=c++17 -O2 -std=gnu++1z -Wall -Wextra -dM -E -o moc_predefs.h /../lib64/qt5/mkspecs/features/data/dummy.cpp /../lib64/qt5/bin/moc -DLINUX_STANDARD_PATHS -DQT_3DCORE_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_QUICKWIDGETS_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DRENDER_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/moc_predefs.h -I/../lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f -I/builddir/build/BUILD/sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer -I/builddir/build/BUILD/sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/mupdf/include -I/builddir/build/BUILD/sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/zlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtQuickWidgets -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/Qt3DAnimation -I/usr/include/qt5/Qt3DExtras -I/usr/include/qt5/Qt3DRender -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DLogic -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/11 -I/usr/include/c++/11/x86_64-redhat-linux -I/usr/include/c++/11/backward -I/usr/lib/gcc/x86_64-redhat-linux/11/include -I/usr/local/include -I/usr/include pdf_viewer/pdf_renderer.h -o moc_pdf_renderer.cpp /../lib64/qt5/bin/moc -DLINUX_STANDARD_PATHS -DQT_3DCORE_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_QUICKWIDGETS_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DRENDER_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /builddir/build/BUILD/sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/moc_predefs.h -I/../lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f -I/builddir/build/BUILD/sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/pdf_viewer -I/builddir/build/BUILD/sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/mupdf/include -I/builddir/build/BUILD/sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f/zlib -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtQuickWidgets -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/Qt3DAnimation -I/usr/include/qt5/Qt3DExtras -I/usr/include/qt5/Qt3DRender -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DLogic -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/include/c++/11 -I/usr/include/c++/11/x86_64-redhat-linux -I/usr/include/c++/11/backward -I/usr/lib/gcc/x86_64-redhat-linux/11/include -I/usr/local/include -I/usr/include pdf_viewer/RunGuard.h -o moc_RunGuard.cpp g++ -c -pipe -std=c++17 -O2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DCORE_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_QUICKWIDGETS_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DRENDER_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_QMLMODELS_LIB -DQT_QML_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/QtQuickWidgets -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/Qt3DAnimation -I/usr/include/qt5/Qt3DExtras -I/usr/include/qt5/Qt3DRender -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DLogic -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/../lib64/qt5/mkspecs/linux-g++ -o moc_pdf_renderer.o moc_pdf_renderer.cpp g++ -c -pipe -std=c++17 -O2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DCORE_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_QUICKWIDGETS_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DRENDER_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_QMLMODELS_LIB -DQT_QML_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/QtQuickWidgets -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/Qt3DAnimation -I/usr/include/qt5/Qt3DExtras -I/usr/include/qt5/Qt3DRender -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DLogic -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/../lib64/qt5/mkspecs/linux-g++ -o moc_RunGuard.o moc_RunGuard.cpp gcc -c -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC -DLINUX_STANDARD_PATHS -DQT_3DCORE_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_QUICKWIDGETS_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_3DANIMATION_LIB -DQT_3DEXTRAS_LIB -DQT_3DRENDER_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_QMLMODELS_LIB -DQT_QML_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/QtQuickWidgets -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/Qt3DAnimation -I/usr/include/qt5/Qt3DExtras -I/usr/include/qt5/Qt3DRender -I/usr/include/qt5/Qt3DInput -I/usr/include/qt5/Qt3DLogic -I/usr/include/qt5/Qt3DCore -I/usr/include/qt5/QtOpenGLExtensions -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I/../lib64/qt5/mkspecs/linux-g++ -o sqlite3.o pdf_viewer/sqlite3.c 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/sqlite3.c: In function 'sqlite3ErrorWithMsg': pdf_viewer/sqlite3.c:14483:27: warning: cast between incompatible function types from 'int (*)(void *)' to 'void (*)(void *)' [-Wcast-function-type] 14483 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) | ^ pdf_viewer/sqlite3.c:31142:54: note: in expansion of macro 'SQLITE_DYNAMIC' 31142 | sqlite3ValueSetStr(db->pErr, -1, z, SQLITE_UTF8, SQLITE_DYNAMIC); | ^~~~~~~~~~~~~~ pdf_viewer/sqlite3.c: In function 'sqlite3VdbeMemSetStr': pdf_viewer/sqlite3.c:14483:27: warning: cast between incompatible function types from 'int (*)(void *)' to 'void (*)(void *)' [-Wcast-function-type] 14483 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) | ^ pdf_viewer/sqlite3.c:76549:15: note: in expansion of macro 'SQLITE_DYNAMIC' 76549 | if( xDel==SQLITE_DYNAMIC ){ | ^~~~~~~~~~~~~~ pdf_viewer/sqlite3.c: In function 'valueFromExpr': pdf_viewer/sqlite3.c:14483:27: warning: cast between incompatible function types from 'int (*)(void *)' to 'void (*)(void *)' [-Wcast-function-type] 14483 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) | ^ pdf_viewer/sqlite3.c:76964:55: note: in expansion of macro 'SQLITE_DYNAMIC' 76964 | sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC); | ^~~~~~~~~~~~~~ pdf_viewer/sqlite3.c:14483:27: warning: cast between incompatible function types from 'int (*)(void *)' to 'void (*)(void *)' [-Wcast-function-type] 14483 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) | ^ pdf_viewer/sqlite3.c:77016:29: note: in expansion of macro 'SQLITE_DYNAMIC' 77016 | 0, SQLITE_DYNAMIC); | ^~~~~~~~~~~~~~ pdf_viewer/sqlite3.c: In function 'sqlite3VdbeExec': pdf_viewer/sqlite3.c:92582:38: warning: cast between incompatible function types from 'int (*)(u32, void *, void *, void *)' {aka 'int (*)(unsigned int, void *, void *, void *)'} to 'void (*)(void *, const char *)' [-Wcast-function-type] 92582 | void (*x)(void*,const char*) = (void(*)(void*,const char*))db->xTrace; | ^ 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/sqlite3.c:14015: pdf_viewer/sqlite3.c:113122:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 113122 | if( pIdx->pPartIdxWhere!=0 ) a[0] -= 10; assert( 10==sqlite3LogEst(2) ); | ^~~~~~ pdf_viewer/sqlite3.c:113123:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 113123 | if( a[0]<33 ) a[0] = 33; assert( 33==sqlite3LogEst(10) ); | ^~ In file included from pdf_viewer/sqlite3.c:14015: 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/sqlite3.c: In function 'printfFunc': pdf_viewer/sqlite3.c:14483:27: warning: cast between incompatible function types from 'int (*)(void *)' to 'void (*)(void *)' [-Wcast-function-type] 14483 | #define SQLITE_DYNAMIC ((sqlite3_destructor_type)sqlite3MallocSize) | ^ pdf_viewer/sqlite3.c:115925:25: note: in expansion of macro 'SQLITE_DYNAMIC' 115925 | SQLITE_DYNAMIC); | ^~~~~~~~~~~~~~ pdf_viewer/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/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,-O1 -Wl,-rpath-link,/usr/lib64 -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 sqlite3.o ui.o path.o utils.o synctex_parser.o synctex_parser_utils.o RunGuard.o moc_pdf_renderer.o moc_RunGuard.o -ldl -Lmupdf/build/release -lmupdf -lmupdf-third -lharfbuzz -lfreetype -lgumbo -ljbig2dec -lopenjp2 -ljpeg -ltesseract -llept -lz /usr/lib64/libQt5OpenGL.so /usr/lib64/libQt5QuickWidgets.so /usr/lib64/libQt5Widgets.so /usr/lib64/libQt5Quick.so /usr/lib64/libQt53DAnimation.so /usr/lib64/libQt53DExtras.so /usr/lib64/libQt53DRender.so /usr/lib64/libQt53DInput.so /usr/lib64/libQt53DLogic.so /usr/lib64/libQt53DCore.so /usr/lib64/libQt5OpenGLExtensions.a /usr/lib64/libQt5Gui.so /usr/lib64/libQt5Sql.so /usr/lib64/libQt5QmlModels.so /usr/lib64/libQt5Qml.so /usr/lib64/libQt5Network.so /usr/lib64/libQt5Core.so -lGL -lpthread + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9bXJwf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sioyek-1.0.0-1.fc36.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sioyek-1.0.0-1.fc36.x86_64 ++ dirname /builddir/build/BUILDROOT/sioyek-1.0.0-1.fc36.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sioyek-1.0.0-1.fc36.x86_64 + cd sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f + mkdir -p /builddir/build/BUILDROOT/sioyek-1.0.0-1.fc36.x86_64/usr/bin + install -m 755 sioyek /builddir/build/BUILDROOT/sioyek-1.0.0-1.fc36.x86_64/usr/bin + mkdir -p /builddir/build/BUILDROOT/sioyek-1.0.0-1.fc36.x86_64/usr/share/sioyek/shaders + install pdf_viewer/shaders/dark_mode.fragment pdf_viewer/shaders/debug.fragment pdf_viewer/shaders/highlight.fragment pdf_viewer/shaders/simple.fragment pdf_viewer/shaders/simple.vertex pdf_viewer/shaders/undendered_page.fragment pdf_viewer/shaders/unrendered_page.fragment pdf_viewer/shaders/vertical_bar.fragment pdf_viewer/shaders/vertical_bar_dark.fragment /builddir/build/BUILDROOT/sioyek-1.0.0-1.fc36.x86_64/usr/share/sioyek/shaders + mkdir -p /builddir/build/BUILDROOT/sioyek-1.0.0-1.fc36.x86_64/etc/sioyek + install pdf_viewer/prefs.config /builddir/build/BUILDROOT/sioyek-1.0.0-1.fc36.x86_64/etc/sioyek + install pdf_viewer/keys.config /builddir/build/BUILDROOT/sioyek-1.0.0-1.fc36.x86_64/etc/sioyek + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./etc/sioyek/keys.config is executable but has no shebang, removing executable bit *** WARNING: ./etc/sioyek/prefs.config is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/sioyek/shaders/vertical_bar_dark.fragment is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/sioyek/shaders/vertical_bar.fragment is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/sioyek/shaders/unrendered_page.fragment is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/sioyek/shaders/undendered_page.fragment is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/sioyek/shaders/simple.vertex is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/sioyek/shaders/simple.fragment is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/sioyek/shaders/highlight.fragment is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/sioyek/shaders/debug.fragment is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/sioyek/shaders/dark_mode.fragment is executable but has no shebang, removing executable bit + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: sioyek-1.0.0-1.fc36.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4qerxN + umask 022 + cd /builddir/build/BUILD + cd sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f + DOCDIR=/builddir/build/BUILDROOT/sioyek-1.0.0-1.fc36.x86_64/usr/share/doc/sioyek + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sioyek-1.0.0-1.fc36.x86_64/usr/share/doc/sioyek + cp -pr README.md /builddir/build/BUILDROOT/sioyek-1.0.0-1.fc36.x86_64/usr/share/doc/sioyek + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vqrtOV + umask 022 + cd /builddir/build/BUILD + cd sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f + LICENSEDIR=/builddir/build/BUILDROOT/sioyek-1.0.0-1.fc36.x86_64/usr/share/licenses/sioyek + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sioyek-1.0.0-1.fc36.x86_64/usr/share/licenses/sioyek + cp -pr LICENSE /builddir/build/BUILDROOT/sioyek-1.0.0-1.fc36.x86_64/usr/share/licenses/sioyek + RPM_EC=0 ++ jobs -p + exit 0 Provides: sioyek = 1.0.0-1.fc36 sioyek(x86-64) = 1.0.0-1.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libGL.so.1()(64bit) libQt53DAnimation.so.5()(64bit) libQt53DCore.so.5()(64bit) libQt53DExtras.so.5()(64bit) libQt53DInput.so.5()(64bit) libQt53DLogic.so.5()(64bit) libQt53DRender.so.5()(64bit) libQt5Core.so.5()(64bit) libQt5Core.so.5(Qt_5)(64bit) libQt5Core.so.5(Qt_5.15)(64bit) libQt5Gui.so.5()(64bit) libQt5Gui.so.5(Qt_5)(64bit) libQt5Network.so.5()(64bit) libQt5Network.so.5(Qt_5)(64bit) libQt5OpenGL.so.5()(64bit) libQt5Qml.so.5()(64bit) libQt5QmlModels.so.5()(64bit) libQt5Quick.so.5()(64bit) libQt5QuickWidgets.so.5()(64bit) libQt5Sql.so.5()(64bit) libQt5Widgets.so.5()(64bit) libQt5Widgets.so.5(Qt_5)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libfreetype.so.6()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgumbo.so.1()(64bit) libharfbuzz.so.0()(64bit) libjbig2dec.so.0()(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) liblept.so.5()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.27)(64bit) libm.so.6(GLIBC_2.29)(64bit) libopenjp2.so.7()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtesseract.so.4()(64bit) libz.so.1()(64bit) libz.so.1(ZLIB_1.2.0)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sioyek-1.0.0-1.fc36.x86_64 Wrote: /builddir/build/RPMS/sioyek-1.0.0-1.fc36.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.DY2iwL + umask 022 + cd /builddir/build/BUILD + cd sioyek-a620853bd03ce4d1707cd44948f3b15e4ec9100f + rm -rf /builddir/build/BUILDROOT/sioyek-1.0.0-1.fc36.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0