Diff of the two buildlogs: -- --- b1/build.log 2024-04-29 14:41:38.770748085 +0000 +++ b2/build.log 2024-04-29 14:49:54.469630466 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Jun 1 09:00:53 -12 2025 -I: pbuilder-time-stamp: 1748811653 +I: Current time: Tue Apr 30 04:41:41 +14 2024 +I: pbuilder-time-stamp: 1714401701 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -37,54 +37,86 @@ dpkg-source: info: applying 0007-fix-build-with-mupdf-0.23.0.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/9467/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/55336/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 29 14:41 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/55336/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/55336/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='7b7cfe7655ba428db64fbb3c65c1e9a2' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='9467' - PS1='# ' - PS2='> ' + INVOCATION_ID=f162c94cf06d4ed0823ef5013cd306f3 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=55336 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.m2IFSdvo/pbuilderrc_PyDX --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.m2IFSdvo/b1 --logfile b1/build.log sioyek_2.0.0+dfsg-4.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.m2IFSdvo/pbuilderrc_QzzX --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.m2IFSdvo/b2 --logfile b2/build.log sioyek_2.0.0+dfsg-4.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos6-i386 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 26 17:47 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/9467/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 21 07:13 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/55336/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -682,7 +714,7 @@ Get: 302 http://deb.debian.org/debian trixie/main i386 qt3d5-dev i386 5.15.10+dfsg-2+b1 [98.5 kB] Get: 303 http://deb.debian.org/debian trixie/main i386 texlive-pictures all 2023.20240207-1 [16.7 MB] Get: 304 http://deb.debian.org/debian trixie/main i386 texlive-latex-extra all 2023.20240207-1 [19.7 MB] -Fetched 308 MB in 5s (63.4 MB/s) +Fetched 308 MB in 12s (25.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed dpkg: libdb5.3:i386: dependency problems, but removing anyway as you requested: libperl5.38:i386 depends on libdb5.3. @@ -1661,8 +1693,8 @@ Setting up tzdata (2024a-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun Jun 1 21:01:44 UTC 2025. -Universal Time is now: Sun Jun 1 21:01:44 UTC 2025. +Local time is now: Mon Apr 29 14:44:49 UTC 2024. +Universal Time is now: Mon Apr 29 14:44:49 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up xtrans-dev (1.4.0-1) ... @@ -1970,7 +2002,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/sioyek-2.0.0+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../sioyek_2.0.0+dfsg-4_source.changes +I: user script /srv/workspace/pbuilder/55336/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/55336/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/sioyek-2.0.0+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../sioyek_2.0.0+dfsg-4_source.changes dpkg-buildpackage: info: source package sioyek dpkg-buildpackage: info: source version 2.0.0+dfsg-4 dpkg-buildpackage: info: source distribution unstable @@ -1989,7 +2025,7 @@ qmake -makefile "QMAKE_CFLAGS_RELEASE=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_CFLAGS_DEBUG=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_CXXFLAGS_RELEASE=-g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_CXXFLAGS_DEBUG=-g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_LFLAGS_RELEASE=-Wl,-z,relro -Wl,-z,now" "QMAKE_LFLAGS_DEBUG=-Wl,-z,relro -Wl,-z,now" QMAKE_STRIP=: PREFIX=/usr Info: creating stash file /build/reproducible-path/sioyek-2.0.0+dfsg/.qmake.stash dh_auto_build - make -j22 + make -j10 make[1]: Entering directory '/build/reproducible-path/sioyek-2.0.0+dfsg' g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o book.o pdf_viewer/book.cpp g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o config.o pdf_viewer/config.cpp @@ -2001,21 +2037,6 @@ g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o main_widget.o pdf_viewer/main_widget.cpp g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o pdf_renderer.o pdf_viewer/pdf_renderer.cpp g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o pdf_view_opengl_widget.o pdf_viewer/pdf_view_opengl_widget.cpp -g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o checksum.o pdf_viewer/checksum.cpp -g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o new_file_checker.o pdf_viewer/new_file_checker.cpp -g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o coordinates.o pdf_viewer/coordinates.cpp -g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o ui.o pdf_viewer/ui.cpp -g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o path.o pdf_viewer/path.cpp -g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o utils.o pdf_viewer/utils.cpp -g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o RunGuard.o pdf_viewer/RunGuard.cpp -g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o OpenWithApplication.o pdf_viewer/OpenWithApplication.cpp -g++ -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -dM -E -o moc_predefs.h /usr/lib/i386-linux-gnu/qt5/mkspecs/features/data/dummy.cpp -/usr/lib/qt5/bin/moc -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/reproducible-path/sioyek-2.0.0+dfsg/moc_predefs.h -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -I/build/reproducible-path/sioyek-2.0.0+dfsg -I/build/reproducible-path/sioyek-2.0.0+dfsg/pdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/i386-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/i686-linux-gnu/13/include -I/usr/local/include -I/usr/include/i386-linux-gnu -I/usr/include pdf_viewer/pdf_renderer.h -o moc_pdf_renderer.cpp -/usr/lib/qt5/bin/moc -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/reproducible-path/sioyek-2.0.0+dfsg/moc_predefs.h -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -I/build/reproducible-path/sioyek-2.0.0+dfsg -I/build/reproducible-path/sioyek-2.0.0+dfsg/pdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/i386-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/i686-linux-gnu/13/include -I/usr/local/include -I/usr/include/i386-linux-gnu -I/usr/include pdf_viewer/RunGuard.h -o moc_RunGuard.cpp -/usr/lib/qt5/bin/moc -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/reproducible-path/sioyek-2.0.0+dfsg/moc_predefs.h -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -I/build/reproducible-path/sioyek-2.0.0+dfsg -I/build/reproducible-path/sioyek-2.0.0+dfsg/pdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/i386-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/i686-linux-gnu/13/include -I/usr/local/include -I/usr/include/i386-linux-gnu -I/usr/include pdf_viewer/OpenWithApplication.h -o moc_OpenWithApplication.cpp -g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o moc_OpenWithApplication.o moc_OpenWithApplication.cpp -g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o moc_RunGuard.o moc_RunGuard.cpp -g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o moc_pdf_renderer.o moc_pdf_renderer.cpp pdf_viewer/database.cpp:408:1: warning: multi-line comment [-Wcomment] 408 | // const char* insert_books_sql = ""\ | ^ @@ -2024,15 +2045,14 @@ | ^ In file included from pdf_viewer/utf8.h:31, from pdf_viewer/utils.h:21, - from pdf_viewer/database.h:9, - from pdf_viewer/document.h:22, - from pdf_viewer/document.cpp:1: + from pdf_viewer/pdf_renderer.cpp:2: pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_algobase.h:65, from /usr/include/c++/13/vector:62, - from pdf_viewer/document.h:2: + from pdf_viewer/pdf_renderer.h:3, + from pdf_viewer/pdf_renderer.cpp:1: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -2045,18 +2065,15 @@ | ^~~~~~~~ In file included from pdf_viewer/utf8.h:31, from pdf_viewer/utils.h:21, - from pdf_viewer/path.h:5, - from pdf_viewer/path.cpp:2: + from pdf_viewer/database.h:9, + from pdf_viewer/document.h:22, + from pdf_viewer/document.cpp:1: pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/algorithm:60, - from /usr/include/i386-linux-gnu/qt5/QtCore/qglobal.h:142, - from /usr/include/i386-linux-gnu/qt5/QtCore/qchar.h:43, - from /usr/include/i386-linux-gnu/qt5/QtCore/qstring.h:49, - from /usr/include/i386-linux-gnu/qt5/QtCore/qdir.h:43, - from pdf_viewer/path.cpp:1: + from /usr/include/c++/13/vector:62, + from pdf_viewer/document.h:2: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -2067,22 +2084,21 @@ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ -pdf_viewer/path.cpp: In member function 'std::string Path::get_path_utf8() const': -pdf_viewer/path.cpp:56:25: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 56 | return std::move(utf8_encode(get_path())); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -pdf_viewer/path.cpp:56:25: note: remove 'std::move' call In file included from pdf_viewer/utf8.h:31, from pdf_viewer/utils.h:21, - from pdf_viewer/path.h:5, - from pdf_viewer/config.h:9, - from pdf_viewer/config.cpp:1: + from pdf_viewer/database.h:9, + from pdf_viewer/database.cpp:1: pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/vector:62, - from pdf_viewer/config.h:3: +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47, + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/ostream:40, + from /usr/include/c++/13/iostream:41, + from pdf_viewer/database.h:3: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -2109,101 +2125,17 @@ pdf_viewer/document.cpp:449:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 449 | if (page_index < 0 || (page_index >= accum_page_heights.size())) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pdf_viewer/config.cpp: In constructor 'ConfigManager::ConfigManager(const Path&, const Path&, const std::vector&)': -pdf_viewer/config.cpp:294:14: warning: unused variable 'vec3_deserializer' [-Wunused-variable] - 294 | auto vec3_deserializer = vec_n_deserializer<3, float>; - | ^~~~~~~~~~~~~~~~~ -pdf_viewer/config.cpp:295:14: warning: unused variable 'vec4_deserializer' [-Wunused-variable] - 295 | auto vec4_deserializer = vec_n_deserializer<4, float>; - | ^~~~~~~~~~~~~~~~~ In file included from pdf_viewer/utf8.h:31, from pdf_viewer/utils.h:21, - from pdf_viewer/utils.cpp:6: -pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 268 | class iterator : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/bits/specfun.h:43, - from /usr/include/c++/13/cmath:3699, - from pdf_viewer/utils.cpp:4: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -In file included from pdf_viewer/utf8.h:32: -pdf_viewer/utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 179 | class iterator : public std::iterator { - | ^~~~~~~~ -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -In file included from pdf_viewer/utf8.h:31, - from pdf_viewer/utils.h:21, - from pdf_viewer/pdf_renderer.cpp:2: + from pdf_viewer/path.h:5, + from pdf_viewer/config.h:9, + from pdf_viewer/config.cpp:1: pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_algobase.h:65, from /usr/include/c++/13/vector:62, - from pdf_viewer/pdf_renderer.h:3, - from pdf_viewer/pdf_renderer.cpp:1: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -In file included from pdf_viewer/utf8.h:32: -pdf_viewer/utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 179 | class iterator : public std::iterator { - | ^~~~~~~~ -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -In file included from pdf_viewer/utf8.h:31, - from pdf_viewer/utils.h:21, - from pdf_viewer/database.h:9, - from pdf_viewer/database.cpp:1: -pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 268 | class iterator : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/ostream:40, - from /usr/include/c++/13/iostream:41, - from pdf_viewer/database.h:3: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -In file included from pdf_viewer/utf8.h:32: -pdf_viewer/utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 179 | class iterator : public std::iterator { - | ^~~~~~~~ -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -pdf_viewer/document.cpp: In member function 'fz_rect Document::get_page_absolute_rect(int)': -pdf_viewer/document.cpp:760:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 760 | if (page >= page_widths.size()) { - | ~~~~~^~~~~~~~~~~~~~~~~~~~~ -pdf_viewer/document.cpp: In member function 'DocumentPos Document::absolute_to_page_pos(AbsoluteDocumentPos)': -pdf_viewer/document.cpp:906:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 906 | if (i < accum_page_heights.size()) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from pdf_viewer/utf8.h:31, - from pdf_viewer/utils.h:21, - from pdf_viewer/input.h:12, - from pdf_viewer/input.cpp:10: -pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 268 | class iterator : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/ostream:40, - from /usr/include/c++/13/iostream:41, - from pdf_viewer/input.cpp:1: + from pdf_viewer/config.h:3: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -2214,11 +2146,6 @@ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ -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:1166:27: warning: unknown escape sequence: '\.' - 1166 | std::wregex regex(L"[a-zA-Z]{3,}(\.){0,1}[ \t]+[0-9]+(\.[0-9]+)*"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pdf_viewer/document.cpp:1166:27: warning: unknown escape sequence: '\.' 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) { @@ -2232,30 +2159,10 @@ 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) { | ~~~~~~~^~~~~~~~ -In file included from pdf_viewer/utf8.h:31, - from pdf_viewer/utils.h:21, - from pdf_viewer/database.h:9, - from pdf_viewer/document.h:22, - from pdf_viewer/document_view.h:22, - from pdf_viewer/main_widget.h:17, - from pdf_viewer/new_file_checker.h:3, - from pdf_viewer/new_file_checker.cpp:1: -pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 268 | class iterator : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, - from pdf_viewer/main_widget.h:3: -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -In file included from pdf_viewer/utf8.h:32: -pdf_viewer/utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 179 | class iterator : public std::iterator { - | ^~~~~~~~ -/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ +pdf_viewer/document.cpp: In member function 'fz_rect Document::get_page_absolute_rect(int)': +pdf_viewer/document.cpp:760:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 760 | if (page >= page_widths.size()) { + | ~~~~~^~~~~~~~~~~~~~~~~~~~~ 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) { @@ -2268,6 +2175,10 @@ 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/document.cpp: In member function 'DocumentPos Document::absolute_to_page_pos(AbsoluteDocumentPos)': +pdf_viewer/document.cpp:906:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 906 | if (i < accum_page_heights.size()) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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) { @@ -2276,13 +2187,6 @@ 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/input.cpp: In constructor 'CommandManager::CommandManager(ConfigManager*)': -pdf_viewer/input.cpp:176:35: warning: missing initializer for member 'Command::special_symbols' [-Wmissing-field-initializers] - 176 | commands.push_back({ utf8_encode(command_name) , false, false, false, false, true}); - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pdf_viewer/input.cpp:180:35: warning: missing initializer for member 'Command::special_symbols' [-Wmissing-field-initializers] - 180 | commands.push_back({ utf8_encode(command_name) , false, false, false, false, true}); - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/database.cpp: In 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) { @@ -2299,101 +2203,45 @@ 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/utils.cpp: In function 'void install_app(const char*)': -pdf_viewer/utils.cpp:175:30: warning: unused parameter 'argv0' [-Wunused-parameter] - 175 | void install_app(const char *argv0) - | ~~~~~~~~~~~~^~~~~ pdf_viewer/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/document.cpp: In member function 'float Document::document_to_absolute_y(int, float)': -pdf_viewer/document.cpp:1947:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1947 | if ((page < accum_page_heights.size()) && (page >= 0)) { - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -pdf_viewer/document.cpp: In member function 'AbsoluteDocumentPos Document::document_to_absolute_pos(DocumentPos, bool)': -pdf_viewer/document.cpp:1956:41: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1956 | if (center_mid && (doc_pos.page < page_widths.size())) { - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +pdf_viewer/config.cpp: In constructor 'ConfigManager::ConfigManager(const Path&, const Path&, const std::vector&)': +pdf_viewer/config.cpp:294:14: warning: unused variable 'vec3_deserializer' [-Wunused-variable] + 294 | auto vec3_deserializer = vec_n_deserializer<3, float>; + | ^~~~~~~~~~~~~~~~~ +pdf_viewer/config.cpp:295:14: warning: unused variable 'vec4_deserializer' [-Wunused-variable] + 295 | auto vec4_deserializer = vec_n_deserializer<4, float>; + | ^~~~~~~~~~~~~~~~~ pdf_viewer/database.cpp: In function 'int highlight_select_callback(void*, int, char**, char**)': pdf_viewer/database.cpp:172:86: warning: unused parameter 'col_name' [-Wunused-parameter] 172 | static int highlight_select_callback(void* res_vector, int argc, char** argv, char** col_name) { | ~~~~~~~^~~~~~~~ -pdf_viewer/document.cpp: In member function 'const std::vector& Document::get_page_lines(int, std::vector >*)': -pdf_viewer/document.cpp:2152:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 2152 | for (int i = 0; i < line_rects.size(); i++) { - | ~~^~~~~~~~~~~~~~~~~~~ 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/utils.cpp: In lambda function: -pdf_viewer/utils.cpp:845:94: warning: unused parameter 'error' [-Wunused-parameter] - 845 | QObject::connect(process, &QProcess::errorOccurred, [process](QProcess::ProcessError error) { - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -pdf_viewer/utils.cpp: In lambda function: -pdf_viewer/utils.cpp:850:109: warning: unused parameter 'exit_code' [-Wunused-parameter] - 850 | QObject::connect(process, qOverload(&QProcess::finished), [process](int exit_code, QProcess::ExitStatus stat) { - | ~~~~^~~~~~~~~ -pdf_viewer/utils.cpp:850:141: warning: unused parameter 'stat' [-Wunused-parameter] - 850 | QObject::connect(process, qOverload(&QProcess::finished), [process](int exit_code, QProcess::ExitStatus stat) { - | ~~~~~~~~~~~~~~~~~~~~~^~~~ -pdf_viewer/utils.cpp: In function 'void index_generic(const std::vector&, int, std::vector&)': -pdf_viewer/utils.cpp:1059:37: warning: unknown escape sequence: '\.' - 1059 | std::wregex index_dst_regex(L"(^|\n)[A-Z][a-zA-Z]{2,}[ \t]+[0-9]+(\.[0-9]+)*"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pdf_viewer/utils.cpp: In function 'void sleep_ms(unsigned int)': -pdf_viewer/utils.cpp:1198:35: warning: narrowing conversion of '(ms / 1000)' from 'unsigned int' to '__time_t' {aka 'long int'} [-Wnarrowing] - 1198 | struct timespec ts = { ms / 1000, (ms % 1000) * 1000 * 1000 }; - | ~~~^~~~~~ -pdf_viewer/utils.cpp:1198:62: warning: narrowing conversion of '(((ms % 1000) * 1000) * 1000)' from 'unsigned int' to '__syscall_slong_t' {aka 'long int'} [-Wnarrowing] - 1198 | struct timespec ts = { ms / 1000, (ms % 1000) * 1000 * 1000 }; - | ~~~~~~~~~~~~~~~~~~~^~~~~~ -pdf_viewer/utils.cpp: In function 'std::wstring get_canonical_path(const std::wstring&)': -pdf_viewer/utils.cpp:1617:25: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 1617 | return std::move(dir.absolutePath().toStdWString()); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pdf_viewer/utils.cpp:1617:25: note: remove 'std::move' call -pdf_viewer/utils.cpp: In function 'std::wstring lowercase(const std::wstring&)': -pdf_viewer/utils.cpp:1747:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1747 | for (int i = 0; i < input.size(); i++) { - | ~~^~~~~~~~~~~~~~ -pdf_viewer/utils.cpp: In function 'std::wifstream open_wifstream(const std::wstring&)': -pdf_viewer/utils.cpp:1830:25: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] - 1830 | return std::move(std::wifstream(encoded_file_name.c_str())); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pdf_viewer/utils.cpp:1830:25: note: remove 'std::move' call -pdf_viewer/utils.cpp: In function 'float line_num_penalty(int)': -pdf_viewer/utils.cpp:1902:28: warning: unused parameter 'num' [-Wunused-parameter] - 1902 | float line_num_penalty(int num) { - | ~~~~^~~ -pdf_viewer/utils.cpp: In function 'bool command_requires_text(const std::wstring&)': -pdf_viewer/utils.cpp:2121:34: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 2121 | if ((command.find(L"%5") != -1) || (command.find(L"command_text") != -1)) { - | ~~~~~~~~~~~~~~~~~~~~^~~~~ -pdf_viewer/utils.cpp:2121:75: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 2121 | if ((command.find(L"%5") != -1) || (command.find(L"command_text") != -1)) { - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -pdf_viewer/utils.cpp: In function 'bool command_requires_rect(const std::wstring&)': -pdf_viewer/utils.cpp:2128:47: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 2128 | if (command.find(L"%{selected_rect}") != -1) { - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -pdf_viewer/utils.cpp: In function 'void flat_char_prism(std::vector, int, std::wstring&, std::vector&, std::vector&)': -pdf_viewer/utils.cpp:2174:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 2174 | for (int j = 0; j < chars.size(); j++) { - | ~~^~~~~~~~~~~~~~ +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:1166:27: warning: unknown escape sequence: '\.' + 1166 | std::wregex regex(L"[a-zA-Z]{3,}(\.){0,1}[ \t]+[0-9]+(\.[0-9]+)*"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pdf_viewer/document.cpp:1166:27: warning: unknown escape sequence: '\.' In file included from pdf_viewer/utf8.h:31, from pdf_viewer/utils.h:21, - from pdf_viewer/database.h:9, - from pdf_viewer/document.h:22, - from pdf_viewer/document_view.h:22, - from pdf_viewer/document_view.cpp:1: + from pdf_viewer/input.h:12, + from pdf_viewer/input.cpp:10: pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_algobase.h:65, - from /usr/include/c++/13/vector:62, - from pdf_viewer/document_view.h:3: +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47, + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/ostream:40, + from /usr/include/c++/13/iostream:41, + from pdf_viewer/input.cpp:1: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -2404,26 +2252,43 @@ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ +pdf_viewer/document.cpp: In member function 'float Document::document_to_absolute_y(int, float)': +pdf_viewer/document.cpp:1947:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1947 | if ((page < accum_page_heights.size()) && (page >= 0)) { + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +pdf_viewer/document.cpp: In member function 'AbsoluteDocumentPos Document::document_to_absolute_pos(DocumentPos, bool)': +pdf_viewer/document.cpp:1956:41: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1956 | if (center_mid && (doc_pos.page < page_widths.size())) { + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +pdf_viewer/document.cpp: In member function 'const std::vector& Document::get_page_lines(int, std::vector >*)': +pdf_viewer/document.cpp:2152:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 2152 | for (int i = 0; i < line_rects.size(); i++) { + | ~~^~~~~~~~~~~~~~~~~~~ +pdf_viewer/input.cpp: In constructor 'CommandManager::CommandManager(ConfigManager*)': +pdf_viewer/input.cpp:176:35: warning: missing initializer for member 'Command::special_symbols' [-Wmissing-field-initializers] + 176 | commands.push_back({ utf8_encode(command_name) , false, false, false, false, true}); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pdf_viewer/input.cpp:180:35: warning: missing initializer for member 'Command::special_symbols' [-Wmissing-field-initializers] + 180 | commands.push_back({ utf8_encode(command_name) , false, false, false, false, true}); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/database.cpp: In member function 'void DatabaseManager::import_json(std::wstring, CachedChecksummer*)': pdf_viewer/database.cpp:1102:43: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 1102 | auto bookmarks = std::move(load_from_json_array(current_json_doc["bookmarks"].toArray())); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/database.cpp:1102:43: note: remove 'std::move' call +g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o checksum.o pdf_viewer/checksum.cpp In file included from pdf_viewer/utf8.h:31, from pdf_viewer/utils.h:21, - from pdf_viewer/input.h:12, - from pdf_viewer/main.cpp:53: + from pdf_viewer/database.h:9, + from pdf_viewer/document.h:22, + from pdf_viewer/document_view.h:22, + from pdf_viewer/document_view.cpp:1: pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, - from /usr/include/c++/13/string:47, - from /usr/include/c++/13/bits/locale_classes.h:40, - from /usr/include/c++/13/bits/ios_base.h:41, - from /usr/include/c++/13/ios:44, - from /usr/include/c++/13/ostream:40, - from /usr/include/c++/13/iostream:41, - from pdf_viewer/main.cpp:1: +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/vector:62, + from pdf_viewer/document_view.h:3: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -2459,16 +2324,25 @@ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ +pdf_viewer/database.cpp: At global scope: +pdf_viewer/database.cpp:149:12: warning: 'int string_select_callback(void*, int, char**, char**)' defined but not used [-Wunused-function] + 149 | static int string_select_callback(void* res_vector, int argc, char** argv, char** col_name) { + | ^~~~~~~~~~~~~~~~~~~~~~ In file included from pdf_viewer/utf8.h:31, from pdf_viewer/utils.h:21, - from pdf_viewer/ui.h:39, - from pdf_viewer/ui.cpp:1: + from pdf_viewer/input.h:12, + from pdf_viewer/main.cpp:53: pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, from /usr/include/c++/13/string:47, - from pdf_viewer/ui.h:2: + from /usr/include/c++/13/bits/locale_classes.h:40, + from /usr/include/c++/13/bits/ios_base.h:41, + from /usr/include/c++/13/ios:44, + from /usr/include/c++/13/ostream:40, + from /usr/include/c++/13/iostream:41, + from pdf_viewer/main.cpp:1: /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -2479,6 +2353,10 @@ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ +pdf_viewer/document_view.cpp: In member function 'std::optional DocumentView::find_closest_bookmark()': +pdf_viewer/document_view.cpp:149:62: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 149 | if ((bookmark_index >= 0) && (bookmark_index < bookmarks.size())) { + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from pdf_viewer/utf8.h:31, from pdf_viewer/utils.h:21, from pdf_viewer/database.h:9, @@ -2507,18 +2385,6 @@ /usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ -pdf_viewer/database.cpp: At global scope: -pdf_viewer/database.cpp:149:12: warning: 'int string_select_callback(void*, int, char**, char**)' defined but not used [-Wunused-function] - 149 | static int string_select_callback(void* res_vector, int argc, char** argv, char** col_name) { - | ^~~~~~~~~~~~~~~~~~~~~~ -pdf_viewer/document_view.cpp: In member function 'std::optional DocumentView::find_closest_bookmark()': -pdf_viewer/document_view.cpp:149:62: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 149 | if ((bookmark_index >= 0) && (bookmark_index < bookmarks.size())) { - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -pdf_viewer/main.cpp: In function 'void focus_on_widget(QWidget*)': -pdf_viewer/main.cpp:657:54: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] - 657 | widget->setWindowState(widget->windowState() & ~Qt::WindowMinimized | Qt::WindowActive); - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/document_view.cpp: In member function 'int DocumentView::get_line_index_of_pos(DocumentPos)': pdf_viewer/document_view.cpp:1068:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1068 | for (int i = 0; i < rects.size(); i++) { @@ -2529,10 +2395,6 @@ pdf_viewer/document_view.cpp:1066:13: warning: unused variable 'page_width' [-Wunused-variable] 1066 | int page_width = current_document->get_page_width(line_doc_pos.page); | ^~~~~~~~~~ -pdf_viewer/main.cpp: In function 'int main(int, char**)': -pdf_viewer/main.cpp:695:14: warning: variable 'use_single_instance' set but not used [-Wunused-but-set-variable] - 695 | bool use_single_instance = (!SHOULD_LAUNCH_NEW_INSTANCE) && (!SHOULD_LAUNCH_NEW_WINDOW); - | ^~~~~~~~~~~~~~~~~~~ pdf_viewer/document_view.cpp: In member function 'std::vector DocumentView::find_line_definitions()': pdf_viewer/document_view.cpp:1110:49: warning: unknown escape sequence: '\.' 1110 | std::wstring item_regex(L"[a-zA-Z]{2,}[ \t]+[0-9]+(\.[0-9]+)*"); @@ -2546,10 +2408,7 @@ pdf_viewer/document_view.cpp:1155:29: warning: unused variable 'index' [-Wunused-variable] 1155 | int index = 0; | ^~~~~ -pdf_viewer/new_file_checker.cpp: In lambda function: -pdf_viewer/new_file_checker.cpp:80:128: warning: unused parameter 'path' [-Wunused-parameter] - 80 | QObject::connect(&paper_folder_watcher, &QFileSystemWatcher::directoryChanged, [&, main_widget](const QString& path) { - | ~~~~~~~~~~~~~~~^~~~ +In file included from pdf_viewer/document_view.h:25: pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:569:32: required from here @@ -2583,14 +2442,6 @@ pdf_viewer/main_widget.cpp:474:78: warning: unused parameter 'action' [-Wunused-parameter] 474 | scroll_bar->connect(scroll_bar, &QScrollBar::actionTriggered, [this](int action) { | ~~~~^~~~~~ -pdf_viewer/main_widget.cpp: In member function 'std::wstring MainWidget::get_status_string()': -pdf_viewer/main_widget.cpp:627:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] - 627 | if (index == location_string.size()) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -pdf_viewer/main_widget.cpp: In member function 'virtual void MainWidget::on_config_file_changed(ConfigManager*)': -pdf_viewer/main_widget.cpp:845:56: warning: unused parameter 'new_config' [-Wunused-parameter] - 845 | void MainWidget::on_config_file_changed(ConfigManager* new_config) { - | ~~~~~~~~~~~~~~~^~~~~~~~~~ pdf_viewer/pdf_view_opengl_widget.cpp: In member function 'void PdfViewOpenGLWidget::render_overview(OverviewState)': pdf_viewer/pdf_view_opengl_widget.cpp:567:17: warning: variable 'page_rect' set but not used [-Wunused-but-set-variable] 567 | fz_rect page_rect; @@ -2599,27 +2450,13 @@ pdf_viewer/pdf_view_opengl_widget.cpp:747:32: warning: unused variable 'texture' [-Wunused-variable] 747 | GLuint texture = pdf_renderer->find_rendered_page(document_view->get_document()->get_path(), | ^~~~~~~ -In file included from pdf_viewer/main.cpp:57: -pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' -pdf_viewer/ui.h:569:32: required from here -pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] - 141 | virtual bool on_text_change(const QString& text) { - | ~~~~~~~~~~~~~~~^~~~ pdf_viewer/pdf_view_opengl_widget.cpp:943:45: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 943 | for (int j = i+1; j < all_visible_links.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' -pdf_viewer/ui.h:643:18: required from here -pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] -In file included from pdf_viewer/document_view.h:25: -pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' -pdf_viewer/ui.h:569:32: required from here -pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] - 141 | virtual bool on_text_change(const QString& text) { - | ~~~~~~~~~~~~~~~^~~~ +pdf_viewer/main_widget.cpp: In member function 'std::wstring MainWidget::get_status_string()': +pdf_viewer/main_widget.cpp:627:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] + 627 | if (index == location_string.size()) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/pdf_view_opengl_widget.cpp: In member function 'void PdfViewOpenGLWidget::draw_empty_helper_message(QPainter*)': pdf_viewer/pdf_view_opengl_widget.cpp:1232:37: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 1232 | int message_width = fm.width(message); @@ -2631,10 +2468,10 @@ /usr/include/i386-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ -pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' -pdf_viewer/ui.h:643:18: required from here -pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] +pdf_viewer/main_widget.cpp: In member function 'virtual void MainWidget::on_config_file_changed(ConfigManager*)': +pdf_viewer/main_widget.cpp:845:56: warning: unused parameter 'new_config' [-Wunused-parameter] + 845 | void MainWidget::on_config_file_changed(ConfigManager* new_config) { + | ~~~~~~~~~~~~~~~^~~~~~~~~~ pdf_viewer/main_widget.cpp: In member function 'void MainWidget::next_state()': pdf_viewer/main_widget.cpp:1535:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1535 | if (current_history_index + 1 < history.size()) { @@ -2647,6 +2484,10 @@ pdf_viewer/main_widget.cpp:1588:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1588 | if (index_to_update < history.size()-1) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +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:379:22: warning: variable 'ret_val' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 379 | fz_document* ret_val = nullptr; + | ^~~~~~~ pdf_viewer/main_widget.cpp: In member function 'virtual void MainWidget::wheelEvent(QWheelEvent*)': pdf_viewer/main_widget.cpp:1806:24: warning: 'QPoint QWheelEvent::pos() const' is deprecated: Use position() [-Wdeprecated-declarations] 1806 | int x = wevent->pos().x(); @@ -2716,34 +2557,27 @@ pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] 141 | virtual bool on_text_change(const QString& text) { | ~~~~~~~~~~~~~~~^~~~ +pdf_viewer/document_view.cpp: In member function 'NormalizedWindowPos DocumentView::document_to_window_pos(DocumentPos)': +pdf_viewer/document_view.cpp:351:1: warning: control reaches end of non-void function [-Wreturn-type] + 351 | } + | ^ pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:643:18: required from here pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] +pdf_viewer/main.cpp: In function 'void focus_on_widget(QWidget*)': +pdf_viewer/main.cpp:657:54: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] + 657 | widget->setWindowState(widget->windowState() & ~Qt::WindowMinimized | Qt::WindowActive); + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +pdf_viewer/main.cpp: In function 'int main(int, char**)': +pdf_viewer/main.cpp:695:14: warning: variable 'use_single_instance' set but not used [-Wunused-but-set-variable] + 695 | bool use_single_instance = (!SHOULD_LAUNCH_NEW_INSTANCE) && (!SHOULD_LAUNCH_NEW_WINDOW); + | ^~~~~~~~~~~~~~~~~~~ In file included from pdf_viewer/ui.h:36: +pdf_viewer/fts_fuzzy_match.h: At global scope: pdf_viewer/fts_fuzzy_match.h:59:17: warning: 'bool fts::fuzzy_match_simple(const char*, const char*)' defined but not used [-Wunused-function] 59 | static bool fuzzy_match_simple(char const * pattern, char const * str) { | ^~~~~~~~~~~~~~~~~~ -In file included from pdf_viewer/document_view.h:25: -pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' -pdf_viewer/ui.h:569:32: required from here -pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] - 141 | virtual bool on_text_change(const QString& text) { - | ~~~~~~~~~~~~~~~^~~~ -pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:132:15: required from here -pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter] - 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter] - 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:134:15: required from here -pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] - 134 | virtual void on_return_no_select(const QString& text) { - | ~~~~~~~~~~~~~~~^~~~ pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter] @@ -2757,10 +2591,6 @@ pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] 134 | virtual void on_return_no_select(const QString& text) { | ~~~~~~~~~~~~~~~^~~~ -pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' -pdf_viewer/ui.h:643:18: required from here -pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter] @@ -2774,23 +2604,6 @@ pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] 134 | virtual void on_return_no_select(const QString& text) { | ~~~~~~~~~~~~~~~^~~~ -pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:132:15: required from here -pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter] - 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter] - 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:134:15: required from here -pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] - 134 | virtual void on_return_no_select(const QString& text) { - | ~~~~~~~~~~~~~~~^~~~ -pdf_viewer/document_view.cpp: In member function 'NormalizedWindowPos DocumentView::document_to_window_pos(DocumentPos)': -pdf_viewer/document_view.cpp:351:1: warning: control reaches end of non-void function [-Wreturn-type] - 351 | } - | ^ pdf_viewer/main_widget.cpp: In member function 'void MainWidget::execute_command(std::wstring, std::wstring, bool)': pdf_viewer/main_widget.cpp:3404:26: warning: ignoring return value of 'QString QString::arg(const QString&, int, QChar) const', declared with attribute 'nodiscard' [-Wunused-result] 3404 | qtext.arg(qfile_path); @@ -2855,20 +2668,21 @@ /usr/include/i386-linux-gnu/qt5/QtWidgets/qdesktopwidget.h:79:67: note: declared here 79 | QT_DEPRECATED_X("Use QGuiApplication::screens()") const QRect screenGeometry(int screen = -1) const; | ^~~~~~~~~~~~~~ -In file included from pdf_viewer/ui.h:36: -pdf_viewer/fts_fuzzy_match.h: At global scope: -pdf_viewer/fts_fuzzy_match.h:59:17: warning: 'bool fts::fuzzy_match_simple(const char*, const char*)' defined but not used [-Wunused-function] - 59 | static bool fuzzy_match_simple(char const * pattern, char const * str) { - | ^~~~~~~~~~~~~~~~~~ +In file included from pdf_viewer/main.cpp:57: +pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' +pdf_viewer/ui.h:569:32: required from here +pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] + 141 | virtual bool on_text_change(const QString& text) { + | ~~~~~~~~~~~~~~~^~~~ +pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' +pdf_viewer/ui.h:643:18: required from here +pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] pdf_viewer/main_widget.cpp: In member function 'std::optional MainWidget::get_tag_rect(std::string, std::vector*)': pdf_viewer/main_widget.cpp:3809:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 3809 | if (index < word_rects.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~ -In file included from pdf_viewer/ui.h:36: -pdf_viewer/fts_fuzzy_match.h: At global scope: -pdf_viewer/fts_fuzzy_match.h:59:17: warning: 'bool fts::fuzzy_match_simple(const char*, const char*)' defined but not used [-Wunused-function] - 59 | static bool fuzzy_match_simple(char const * pattern, char const * str) { - | ^~~~~~~~~~~~~~~~~~ pdf_viewer/main_widget.cpp: In member function 'virtual void MainWidget::focusInEvent(QFocusEvent*)': pdf_viewer/main_widget.cpp:4015:44: warning: unused parameter 'ev' [-Wunused-parameter] 4015 | void MainWidget::focusInEvent(QFocusEvent* ev) { @@ -2902,19 +2716,15 @@ /usr/include/i386-linux-gnu/qt5/QtCore/qprocess.h:280:17: note: declared here 280 | static bool startDetached(const QString &command); | ^~~~~~~~~~~~~ -pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:132:15: required from here -pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter] - 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter] - 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:134:15: required from here -pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] - 134 | virtual void on_return_no_select(const QString& text) { - | ~~~~~~~~~~~~~~~^~~~ +pdf_viewer/pdf_view_opengl_widget.cpp: In member function 'float PdfViewOpenGLWidget::get_overview_side_pos(int)': +pdf_viewer/pdf_view_opengl_widget.cpp:1365:1: warning: control reaches end of non-void function [-Wreturn-type] + 1365 | } + | ^ +In file included from pdf_viewer/ui.h:36: +pdf_viewer/fts_fuzzy_match.h: At global scope: +pdf_viewer/fts_fuzzy_match.h:59:17: warning: 'bool fts::fuzzy_match_simple(const char*, const char*)' defined but not used [-Wunused-function] + 59 | static bool fuzzy_match_simple(char const * pattern, char const * str) { + | ^~~~~~~~~~~~~~~~~~ pdf_viewer/main_widget.cpp: In member function 'void MainWidget::handle_keyboard_select(const std::wstring&)': pdf_viewer/main_widget.cpp:4306:21: warning: unused variable 'w' [-Wunused-variable] 4306 | int w = erect.x1 - erect.x0; @@ -2922,24 +2732,6 @@ pdf_viewer/main_widget.cpp:4302:37: warning: variable 'srect_' set but not used [-Wunused-but-set-variable] 4302 | std::optional srect_ = get_tag_window_rect(parts.at(0).toStdString(), &schar_rects); | ^~~~~~ -pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:132:15: required from here -pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter] - 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter] - 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:134:15: required from here -pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] - 134 | virtual void on_return_no_select(const QString& text) { - | ~~~~~~~~~~~~~~~^~~~ -In file included from pdf_viewer/ui.h:36: -pdf_viewer/fts_fuzzy_match.h: At global scope: -pdf_viewer/fts_fuzzy_match.h:59:17: warning: 'bool fts::fuzzy_match_simple(const char*, const char*)' defined but not used [-Wunused-function] - 59 | static bool fuzzy_match_simple(char const * pattern, char const * str) { - | ^~~~~~~~~~~~~~~~~~ pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter] @@ -2966,10 +2758,7 @@ pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] 134 | virtual void on_return_no_select(const QString& text) { | ~~~~~~~~~~~~~~~^~~~ -pdf_viewer/pdf_view_opengl_widget.cpp: In member function 'float PdfViewOpenGLWidget::get_overview_side_pos(int)': -pdf_viewer/pdf_view_opengl_widget.cpp:1365:1: warning: control reaches end of non-void function [-Wreturn-type] - 1365 | } - | ^ +g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o new_file_checker.o pdf_viewer/new_file_checker.cpp In file included from pdf_viewer/ui.h:36: pdf_viewer/fts_fuzzy_match.h: At global scope: pdf_viewer/fts_fuzzy_match.h:59:17: warning: 'bool fts::fuzzy_match_simple(const char*, const char*)' defined but not used [-Wunused-function] @@ -2986,10 +2775,8 @@ pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:643:18: required from here pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] -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:379:22: warning: variable 'ret_val' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 379 | fz_document* ret_val = nullptr; - | ^~~~~~~ +g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o coordinates.o pdf_viewer/coordinates.cpp +g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o ui.o pdf_viewer/ui.cpp pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = int; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = int; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:464:40: required from 'FilteredSelectWindowClass::FilteredSelectWindowClass(std::vector >, std::vector, std::function, QWidget*, std::function) [with T = int]' @@ -3133,10 +2920,176 @@ 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) { | ^~~~~~~~~~~~~~~~~~ +g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o path.o pdf_viewer/path.cpp +g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o utils.o pdf_viewer/utils.cpp +g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o RunGuard.o pdf_viewer/RunGuard.cpp +In file included from pdf_viewer/utf8.h:31, + from pdf_viewer/utils.h:21, + from pdf_viewer/database.h:9, + from pdf_viewer/document.h:22, + from pdf_viewer/document_view.h:22, + from pdf_viewer/main_widget.h:17, + from pdf_viewer/new_file_checker.h:3, + from pdf_viewer/new_file_checker.cpp:1: +pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 268 | class iterator : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47, + from pdf_viewer/main_widget.h:3: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +In file included from pdf_viewer/utf8.h:32: +pdf_viewer/utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 179 | class iterator : public std::iterator { + | ^~~~~~~~ +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ pdf_viewer/main.cpp: In function 'int main(int, char**)': pdf_viewer/main.cpp:738:14: warning: variable 'fail' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 738 | bool fail = false; | ^~~~ +In file included from pdf_viewer/utf8.h:31, + from pdf_viewer/utils.h:21, + from pdf_viewer/ui.h:39, + from pdf_viewer/ui.cpp:1: +pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 268 | class iterator : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66, + from /usr/include/c++/13/string:47, + from pdf_viewer/ui.h:2: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +In file included from pdf_viewer/utf8.h:32: +pdf_viewer/utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 179 | class iterator : public std::iterator { + | ^~~~~~~~ +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' +pdf_viewer/ui.h:569:32: required from here +pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] + 141 | virtual bool on_text_change(const QString& text) { + | ~~~~~~~~~~~~~~~^~~~ +pdf_viewer/new_file_checker.cpp: In lambda function: +pdf_viewer/new_file_checker.cpp:80:128: warning: unused parameter 'path' [-Wunused-parameter] + 80 | QObject::connect(&paper_folder_watcher, &QFileSystemWatcher::directoryChanged, [&, main_widget](const QString& path) { + | ~~~~~~~~~~~~~~~^~~~ +pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' +pdf_viewer/ui.h:643:18: required from here +pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] +pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:132:15: required from here +pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter] + 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter] + 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:134:15: required from here +pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] + 134 | virtual void on_return_no_select(const QString& text) { + | ~~~~~~~~~~~~~~~^~~~ +pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:132:15: required from here +pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter] + 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter] + 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:134:15: required from here +pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] + 134 | virtual void on_return_no_select(const QString& text) { + | ~~~~~~~~~~~~~~~^~~~ +In file included from pdf_viewer/ui.h:36: +pdf_viewer/fts_fuzzy_match.h:59:17: warning: 'bool fts::fuzzy_match_simple(const char*, const char*)' defined but not used [-Wunused-function] + 59 | static bool fuzzy_match_simple(char const * pattern, char const * str) { + | ^~~~~~~~~~~~~~~~~~ +In file included from pdf_viewer/document_view.h:25: +pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' +pdf_viewer/ui.h:569:32: required from here +pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] + 141 | virtual bool on_text_change(const QString& text) { + | ~~~~~~~~~~~~~~~^~~~ +pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' +pdf_viewer/ui.h:643:18: required from here +pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] +g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o OpenWithApplication.o pdf_viewer/OpenWithApplication.cpp +pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:132:15: required from here +pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter] + 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter] + 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:134:15: required from here +pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] + 134 | virtual void on_return_no_select(const QString& text) { + | ~~~~~~~~~~~~~~~^~~~ +pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:132:15: required from here +pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter] + 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter] + 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:134:15: required from here +pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] + 134 | virtual void on_return_no_select(const QString& text) { + | ~~~~~~~~~~~~~~~^~~~ +In file included from pdf_viewer/ui.h:36: +pdf_viewer/fts_fuzzy_match.h: At global scope: +pdf_viewer/fts_fuzzy_match.h:59:17: warning: 'bool fts::fuzzy_match_simple(const char*, const char*)' defined but not used [-Wunused-function] + 59 | static bool fuzzy_match_simple(char const * pattern, char const * str) { + | ^~~~~~~~~~~~~~~~~~ +In file included from pdf_viewer/utf8.h:31, + from pdf_viewer/utils.h:21, + from pdf_viewer/path.h:5, + from pdf_viewer/path.cpp:2: +pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 268 | class iterator : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/algorithm:60, + from /usr/include/i386-linux-gnu/qt5/QtCore/qglobal.h:142, + from /usr/include/i386-linux-gnu/qt5/QtCore/qchar.h:43, + from /usr/include/i386-linux-gnu/qt5/QtCore/qstring.h:49, + from /usr/include/i386-linux-gnu/qt5/QtCore/qdir.h:43, + from pdf_viewer/path.cpp:1: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +In file included from pdf_viewer/utf8.h:32: +pdf_viewer/utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 179 | class iterator : public std::iterator { + | ^~~~~~~~ +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +pdf_viewer/path.cpp: In member function 'std::string Path::get_path_utf8() const': +pdf_viewer/path.cpp:56:25: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 56 | return std::move(utf8_encode(get_path())); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +pdf_viewer/path.cpp:56:25: note: remove 'std::move' call +g++ -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -dM -E -o moc_predefs.h /usr/lib/i386-linux-gnu/qt5/mkspecs/features/data/dummy.cpp +/usr/lib/qt5/bin/moc -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/reproducible-path/sioyek-2.0.0+dfsg/moc_predefs.h -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -I/build/reproducible-path/sioyek-2.0.0+dfsg -I/build/reproducible-path/sioyek-2.0.0+dfsg/pdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/i386-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/i686-linux-gnu/13/include -I/usr/local/include -I/usr/include/i386-linux-gnu -I/usr/include pdf_viewer/pdf_renderer.h -o moc_pdf_renderer.cpp +/usr/lib/qt5/bin/moc -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/reproducible-path/sioyek-2.0.0+dfsg/moc_predefs.h -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -I/build/reproducible-path/sioyek-2.0.0+dfsg -I/build/reproducible-path/sioyek-2.0.0+dfsg/pdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/i386-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/i686-linux-gnu/13/include -I/usr/local/include -I/usr/include/i386-linux-gnu -I/usr/include pdf_viewer/RunGuard.h -o moc_RunGuard.cpp pdf_viewer/document.cpp: In member function 'fz_outline* Document::get_toc_outline()': pdf_viewer/document.cpp:457:21: warning: variable 'res' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 457 | fz_outline* res = nullptr; @@ -3145,6 +3098,89 @@ pdf_viewer/document.cpp:777:13: warning: variable 'pages' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 777 | int pages = -1; | ^~~~~ +/usr/lib/qt5/bin/moc -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/reproducible-path/sioyek-2.0.0+dfsg/moc_predefs.h -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -I/build/reproducible-path/sioyek-2.0.0+dfsg -I/build/reproducible-path/sioyek-2.0.0+dfsg/pdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I/usr/include/c++/13 -I/usr/include/i386-linux-gnu/c++/13 -I/usr/include/c++/13/backward -I/usr/lib/gcc/i686-linux-gnu/13/include -I/usr/local/include -I/usr/include/i386-linux-gnu -I/usr/include pdf_viewer/OpenWithApplication.h -o moc_OpenWithApplication.cpp +g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o moc_RunGuard.o moc_RunGuard.cpp +g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o moc_pdf_renderer.o moc_pdf_renderer.cpp +In file included from pdf_viewer/utf8.h:31, + from pdf_viewer/utils.h:21, + from pdf_viewer/utils.cpp:6: +pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 268 | class iterator : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/13/bits/stl_algobase.h:65, + from /usr/include/c++/13/bits/specfun.h:43, + from /usr/include/c++/13/cmath:3699, + from pdf_viewer/utils.cpp:4: +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +In file included from pdf_viewer/utf8.h:32: +pdf_viewer/utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 179 | class iterator : public std::iterator { + | ^~~~~~~~ +/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/reproducible-path/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtOpenGL -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/Qt3DInput -I/usr/include/i386-linux-gnu/qt5/Qt3DCore -I/usr/include/i386-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o moc_OpenWithApplication.o moc_OpenWithApplication.cpp +pdf_viewer/utils.cpp: In function 'void install_app(const char*)': +pdf_viewer/utils.cpp:175:30: warning: unused parameter 'argv0' [-Wunused-parameter] + 175 | void install_app(const char *argv0) + | ~~~~~~~~~~~~^~~~~ +pdf_viewer/utils.cpp: In lambda function: +pdf_viewer/utils.cpp:845:94: warning: unused parameter 'error' [-Wunused-parameter] + 845 | QObject::connect(process, &QProcess::errorOccurred, [process](QProcess::ProcessError error) { + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +pdf_viewer/utils.cpp: In lambda function: +pdf_viewer/utils.cpp:850:109: warning: unused parameter 'exit_code' [-Wunused-parameter] + 850 | QObject::connect(process, qOverload(&QProcess::finished), [process](int exit_code, QProcess::ExitStatus stat) { + | ~~~~^~~~~~~~~ +pdf_viewer/utils.cpp:850:141: warning: unused parameter 'stat' [-Wunused-parameter] + 850 | QObject::connect(process, qOverload(&QProcess::finished), [process](int exit_code, QProcess::ExitStatus stat) { + | ~~~~~~~~~~~~~~~~~~~~~^~~~ +pdf_viewer/utils.cpp: In function 'void index_generic(const std::vector&, int, std::vector&)': +pdf_viewer/utils.cpp:1059:37: warning: unknown escape sequence: '\.' + 1059 | std::wregex index_dst_regex(L"(^|\n)[A-Z][a-zA-Z]{2,}[ \t]+[0-9]+(\.[0-9]+)*"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pdf_viewer/utils.cpp: In function 'void sleep_ms(unsigned int)': +pdf_viewer/utils.cpp:1198:35: warning: narrowing conversion of '(ms / 1000)' from 'unsigned int' to '__time_t' {aka 'long int'} [-Wnarrowing] + 1198 | struct timespec ts = { ms / 1000, (ms % 1000) * 1000 * 1000 }; + | ~~~^~~~~~ +pdf_viewer/utils.cpp:1198:62: warning: narrowing conversion of '(((ms % 1000) * 1000) * 1000)' from 'unsigned int' to '__syscall_slong_t' {aka 'long int'} [-Wnarrowing] + 1198 | struct timespec ts = { ms / 1000, (ms % 1000) * 1000 * 1000 }; + | ~~~~~~~~~~~~~~~~~~~^~~~~~ +pdf_viewer/utils.cpp: In function 'std::wstring get_canonical_path(const std::wstring&)': +pdf_viewer/utils.cpp:1617:25: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 1617 | return std::move(dir.absolutePath().toStdWString()); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pdf_viewer/utils.cpp:1617:25: note: remove 'std::move' call +pdf_viewer/utils.cpp: In function 'std::wstring lowercase(const std::wstring&)': +pdf_viewer/utils.cpp:1747:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1747 | for (int i = 0; i < input.size(); i++) { + | ~~^~~~~~~~~~~~~~ +pdf_viewer/utils.cpp: In function 'std::wifstream open_wifstream(const std::wstring&)': +pdf_viewer/utils.cpp:1830:25: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] + 1830 | return std::move(std::wifstream(encoded_file_name.c_str())); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pdf_viewer/utils.cpp:1830:25: note: remove 'std::move' call +pdf_viewer/utils.cpp: In function 'float line_num_penalty(int)': +pdf_viewer/utils.cpp:1902:28: warning: unused parameter 'num' [-Wunused-parameter] + 1902 | float line_num_penalty(int num) { + | ~~~~^~~ +pdf_viewer/utils.cpp: In function 'bool command_requires_text(const std::wstring&)': +pdf_viewer/utils.cpp:2121:34: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 2121 | if ((command.find(L"%5") != -1) || (command.find(L"command_text") != -1)) { + | ~~~~~~~~~~~~~~~~~~~~^~~~~ +pdf_viewer/utils.cpp:2121:75: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 2121 | if ((command.find(L"%5") != -1) || (command.find(L"command_text") != -1)) { + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +pdf_viewer/utils.cpp: In function 'bool command_requires_rect(const std::wstring&)': +pdf_viewer/utils.cpp:2128:47: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 2128 | if (command.find(L"%{selected_rect}") != -1) { + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +pdf_viewer/utils.cpp: In function 'void flat_char_prism(std::vector, int, std::wstring&, std::vector&, std::vector&)': +pdf_viewer/utils.cpp:2174:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 2174 | for (int j = 0; j < chars.size(); j++) { + | ~~^~~~~~~~~~~~~~ pdf_viewer/document.cpp: In lambda function: pdf_viewer/document.cpp:966:21: warning: variable 'num_added_toc_entries' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 966 | int num_added_toc_entries = 0; @@ -3812,11 +3848,11 @@ dumping object inventory... done ====================== slowest reading durations ======================= -0.084 usage -0.084 commands -0.076 configuration -0.054 scripting -0.016 installation +0.182 usage +0.180 commands +0.160 configuration +0.113 scripting +0.033 installation build succeeded. The HTML pages are in docs/docs/html. @@ -3827,13 +3863,13 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/sioyek-2.0.0+dfsg' dh_auto_install --destdir debian/tmp - make -j22 install DESTDIR=/build/reproducible-path/sioyek-2.0.0\+dfsg/debian/tmp AM_UPDATE_INFO_DIR=no INSTALL_ROOT=/build/reproducible-path/sioyek-2.0.0\+dfsg/debian/tmp + make -j10 install DESTDIR=/build/reproducible-path/sioyek-2.0.0\+dfsg/debian/tmp AM_UPDATE_INFO_DIR=no INSTALL_ROOT=/build/reproducible-path/sioyek-2.0.0\+dfsg/debian/tmp make[2]: Entering directory '/build/reproducible-path/sioyek-2.0.0+dfsg' -/usr/lib/qt5/bin/qmake -install qinstall /build/reproducible-path/sioyek-2.0.0+dfsg/tutorial.pdf /build/reproducible-path/sioyek-2.0.0+dfsg/debian/tmp/usr/share/sioyek/tutorial.pdf /usr/lib/qt5/bin/qmake -install qinstall -exe sioyek /build/reproducible-path/sioyek-2.0.0+dfsg/debian/tmp/usr/bin/sioyek /usr/lib/qt5/bin/qmake -install qinstall /build/reproducible-path/sioyek-2.0.0+dfsg/resources/sioyek.desktop /build/reproducible-path/sioyek-2.0.0+dfsg/debian/tmp/usr/share/applications/sioyek.desktop /usr/lib/qt5/bin/qmake -install qinstall /build/reproducible-path/sioyek-2.0.0+dfsg/resources/sioyek-icon-linux.png /build/reproducible-path/sioyek-2.0.0+dfsg/debian/tmp/usr/share/pixmaps/sioyek-icon-linux.png /usr/lib/qt5/bin/qmake -install qinstall /build/reproducible-path/sioyek-2.0.0+dfsg/pdf_viewer/shaders /build/reproducible-path/sioyek-2.0.0+dfsg/debian/tmp/usr/share/sioyek/shaders +/usr/lib/qt5/bin/qmake -install qinstall /build/reproducible-path/sioyek-2.0.0+dfsg/tutorial.pdf /build/reproducible-path/sioyek-2.0.0+dfsg/debian/tmp/usr/share/sioyek/tutorial.pdf /usr/lib/qt5/bin/qmake -install qinstall /build/reproducible-path/sioyek-2.0.0+dfsg/pdf_viewer/keys.config /build/reproducible-path/sioyek-2.0.0+dfsg/debian/tmp/usr/etc/sioyek/keys.config /usr/lib/qt5/bin/qmake -install qinstall /build/reproducible-path/sioyek-2.0.0+dfsg/pdf_viewer/prefs.config /build/reproducible-path/sioyek-2.0.0+dfsg/debian/tmp/usr/etc/sioyek/prefs.config : /build/reproducible-path/sioyek-2.0.0+dfsg/debian/tmp/usr/bin/sioyek @@ -3869,12 +3905,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/55336/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/55336/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/9467 and its subdirectories -I: Current time: Sun Jun 1 09:04:37 -12 2025 -I: pbuilder-time-stamp: 1748811877 +I: removing directory /srv/workspace/pbuilder/55336 and its subdirectories +I: Current time: Tue Apr 30 04:49:53 +14 2024 +I: pbuilder-time-stamp: 1714402193