Diff of the two buildlogs: -- --- b1/build.log 2023-05-24 23:25:10.892694220 +0000 +++ b2/build.log 2023-05-25 00:36:04.878304787 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed May 24 10:38:44 -12 2023 -I: pbuilder-time-stamp: 1684967924 +I: Current time: Thu May 25 13:28:19 +14 2023 +I: pbuilder-time-stamp: 1684970899 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./lnav_0.11.1.orig.tar.xz] I: copying [./lnav_0.11.1-3.debian.tar.xz] I: Extracting source -gpgv: Signature made Fri Mar 31 06:46:31 2023 -12 +gpgv: Signature made Sat Apr 1 08:46:31 2023 +14 gpgv: using RSA key 4644409808C171E05531DDEE054CB8F31343CF44 gpgv: issuer "carnil@debian.org" gpgv: Can't check signature: No public key @@ -34,135 +34,167 @@ dpkg-source: info: applying test_sql_str_func.sh-Correct-expected-output-on-bad-.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/29049/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/27812/tmp/hooks/D01_modify_environment starting +debug: Running on virt32b. +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 May 25 13:29 /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/27812/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/27812/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='armhf' + 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]="15" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='d3e8f2e9cc864af79f28a828a1cbb2a1' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - 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='29049' - PS1='# ' - PS2='> ' + INVOCATION_ID=1b4c84c9083249279d80322c81f7e81f + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=27812 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.qCWCKwIW/pbuilderrc_4Fnr --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.qCWCKwIW/b1 --logfile b1/build.log lnav_0.11.1-3.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.qCWCKwIW/pbuilderrc_g37Y --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.qCWCKwIW/b2 --logfile b2/build.log --extrapackages usrmerge lnav_0.11.1-3.dsc' + SUDO_GID=112 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64b 5.10.0-23-arm64 #1 SMP Debian 5.10.179-1 (2023-05-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-23-armmp-lpae #1 SMP Debian 5.10.179-1 (2023-05-12) armv7l GNU/Linux I: ls -l /bin total 5072 - -rwxr-xr-x 1 root root 838488 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 67112 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 67632 Sep 20 2022 cat - -rwxr-xr-x 1 root root 67676 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67644 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 67684 Sep 20 2022 chown - -rwxr-xr-x 1 root root 133532 Sep 20 2022 cp - -rwxr-xr-x 1 root root 132868 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 133220 Sep 20 2022 date - -rwxr-xr-x 1 root root 67732 Sep 20 2022 dd - -rwxr-xr-x 1 root root 68104 Sep 20 2022 df - -rwxr-xr-x 1 root root 133632 Sep 20 2022 dir - -rwxr-xr-x 1 root root 59128 Mar 22 21:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 67560 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 67548 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 55748 Mar 22 21:02 findmnt - -rwsr-xr-x 1 root root 26208 Mar 22 20:15 fusermount - -rwxr-xr-x 1 root root 128608 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 64220 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 67032 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 67720 Sep 20 2022 ln - -rwxr-xr-x 1 root root 35132 Mar 22 21:51 login - -rwxr-xr-x 1 root root 133632 Sep 20 2022 ls - -rwxr-xr-x 1 root root 136808 Mar 22 21:02 lsblk - -rwxr-xr-x 1 root root 67800 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 67764 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 67596 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 38504 Mar 22 21:02 more - -rwsr-xr-x 1 root root 38496 Mar 22 21:02 mount - -rwxr-xr-x 1 root root 9824 Mar 22 21:02 mountpoint - -rwxr-xr-x 1 root root 133532 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 67608 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 67600 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 67672 Sep 20 2022 rm - -rwxr-xr-x 1 root root 67600 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 67400 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133372 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 67644 Sep 20 2022 stty - -rwsr-xr-x 1 root root 50800 Mar 22 21:02 su - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sync - -rwxr-xr-x 1 root root 336764 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 67144 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 133224 Sep 20 2022 touch - -rwxr-xr-x 1 root root 67548 Sep 20 2022 true - -rwxr-xr-x 1 root root 9768 Mar 22 20:15 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Mar 22 21:02 umount - -rwxr-xr-x 1 root root 67572 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 133632 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 42608 Mar 22 21:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/29049/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 838488 Apr 24 11:24 bash + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 67112 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 67632 Sep 21 2022 cat + -rwxr-xr-x 1 root root 67676 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67644 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 67684 Sep 21 2022 chown + -rwxr-xr-x 1 root root 133532 Sep 21 2022 cp + -rwxr-xr-x 1 root root 132868 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 133220 Sep 21 2022 date + -rwxr-xr-x 1 root root 67732 Sep 21 2022 dd + -rwxr-xr-x 1 root root 68104 Sep 21 2022 df + -rwxr-xr-x 1 root root 133632 Sep 21 2022 dir + -rwxr-xr-x 1 root root 59128 Mar 23 23:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 67560 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 67548 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 55748 Mar 23 23:02 findmnt + -rwsr-xr-x 1 root root 26208 Mar 23 22:15 fusermount + -rwxr-xr-x 1 root root 128608 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 64220 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 67032 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 67720 Sep 21 2022 ln + -rwxr-xr-x 1 root root 35132 Mar 23 23:51 login + -rwxr-xr-x 1 root root 133632 Sep 21 2022 ls + -rwxr-xr-x 1 root root 136808 Mar 23 23:02 lsblk + -rwxr-xr-x 1 root root 67800 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 67764 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 67596 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 38504 Mar 23 23:02 more + -rwsr-xr-x 1 root root 38496 Mar 23 23:02 mount + -rwxr-xr-x 1 root root 9824 Mar 23 23:02 mountpoint + -rwxr-xr-x 1 root root 133532 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 67608 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash + -rwxr-xr-x 1 root root 67600 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 67672 Sep 21 2022 rm + -rwxr-xr-x 1 root root 67600 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 67400 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133372 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 May 25 13:29 sh -> /bin/bash + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 67644 Sep 21 2022 stty + -rwsr-xr-x 1 root root 50800 Mar 23 23:02 su + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sync + -rwxr-xr-x 1 root root 336764 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 67144 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 133224 Sep 21 2022 touch + -rwxr-xr-x 1 root root 67548 Sep 21 2022 true + -rwxr-xr-x 1 root root 9768 Mar 23 22:15 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Mar 23 23:02 umount + -rwxr-xr-x 1 root root 67572 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 133632 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 42608 Mar 23 23:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/27812/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -281,7 +313,7 @@ Get: 59 http://deb.debian.org/debian bookworm/main armhf libsqlite3-dev armhf 3.40.1-2 [926 kB] Get: 60 http://deb.debian.org/debian bookworm/main armhf re2c armhf 3.0-2 [421 kB] Get: 61 http://deb.debian.org/debian bookworm/main armhf zlib1g-dev armhf 1:1.2.13.dfsg-1 [902 kB] -Fetched 25.8 MB in 8s (3379 kB/s) +Fetched 25.8 MB in 2s (10.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package readline-common. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19326 files and directories currently installed.) @@ -539,8 +571,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/lnav-0.11.1/ && 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 > ../lnav_0.11.1-3_source.changes +I: user script /srv/workspace/pbuilder/27812/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/27812/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/lnav-0.11.1/ && 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 > ../lnav_0.11.1-3_source.changes dpkg-buildpackage: info: source package lnav dpkg-buildpackage: info: source version 0.11.1-3 dpkg-buildpackage: info: source distribution unstable @@ -575,7 +618,7 @@ ./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/arm-linux-gnueabihf --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a race-free mkdir -p... /bin/mkdir -p +checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -609,9 +652,9 @@ checking whether we are cross compiling... no checking for suffix of object files... o checking how to run the C preprocessor... gcc -E -checking for a sed that does not truncate output... /bin/sed -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for a sed that does not truncate output... /usr/bin/sed +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking whether gcc is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE @@ -633,7 +676,7 @@ checking the archiver (ar) interface... ar checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes -checking for bzip2... /bin/bzip2 +checking for bzip2... /usr/bin/bzip2 checking for re2c... /usr/bin/re2c checking for xz... /usr/bin/xz checking for tshark... no @@ -721,7 +764,7 @@ config.status: executing depfiles commands make[1]: Leaving directory '/build/lnav-0.11.1' dh_auto_build - make -j3 + make -j4 make[1]: Entering directory '/build/lnav-0.11.1' Making all in tools make[2]: Entering directory '/build/lnav-0.11.1/tools' @@ -799,18 +842,20 @@ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ansi_scrubber.o ansi_scrubber.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o attr_line.o attr_line.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o attr_line.builder.o attr_line.builder.cc -In file included from attr_line.cc:40: +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o auto_pid.o auto_pid.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o date_time_scanner.o date_time_scanner.cc +In file included from ansi_scrubber.cc:38: ../../src/pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': ../../src/pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ansi_scrubber.cc:38: +In file included from attr_line.cc:40: ../../src/pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': ../../src/pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o auto_pid.o auto_pid.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o date_time_scanner.o date_time_scanner.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fs_util.o fs_util.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o humanize.o humanize.cc In file included from /usr/include/c++/12/vector:70, from attr_line.hh:37, from attr_line.cc:32: @@ -845,8 +890,7 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fs_util.o fs_util.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o humanize.o humanize.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o humanize.network.o humanize.network.cc In file included from /usr/include/c++/12/vector:70, from attr_line.hh:37, from ansi_scrubber.hh:38, @@ -867,7 +911,6 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o humanize.network.o humanize.network.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o humanize.time.o humanize.time.cc In file included from humanize.network.cc:33: ../../src/pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': @@ -876,11 +919,7 @@ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o intern_string.o intern_string.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o is_utf8.o is_utf8.cc -In file included from intern_string.cc:39: -../../src/pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -../../src/pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o isc.o isc.cc is_utf8.cc: In function 'utf8_scan_result is_utf8(const unsigned char*, size_t, const char**, int*, nonstd::optional_lite::optional)': is_utf8.cc:74:14: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 74 | while (i < len) { @@ -909,9 +948,13 @@ is_utf8.cc:266:23: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 266 | if (i + 3 < len) /* Expect a 2nd, 3rd 3th byte */ { | ~~~~~~^~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o isc.o isc.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lnav.console.o lnav.console.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lnav.gzip.o lnav.gzip.cc +In file included from intern_string.cc:39: +../../src/pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +../../src/pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from lnav.console.cc:39: ../../src/pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': ../../src/pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] @@ -921,11 +964,14 @@ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o network.tcp.o network.tcp.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o paths.o paths.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o snippet_highlighters.o snippet_highlighters.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o string_attr_type.o string_attr_type.cc In file included from snippet_highlighters.cc:33: ../../src/pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': ../../src/pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o string_util.o string_util.cc +gcc -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o strnatcmp.o strnatcmp.c In file included from attr_line.hh:42, from snippet_highlighters.hh:33, from snippet_highlighters.cc:30: @@ -934,7 +980,8 @@ intern_string.hh:314:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 314 | if (start > 0 && start == this->length()) { | ~~~~~~^~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o string_attr_type.o string_attr_type.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o time_util.o time_util.cc +gcc -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o ../third-party/xxHash/xxhash.o ../third-party/xxHash/xxhash.c In file included from /usr/include/c++/12/vector:70, from attr_line.hh:37: /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': @@ -1102,9 +1149,6 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o string_util.o string_util.cc -gcc -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o strnatcmp.o strnatcmp.c -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o time_util.o time_util.cc In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -1133,7 +1177,6 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o ../third-party/xxHash/xxhash.o ../third-party/xxHash/xxhash.c rm -f libbase.a ar cru libbase.a ansi_scrubber.o attr_line.o attr_line.builder.o auto_pid.o date_time_scanner.o fs_util.o humanize.o humanize.network.o humanize.time.o intern_string.o is_utf8.o isc.o lnav.console.o lnav.gzip.o lnav_log.o network.tcp.o paths.o snippet_highlighters.o string_attr_type.o string_util.o strnatcmp.o time_util.o ../third-party/xxHash/xxhash.o ar: `u' modifier ignored since `D' is the default (see `U') @@ -1147,6 +1190,7 @@ gcc -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o sha-256.o sha-256.c gcc -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o tailer.o tailer.c g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I./.. -I./../fmtlib -I./../third-party -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libtailerpp_a-tailerpp.o `test -f 'tailerpp.cc' || echo './'`tailerpp.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I./.. -I./../fmtlib -I./../third-party -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libtailerservice_a-tailerbin.o `test -f 'tailerbin.cc' || echo './'`tailerbin.cc tailer.c: In function 'send_packet': tailer.c:51:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 51 | write(fd, &tpt, sizeof(tpt)); @@ -1172,7 +1216,6 @@ tailer.c:80:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 80 | write(fd, bits, length); | ^~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I./.. -I./../fmtlib -I./../third-party -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libtailerservice_a-tailerbin.o `test -f 'tailerbin.cc' || echo './'`tailerbin.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I./.. -I./../fmtlib -I./../third-party -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libtailerservice_a-tailer.looper.o `test -f 'tailer.looper.cc' || echo './'`tailer.looper.cc rm -f libtailercommon.a ar cru libtailercommon.a sha-256.o tailer.o @@ -1200,6 +1243,10 @@ ./../third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' ../../src/logfile.hh:434:51: required from here ./../third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] +rm -f libtailerpp.a +ar cru libtailerpp.a libtailerpp_a-tailerpp.o +ar: `u' modifier ignored since `D' is the default (see `U') +ranlib libtailerpp.a tailer.looper.cc: In lambda function: tailer.looper.cc:867:30: warning: ignoring return value of 'int ftruncate(int, __off_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 867 | ftruncate(fd, ptb.ptb_offset); @@ -1213,10 +1260,6 @@ | ~~~~~~~~~~~~~~~~~~~~ 871 | ptb.ptb_offset); | ~~~~~~~~~~~~~~~ -rm -f libtailerpp.a -ar cru libtailerpp.a libtailerpp_a-tailerpp.o -ar: `u' modifier ignored since `D' is the default (see `U') -ranlib libtailerpp.a rm -f libtailerservice.a ar cru libtailerservice.a libtailerservice_a-tailerbin.o libtailerservice_a-tailer.looper.o ar: `u' modifier ignored since `D' is the default (see `U') @@ -1416,14 +1459,7 @@ g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lnav.o lnav.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lnav.events.o lnav.events.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lnav.indexing.o lnav.indexing.cc -In file included from yajlpp/yajlpp.hh:56, - from yajlpp/yajlpp_def.hh:42, - from lnav.events.hh:35, - from lnav.events.cc:30: -./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lnav.management_cli.o lnav.management_cli.cc In file included from data_scanner.hh:35, from data_parser.hh:42, from all_logs_vtab.hh:35, @@ -1432,6 +1468,14 @@ pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +In file included from yajlpp/yajlpp.hh:56, + from yajlpp/yajlpp_def.hh:42, + from lnav.events.hh:35, + from lnav.events.cc:30: +./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, from logfile.hh:47, from filter_observer.hh:35, @@ -1450,6 +1494,13 @@ ./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +In file included from highlighter.hh:39, + from log_format.hh:55, + from lnav.management_cli.cc:39: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, from db_sub_source.hh:39, from lnav.hh:53, @@ -1458,6 +1509,13 @@ ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ +In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, + from log_format_fwd.hh:39, + from log_format.hh:57: +./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ lnav.indexing.cc: In member function 'virtual logfile_observer::indexing_result loading_observer::logfile_indexing(const std::shared_ptr&, file_off_t, file_size_t)': lnav.indexing.cc:64:21: warning: comparison of integer expressions of different signedness: 'file_off_t' {aka 'long long int'} and 'file_size_t' {aka 'long long unsigned int'} [-Wsign-compare] 64 | if (off == total) { @@ -1544,6 +1602,7 @@ ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o file_vtab.o file_vtab.cc In file included from lnav.cc:145: curl_looper.hh: In member function 'virtual long int curl_request::complete(CURLcode)': curl_looper.hh:137:30: warning: 'CURLINFO_SIZE_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations] @@ -1569,22 +1628,6 @@ lnav.cc:1094:27: warning: comparison of integer expressions of different signedness: 'long long int' and 'long long unsigned int' [-Wsign-compare] 1094 | if (off == size) { | ~~~~^~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lnav.management_cli.o lnav.management_cli.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o file_vtab.o file_vtab.cc -In file included from highlighter.hh:39, - from log_format.hh:55, - from lnav.management_cli.cc:39: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from log_format_fwd.hh:39, - from log_format.hh:57: -./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ In file included from highlighter.hh:39, from log_format.hh:55, from file_vtab.cc:39: @@ -1592,15 +1635,6 @@ pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': -./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' -./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -logfile.hh:434:51: required from here -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, from log_format_fwd.hh:39, from log_format.hh:57: @@ -1608,6 +1642,7 @@ ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o all_logs_vtab.o all_logs_vtab.cc ./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': ./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' ./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' @@ -1615,7 +1650,6 @@ ./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' logfile.hh:434:51: required from here ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o all_logs_vtab.o all_logs_vtab.cc In file included from data_scanner.hh:35, from data_parser.hh:42, from all_logs_vtab.hh:35, @@ -1641,6 +1675,25 @@ ./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' logfile.hh:434:51: required from here ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ +./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': +./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' +./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +logfile.hh:434:51: required from here +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o archive_manager.o archive_manager.cc +In file included from archive_manager.cc:45: +base/fs_util.hh: In member function 'void lnav::filesystem::file_lock::lock() const': +base/fs_util.hh:110:30: warning: ignoring return value of 'int lockf(int, int, __off_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 110 | void lock() const { lockf(this->lh_fd, F_LOCK, 0); } + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +base/fs_util.hh: In member function 'void lnav::filesystem::file_lock::unlock() const': +base/fs_util.hh:112:32: warning: ignoring return value of 'int lockf(int, int, __off_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 112 | void unlock() const { lockf(this->lh_fd, F_ULOCK, 0); } + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/vector:70, from data_parser.hh:36: /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {logline_value_meta&, std::__cxx11::basic_string, std::allocator >}; _Tp = logline_value; _Alloc = std::allocator]': @@ -1651,7 +1704,8 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o archive_manager.o archive_manager.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bookmarks.o bookmarks.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bottom_status_source.o bottom_status_source.cc In file included from /usr/include/c++/12/deque:63, from /usr/include/c++/12/queue:60, from lnav.management_cli.cc:30: @@ -1699,6 +1753,13 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from grep_proc.hh:49, + from bottom_status_source.hh:35, + from bottom_status_source.cc:30: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/vector:70, from /usr/include/c++/12/queue:61: /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range&, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': @@ -1717,67 +1778,6 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from archive_manager.cc:45: -base/fs_util.hh: In member function 'void lnav::filesystem::file_lock::lock() const': -base/fs_util.hh:110:30: warning: ignoring return value of 'int lockf(int, int, __off_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 110 | void lock() const { lockf(this->lh_fd, F_LOCK, 0); } - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -base/fs_util.hh: In member function 'void lnav::filesystem::file_lock::unlock() const': -base/fs_util.hh:112:32: warning: ignoring return value of 'int lockf(int, int, __off_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 112 | void unlock() const { lockf(this->lh_fd, F_ULOCK, 0); } - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/map:60, - from lnav.cc:64: -/usr/include/c++/12/bits/stl_tree.h: In member function 'std::pair std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(const_iterator, const key_type&) [with _Key = std::__cxx11::basic_string; _Val = std::pair, logfile_open_options>; _KeyOfValue = std::_Select1st, logfile_open_options> >; _Compare = std::less >; _Alloc = std::allocator, logfile_open_options> >]': -/usr/include/c++/12/bits/stl_tree.h:2209:5: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, logfile_open_options>, std::_Select1st, logfile_open_options> >, std::less >, std::allocator, logfile_open_options> > >::const_iterator' changed in GCC 7.1 - 2209 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_tree.h: In function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, std::allocator >&>, std::tuple<>}; _Key = std::__cxx11::basic_string; _Val = std::pair, logfile_open_options>; _KeyOfValue = std::_Select1st, logfile_open_options> >; _Compare = std::less >; _Alloc = std::allocator, logfile_open_options> >]': -/usr/include/c++/12/bits/stl_tree.h:2457:7: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, logfile_open_options>, std::_Select1st, logfile_open_options> >, std::less >, std::allocator, logfile_open_options> > >::const_iterator' changed in GCC 7.1 - 2457 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/map:61: -/usr/include/c++/12/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = logfile_open_options; _Compare = std::less >; _Alloc = std::allocator, logfile_open_options> >]': -/usr/include/c++/12/bits/stl_map.h:511:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, logfile_open_options>, std::_Select1st, logfile_open_options> >, std::less >, std::allocator, logfile_open_options> > >::const_iterator' changed in GCC 7.1 - 511 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 512 | std::tuple(__k), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 513 | std::tuple<>()); - | ~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_tree.h: In function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, std::allocator >&&>, std::tuple<>}; _Key = std::__cxx11::basic_string; _Val = std::pair, logfile_open_options>; _KeyOfValue = std::_Select1st, logfile_open_options> >; _Compare = std::less >; _Alloc = std::allocator, logfile_open_options> >]': -/usr/include/c++/12/bits/stl_tree.h:2457:7: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, logfile_open_options>, std::_Select1st, logfile_open_options> >, std::less >, std::allocator, logfile_open_options> > >::const_iterator' changed in GCC 7.1 - 2457 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = logfile_open_options; _Compare = std::less >; _Alloc = std::allocator, logfile_open_options> >]': -/usr/include/c++/12/bits/stl_map.h:530:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, logfile_open_options>, std::_Select1st, logfile_open_options> >, std::less >, std::allocator, logfile_open_options> > >::const_iterator' changed in GCC 7.1 - 530 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 531 | std::forward_as_tuple(std::move(__k)), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 532 | std::tuple<>()); - | ~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bookmarks.o bookmarks.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bottom_status_source.o bottom_status_source.cc -In file included from grep_proc.hh:49, - from bottom_status_source.hh:35, - from bottom_status_source.cc:30: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = logfile_open_options; _Compare = std::less >; _Alloc = std::allocator, logfile_open_options> >]', - inlined from 'main(int, char**):: [with auto:21 = std::__cxx11::basic_string; auto:22 = std::shared_ptr]' at lnav.cc:2645:56, - inlined from 'constexpr _Res std::__invoke_impl(__invoke_other, _Fn&&, _Args&& ...) [with _Res = void; _Fn = main(int, char**)::&; _Args = {const __cxx11::basic_string, allocator >&, shared_ptr}]' at /usr/include/c++/12/bits/invoke.h:61:36, - inlined from 'constexpr std::__can_invoke_as_void<_Res, _Callable, _Args ...> std::__invoke_r(_Callable&&, _Args&& ...) [with _Res = void; _Callable = main(int, char**)::&; _Args = {const __cxx11::basic_string, allocator >&, shared_ptr}]' at /usr/include/c++/12/bits/invoke.h:154:33, - inlined from 'static _Res std::_Function_handler<_Res(_ArgTypes ...), _Functor>::_M_invoke(const std::_Any_data&, _ArgTypes&& ...) [with _Res = void; _Functor = main(int, char**)::; _ArgTypes = {const std::__cxx11::basic_string, std::allocator >&, std::shared_ptr}]' at /usr/include/c++/12/bits/std_function.h:290:30: -/usr/include/c++/12/bits/stl_map.h:511:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, logfile_open_options>, std::_Select1st, logfile_open_options> >, std::less >, std::allocator, logfile_open_options> > >::const_iterator' changed in GCC 7.1 - 511 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 512 | std::tuple(__k), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 513 | std::tuple<>()); - | ~~~~~~~~~~~~~~~ g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o breadcrumb_curses.o breadcrumb_curses.cc In file included from grep_proc.hh:49, from textview_curses.hh:42, @@ -1791,146 +1791,34 @@ g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o collation-functions.o collation-functions.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o column_namer.o column_namer.cc In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from column_namer.hh:39, - from column_namer.cc:34: + from log_format_fwd.hh:39, + from breadcrumb_curses.cc:34: ./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from log_format_fwd.hh:39, - from breadcrumb_curses.cc:34: + from column_namer.hh:39, + from column_namer.cc:34: ./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ -In file included from /usr/include/c++/12/vector:70, - from lnav.cc:68: -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 439 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:66, - from lnav.cc:65: -/usr/include/c++/12/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]': -/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last, - | ^~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, - inlined from 'lnav::console::snippet::snippet(const lnav::console::snippet&)' at base/lnav.console.hh:44:8, - inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = lnav::console::snippet; _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/new_allocator.h:175:4, - inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = lnav::console::snippet; _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/alloc_traits.h:516:17, - inlined from 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:462:28: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, - inlined from 'lnav::console::snippet::snippet(const lnav::console::snippet&)' at base/lnav.console.hh:44:8, - inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = lnav::console::snippet; _Args = {const lnav::console::snippet&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, - inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, - inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = lnav::console::snippet; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, - inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = attr_line_t; _Args = {const attr_line_t&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, - inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, - inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; _Tp = attr_line_t]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = attr_line_t; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]', - inlined from 'attr_line_t& attr_line_t::with_attr_for_all(const string_attr_pair&)' at base/attr_line.hh:568:36: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': ./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' ./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' ./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' ./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -column_namer.cc:43:61: required from here +logfile.hh:434:51: required from here ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range&, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 439 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range&, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': ./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' ./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' ./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' ./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -logfile.hh:434:51: required from here +column_namer.cc:43:61: required from here ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] -In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = logfile_open_options; _Compare = std::less >; _Alloc = std::allocator, logfile_open_options> >]', - inlined from 'bool append_default_files()' at lnav.cc:438:69: -/usr/include/c++/12/bits/stl_map.h:530:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, logfile_open_options>, std::_Select1st, logfile_open_options> >, std::less >, std::allocator, logfile_open_options> > >::const_iterator' changed in GCC 7.1 - 530 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 531 | std::forward_as_tuple(std::move(__k)), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 532 | std::tuple<>()); - | ~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1617:35, - inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:232:44: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, - inlined from 'attr_line_t command_arg_help()' at lnav.cc:512:63, - inlined from 'main(int, char**)::' at lnav.cc:2343:56: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o command_executor.o command_executor.cc In file included from /usr/include/c++/12/vector:63, from breadcrumb_curses.hh:35: /usr/include/c++/12/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]': @@ -1965,18 +1853,6 @@ inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, - inlined from 'looper():: [with auto:13 = lnav::console::user_message]' at lnav.cc:1244:24, - inlined from 'constexpr _Res std::__invoke_impl(__invoke_other, _Fn&&, _Args&& ...) [with _Res = void; _Fn = looper()::&; _Args = {const lnav::console::user_message&}]' at /usr/include/c++/12/bits/invoke.h:61:36, - inlined from 'constexpr std::__can_invoke_as_void<_Res, _Callable, _Args ...> std::__invoke_r(_Callable&&, _Args&& ...) [with _Res = void; _Callable = looper()::&; _Args = {const lnav::console::user_message&}]' at /usr/include/c++/12/bits/invoke.h:154:33, - inlined from 'static _Res std::_Function_handler<_Res(_ArgTypes ...), _Functor>::_M_invoke(const std::_Any_data&, _ArgTypes&& ...) [with _Res = void; _Functor = looper()::; _ArgTypes = {const lnav::console::user_message&}]' at /usr/include/c++/12/bits/std_function.h:290:30: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = attr_line_t; _Args = {const attr_line_t&}; _Tp = attr_line_t]' at /usr/include/c++/12/bits/new_allocator.h:175:4, inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = attr_line_t; _Args = {const attr_line_t&}; _Tp = attr_line_t]' at /usr/include/c++/12/bits/alloc_traits.h:516:17, inlined from 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const attr_line_t&}; _Tp = attr_line_t; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:462:28: @@ -2016,6 +1892,13 @@ /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range&, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 +In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, + from db_sub_source.hh:39, + from command_executor.cc:41: +./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range&, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]', inlined from 'attr_line_t& attr_line_t::append(const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> > >&) [with S = std::__cxx11::basic_string]' at base/attr_line.hh:488:36, inlined from 'virtual void breadcrumb_curses::do_update()' at breadcrumb_curses.cc:80:31: @@ -2033,6 +1916,14 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from grep_proc.hh:49, + from textview_curses.hh:42, + from hist_source.hh:45, + from db_sub_source.hh:40: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]', inlined from 'attr_line_t& attr_line_t::with_attr_for_all(const string_attr_pair&)' at base/attr_line.hh:568:36, inlined from 'virtual bool breadcrumb_curses::search_overlay_source::list_value_for_overlay(const listview_curses&, int, int, vis_line_t, attr_line_t&)' at breadcrumb_curses.cc:388:36: @@ -2095,8 +1986,16 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o command_executor.o command_executor.cc +command_executor.cc: In function 'Result, lnav::console::user_message> execute_file(exec_context&, const std::string&, bool)': +command_executor.cc:627:57: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] + 627 | snprintf(env_arg_name, sizeof(env_arg_name), "%lu", lpc); + | ~~^ ~~~ + | | | + | | size_t {aka unsigned int} + | long unsigned int + | %u g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o curl_looper.o curl_looper.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o db_sub_source.o db_sub_source.cc In file included from /usr/include/arm-linux-gnueabihf/curl/multi.h:51, from curl_looper.cc:37: curl_looper.hh: In member function 'virtual long int curl_request::complete(CURLcode)': @@ -2112,21 +2011,53 @@ /usr/include/arm-linux-gnueabihf/curl/curl.h:2845:3: note: declared here 2845 | CURLINFO_SPEED_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~~ +./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': +./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' +./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +logfile.hh:434:51: required from here +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ +In file included from /usr/include/c++/12/map:60, + from lnav.cc:64: +/usr/include/c++/12/bits/stl_tree.h: In member function 'std::pair std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(const_iterator, const key_type&) [with _Key = std::__cxx11::basic_string; _Val = std::pair, logfile_open_options>; _KeyOfValue = std::_Select1st, logfile_open_options> >; _Compare = std::less >; _Alloc = std::allocator, logfile_open_options> >]': +/usr/include/c++/12/bits/stl_tree.h:2209:5: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, logfile_open_options>, std::_Select1st, logfile_open_options> >, std::less >, std::allocator, logfile_open_options> > >::const_iterator' changed in GCC 7.1 + 2209 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_tree.h: In function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, std::allocator >&>, std::tuple<>}; _Key = std::__cxx11::basic_string; _Val = std::pair, logfile_open_options>; _KeyOfValue = std::_Select1st, logfile_open_options> >; _Compare = std::less >; _Alloc = std::allocator, logfile_open_options> >]': +/usr/include/c++/12/bits/stl_tree.h:2457:7: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, logfile_open_options>, std::_Select1st, logfile_open_options> >, std::less >, std::allocator, logfile_open_options> > >::const_iterator' changed in GCC 7.1 + 2457 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/map:61: +/usr/include/c++/12/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = logfile_open_options; _Compare = std::less >; _Alloc = std::allocator, logfile_open_options> >]': +/usr/include/c++/12/bits/stl_map.h:511:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, logfile_open_options>, std::_Select1st, logfile_open_options> >, std::less >, std::allocator, logfile_open_options> > >::const_iterator' changed in GCC 7.1 + 511 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 512 | std::tuple(__k), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 513 | std::tuple<>()); + | ~~~~~~~~~~~~~~~ In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, from db_sub_source.hh:39, - from command_executor.cc:41: + from db_sub_source.cc:32: ./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ -In file included from grep_proc.hh:49, - from textview_curses.hh:42, - from hist_source.hh:45, - from db_sub_source.hh:40: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_tree.h: In function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, std::allocator >&&>, std::tuple<>}; _Key = std::__cxx11::basic_string; _Val = std::pair, logfile_open_options>; _KeyOfValue = std::_Select1st, logfile_open_options> >; _Compare = std::less >; _Alloc = std::allocator, logfile_open_options> >]': +/usr/include/c++/12/bits/stl_tree.h:2457:7: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, logfile_open_options>, std::_Select1st, logfile_open_options> >, std::less >, std::allocator, logfile_open_options> > >::const_iterator' changed in GCC 7.1 + 2457 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = logfile_open_options; _Compare = std::less >; _Alloc = std::allocator, logfile_open_options> >]': +/usr/include/c++/12/bits/stl_map.h:530:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, logfile_open_options>, std::_Select1st, logfile_open_options> >, std::less >, std::allocator, logfile_open_options> > >::const_iterator' changed in GCC 7.1 + 530 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 531 | std::forward_as_tuple(std::move(__k)), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 532 | std::tuple<>()); + | ~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/algorithm:61, from curl_looper.cc:32: /usr/include/c++/12/bits/stl_algo.h: In function 'void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >*, vector > > >; _Compare = __gnu_cxx::__ops::_Val_less_iter]': @@ -2144,6 +2075,14 @@ /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector > >::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ +In file included from grep_proc.hh:49, + from textview_curses.hh:42, + from hist_source.hh:45, + from db_sub_source.hh:40: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/vector:64: In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator) [with _Tp = std::pair >; _Alloc = std::allocator > >]', inlined from 'void curl_looper::check_for_new_requests()' at curl_looper.cc:255:42: @@ -2225,35 +2164,9 @@ /usr/include/c++/12/bits/stl_algo.h:1854:30: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >*, std::vector > > >' changed in GCC 7.1 1854 | std::__insertion_sort(__first, __last, __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -command_executor.cc: In function 'Result, lnav::console::user_message> execute_file(exec_context&, const std::string&, bool)': -command_executor.cc:627:57: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] - 627 | snprintf(env_arg_name, sizeof(env_arg_name), "%lu", lpc); - | ~~^ ~~~ - | | | - | | size_t {aka unsigned int} - | long unsigned int - | %u -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o db_sub_source.o db_sub_source.cc -In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from db_sub_source.hh:39, - from db_sub_source.cc:32: -./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ -./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': -./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' -./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -logfile.hh:434:51: required from here -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ -In file included from grep_proc.hh:49, - from textview_curses.hh:42, - from hist_source.hh:45, - from db_sub_source.hh:40: +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o document.sections.o document.sections.cc +In file included from data_scanner.hh:35, + from document.sections.cc:39: pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { @@ -2267,13 +2180,18 @@ ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o document.sections.o document.sections.cc -In file included from data_scanner.hh:35, - from document.sections.cc:39: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = logfile_open_options; _Compare = std::less >; _Alloc = std::allocator, logfile_open_options> >]', + inlined from 'main(int, char**):: [with auto:21 = std::__cxx11::basic_string; auto:22 = std::shared_ptr]' at lnav.cc:2645:56, + inlined from 'constexpr _Res std::__invoke_impl(__invoke_other, _Fn&&, _Args&& ...) [with _Res = void; _Fn = main(int, char**)::&; _Args = {const __cxx11::basic_string, allocator >&, shared_ptr}]' at /usr/include/c++/12/bits/invoke.h:61:36, + inlined from 'constexpr std::__can_invoke_as_void<_Res, _Callable, _Args ...> std::__invoke_r(_Callable&&, _Args&& ...) [with _Res = void; _Callable = main(int, char**)::&; _Args = {const __cxx11::basic_string, allocator >&, shared_ptr}]' at /usr/include/c++/12/bits/invoke.h:154:33, + inlined from 'static _Res std::_Function_handler<_Res(_ArgTypes ...), _Functor>::_M_invoke(const std::_Any_data&, _ArgTypes&& ...) [with _Res = void; _Functor = main(int, char**)::; _ArgTypes = {const std::__cxx11::basic_string, std::allocator >&, std::shared_ptr}]' at /usr/include/c++/12/bits/std_function.h:290:30: +/usr/include/c++/12/bits/stl_map.h:511:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, logfile_open_options>, std::_Select1st, logfile_open_options> >, std::less >, std::allocator, logfile_open_options> > >::const_iterator' changed in GCC 7.1 + 511 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 512 | std::tuple(__k), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 513 | std::tuple<>()); + | ~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/set:60, from base/lnav.console.hh:33, from command_executor.hh:40, @@ -2299,16 +2217,6 @@ /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector >::chart_ident, std::allocator >::chart_ident> >::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/regex:57, - from db_sub_source.cc:30: -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const std::__cxx11::basic_string, std::allocator >&}; _Tp = stacked_bar_chart >::chart_ident; _Alloc = std::allocator >::chart_ident>]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector >::chart_ident, std::allocator >::chart_ident> >::iterator' changed in GCC 7.1 - 439 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const std::__cxx11::basic_string, std::allocator >&}; _Tp = stacked_bar_chart >::chart_ident; _Alloc = std::allocator >::chart_ident>]': -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >::chart_ident*, std::vector >::chart_ident, std::allocator >::chart_ident> > >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const std::__cxx11::basic_string, std::allocator >&}; _Tp = stacked_bar_chart >::chart_ident; _Alloc = std::allocator >::chart_ident>]', inlined from 'stacked_bar_chart::chart_ident& stacked_bar_chart::find_ident(const T&) [with T = std::__cxx11::basic_string]' at hist_source.hh:306:42, inlined from 'stacked_bar_chart& stacked_bar_chart::with_attrs_for_ident(const T&, text_attrs) [with T = std::__cxx11::basic_string]' at hist_source.hh:83:36, @@ -2316,15 +2224,6 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >::chart_ident*, std::vector >::chart_ident, std::allocator >::chart_ident> > >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = logfile_open_options; _Compare = std::less >; _Alloc = std::allocator, logfile_open_options> >]', - inlined from 'std::future > pipe_callback(exec_context&, const std::string&, auto_fd&)' at command_executor.cc:997:49: -/usr/include/c++/12/bits/stl_map.h:511:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, logfile_open_options>, std::_Select1st, logfile_open_options> >, std::less >, std::allocator, logfile_open_options> > >::const_iterator' changed in GCC 7.1 - 511 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 512 | std::tuple(__k), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 513 | std::tuple<>()); - | ~~~~~~~~~~~~~~~ In member function 'nonstd::optional_lite::optional lnav::document::hier_node::lookup_child(lnav::document::section_key_t) const', inlined from 'static nonstd::optional_lite::optional lnav::document::hier_node::lookup_path(const lnav::document::hier_node*, const std::vector, std::allocator >, unsigned int> >&)' at document.sections.cc:74:46: document.sections.cc:55:9: warning: '*(const lnav::document::hier_node**)((char*)&retval + offsetof(nonstd::optional_lite::optional,nonstd::optional_lite::optional::contained))' may be used uninitialized [-Wmaybe-uninitialized] @@ -2344,6 +2243,92 @@ document.sections.cc:67:10: note: '*(const lnav::document::hier_node**)((char*)&retval + offsetof(nonstd::optional_lite::optional,nonstd::optional_lite::optional::contained))' was declared here 67 | auto retval = make_optional_from_nullable(root); | ^~~~~~ +In file included from /usr/include/c++/12/algorithm:61, + from ./third-party/intervaltree/IntervalTree.h:8, + from document.sections.hh:40, + from document.sections.cc:33: +/usr/include/c++/12/bits/stl_algo.h: In function 'void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Val_comp_iter(line_range string_attr::*):: >]': +/usr/include/c++/12/bits/stl_algo.h:1782:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1782 | __unguarded_linear_insert(_RandomAccessIterator __last, + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter(line_range string_attr::*):: >]': +/usr/include/c++/12/bits/stl_algo.h:1802:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1802 | __insertion_sort(_RandomAccessIterator __first, + | ^~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_algo.h:1802:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +In file included from /usr/include/c++/12/bits/stl_algo.h:60: +/usr/include/c++/12/bits/stl_heap.h: In function 'void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Distance = int; _Tp = string_attr; _Compare = __gnu_cxx::__ops::_Iter_comp_iter(line_range string_attr::*):: >]': +/usr/include/c++/12/bits/stl_heap.h:224:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 224 | __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, + | ^~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_algo.h: In function 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter(line_range string_attr::*):: >]': +/usr/include/c++/12/bits/stl_algo.h:1908:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1908 | __introsort_loop(_RandomAccessIterator __first, + | ^~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_algo.h:1908:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +/usr/include/c++/12/bits/stl_algo.h:1922:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1922 | std::__introsort_loop(__cut, __last, __depth_limit, __comp); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = logfile_open_options; _Compare = std::less >; _Alloc = std::allocator, logfile_open_options> >]', + inlined from 'std::future > pipe_callback(exec_context&, const std::string&, auto_fd&)' at command_executor.cc:997:49: +/usr/include/c++/12/bits/stl_map.h:511:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, logfile_open_options>, std::_Select1st, logfile_open_options> >, std::less >, std::allocator, logfile_open_options> > >::const_iterator' changed in GCC 7.1 + 511 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 512 | std::tuple(__k), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 513 | std::tuple<>()); + | ~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/vector:70, + from document.sections.cc:31: +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const string_attr&}; _Tp = string_attr; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 439 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 +In file included from /usr/include/c++/12/regex:57, + from db_sub_source.cc:30: +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const std::__cxx11::basic_string, std::allocator >&}; _Tp = stacked_bar_chart >::chart_ident; _Alloc = std::allocator >::chart_ident>]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector >::chart_ident, std::allocator >::chart_ident> >::iterator' changed in GCC 7.1 + 439 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const std::__cxx11::basic_string, std::allocator >&}; _Tp = stacked_bar_chart >::chart_ident; _Alloc = std::allocator >::chart_ident>]': +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >::chart_ident*, std::vector >::chart_ident, std::allocator >::chart_ident> > >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const string_attr&}; _Tp = string_attr; _Alloc = std::allocator]', + inlined from 'C operator|(const C&, const lnav::itertools::details::filter_in&) [with C = std::vector; F = lnav::document::discover_metadata_int(const attr_line_t&, metadata_builder&)::]' at base/itertools.hh:483:32, + inlined from 'void lnav::document::discover_metadata_int(const attr_line_t&, metadata_builder&)' at document.sections.cc:102:9: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter(line_range string_attr::*):: >]', + inlined from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator >; _Compare = lnav::itertools::sort_by(line_range string_attr::*)::]' at /usr/include/c++/12/bits/stl_algo.h:4853:18, + inlined from 'T operator|(T, const lnav::itertools::details::sort_by&) [with T = std::vector; C = lnav::itertools::sort_by(line_range string_attr::*)::]' at base/itertools.hh:547:14, + inlined from 'void lnav::document::discover_metadata_int(const attr_line_t&, metadata_builder&)' at document.sections.cc:120:58: +/usr/include/c++/12/bits/stl_algo.h:1937:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1937 | std::__introsort_loop(__first, __last, + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ + 1938 | std::__lg(__last - __first) * 2, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1939 | __comp); + | ~~~~~~~ +In function 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter(line_range string_attr::*):: >]', + inlined from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter(line_range string_attr::*):: >]' at /usr/include/c++/12/bits/stl_algo.h:1940:31, + inlined from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator >; _Compare = lnav::itertools::sort_by(line_range string_attr::*)::]' at /usr/include/c++/12/bits/stl_algo.h:4853:18, + inlined from 'T operator|(T, const lnav::itertools::details::sort_by&) [with T = std::vector; C = lnav::itertools::sort_by(line_range string_attr::*)::]' at base/itertools.hh:547:14, + inlined from 'void lnav::document::discover_metadata_int(const attr_line_t&, metadata_builder&)' at document.sections.cc:120:58: +/usr/include/c++/12/bits/stl_algo.h:1849:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1849 | std::__insertion_sort(__first, __first + int(_S_threshold), __comp); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_algo.h:1854:30: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1854 | std::__insertion_sort(__first, __last, __comp); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]', + inlined from 'lnav::document::metadata lnav::document::structure_walker::walk()' at document.sections.cc:298:59: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/vector:63: /usr/include/c++/12/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]': /usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 @@ -2450,36 +2435,10 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/algorithm:61, - from ./third-party/intervaltree/IntervalTree.h:8, - from document.sections.hh:40, - from document.sections.cc:33: -/usr/include/c++/12/bits/stl_algo.h: In function 'void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Val_comp_iter(line_range string_attr::*):: >]': -/usr/include/c++/12/bits/stl_algo.h:1782:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1782 | __unguarded_linear_insert(_RandomAccessIterator __last, - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter(line_range string_attr::*):: >]': -/usr/include/c++/12/bits/stl_algo.h:1802:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1802 | __insertion_sort(_RandomAccessIterator __first, - | ^~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_algo.h:1802:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -In file included from /usr/include/c++/12/bits/stl_algo.h:60: -/usr/include/c++/12/bits/stl_heap.h: In function 'void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Distance = int; _Tp = string_attr; _Compare = __gnu_cxx::__ops::_Iter_comp_iter(line_range string_attr::*):: >]': -/usr/include/c++/12/bits/stl_heap.h:224:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 224 | __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, - | ^~~~~~~~~~~~~ /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_algo.h: In function 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter(line_range string_attr::*):: >]': -/usr/include/c++/12/bits/stl_algo.h:1908:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1908 | __introsort_loop(_RandomAccessIterator __first, - | ^~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_algo.h:1908:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -/usr/include/c++/12/bits/stl_algo.h:1922:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1922 | std::__introsort_loop(__cut, __last, __depth_limit, __comp); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range&, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', @@ -2490,6 +2449,7 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dump_internals.o dump_internals.cc In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]', inlined from 'attr_line_t& attr_line_t::with_attr_for_all(const string_attr_pair&)' at ./base/attr_line.hh:568:36, inlined from 'exec_context::source_guard exec_context::enter_source(intern_string_t, int, const std::string&)' at command_executor.cc:1113:33: @@ -2509,14 +2469,6 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/vector:70, - from document.sections.cc:31: -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const string_attr&}; _Tp = string_attr; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 439 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -2530,39 +2482,79 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const string_attr&}; _Tp = string_attr; _Alloc = std::allocator]', - inlined from 'C operator|(const C&, const lnav::itertools::details::filter_in&) [with C = std::vector; F = lnav::document::discover_metadata_int(const attr_line_t&, metadata_builder&)::]' at base/itertools.hh:483:32, - inlined from 'void lnav::document::discover_metadata_int(const attr_line_t&, metadata_builder&)' at document.sections.cc:102:9: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter(line_range string_attr::*):: >]', - inlined from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator >; _Compare = lnav::itertools::sort_by(line_range string_attr::*)::]' at /usr/include/c++/12/bits/stl_algo.h:4853:18, - inlined from 'T operator|(T, const lnav::itertools::details::sort_by&) [with T = std::vector; C = lnav::itertools::sort_by(line_range string_attr::*)::]' at base/itertools.hh:547:14, - inlined from 'void lnav::document::discover_metadata_int(const attr_line_t&, metadata_builder&)' at document.sections.cc:120:58: -/usr/include/c++/12/bits/stl_algo.h:1937:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1937 | std::__introsort_loop(__first, __last, - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ - 1938 | std::__lg(__last - __first) * 2, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1939 | __comp); - | ~~~~~~~ -In function 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter(line_range string_attr::*):: >]', - inlined from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter(line_range string_attr::*):: >]' at /usr/include/c++/12/bits/stl_algo.h:1940:31, - inlined from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator >; _Compare = lnav::itertools::sort_by(line_range string_attr::*)::]' at /usr/include/c++/12/bits/stl_algo.h:4853:18, - inlined from 'T operator|(T, const lnav::itertools::details::sort_by&) [with T = std::vector; C = lnav::itertools::sort_by(line_range string_attr::*)::]' at base/itertools.hh:547:14, - inlined from 'void lnav::document::discover_metadata_int(const attr_line_t&, metadata_builder&)' at document.sections.cc:120:58: -/usr/include/c++/12/bits/stl_algo.h:1849:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1849 | std::__insertion_sort(__first, __first + int(_S_threshold), __comp); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_algo.h:1854:30: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1854 | std::__insertion_sort(__first, __last, __comp); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]', - inlined from 'lnav::document::metadata lnav::document::structure_walker::walk()' at document.sections.cc:298:59: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/vector:70, + from lnav.cc:68: +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 439 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/memory:66, + from lnav.cc:65: +/usr/include/c++/12/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]': +/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last, + | ^~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'lnav::console::snippet::snippet(const lnav::console::snippet&)' at base/lnav.console.hh:44:8, + inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = lnav::console::snippet; _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/new_allocator.h:175:4, + inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = lnav::console::snippet; _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/alloc_traits.h:516:17, + inlined from 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:462:28: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'lnav::console::snippet::snippet(const lnav::console::snippet&)' at base/lnav.console.hh:44:8, + inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = lnav::console::snippet; _Args = {const lnav::console::snippet&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, + inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, + inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = lnav::console::snippet; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = attr_line_t; _Args = {const attr_line_t&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, + inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, + inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; _Tp = attr_line_t]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = attr_line_t; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range&, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]', inlined from 'attr_line_t& attr_line_t::append(const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> > >&) [with S = std::__cxx11::basic_string]' at ./base/attr_line.hh:488:36, inlined from 'Result, lnav::console::user_message> execute_sql(exec_context&, const std::string&, std::string&)' at command_executor.cc:366:36: @@ -2575,22 +2567,36 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const line_range&, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 439 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dump_internals.o dump_internals.cc -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range&, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range&, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]', + inlined from 'attr_line_t& attr_line_t::with_attr_for_all(const string_attr_pair&)' at base/attr_line.hh:568:36: /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const line_range&, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]', - inlined from 'virtual void db_label_source::text_attrs_for_line(textview_curses&, int, string_attrs_t&)' at db_sub_source.cc:96:28: +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range&, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 439 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range&, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = logfile_open_options; _Compare = std::less >; _Alloc = std::allocator, logfile_open_options> >]', + inlined from 'bool append_default_files()' at lnav.cc:438:69: +/usr/include/c++/12/bits/stl_map.h:530:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, logfile_open_options>, std::_Select1st, logfile_open_options> >, std::less >, std::allocator, logfile_open_options> > >::const_iterator' changed in GCC 7.1 + 530 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 531 | std::forward_as_tuple(std::move(__k)), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 532 | std::tuple<>()); + | ~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1617:35, + inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:232:44: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from yajlpp/yajlpp.hh:56, from yajlpp/yajlpp_def.hh:42, from lnav.events.hh:35, @@ -2599,7 +2605,16 @@ ./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o elem_to_json.o elem_to_json.cc +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'attr_line_t command_arg_help()' at lnav.cc:512:63, + inlined from 'main(int, char**)::' at lnav.cc:2343:56: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, from db_sub_source.hh:39, from lnav.hh:53, @@ -2608,6 +2623,43 @@ ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const line_range&, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 439 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range&, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range&, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const line_range&, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]', + inlined from 'virtual void db_label_source::text_attrs_for_line(textview_curses&, int, string_attrs_t&)' at db_sub_source.cc:96:28: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'looper():: [with auto:13 = lnav::console::user_message]' at lnav.cc:1244:24, + inlined from 'constexpr _Res std::__invoke_impl(__invoke_other, _Fn&&, _Args&& ...) [with _Res = void; _Fn = looper()::&; _Args = {const lnav::console::user_message&}]' at /usr/include/c++/12/bits/invoke.h:61:36, + inlined from 'constexpr std::__can_invoke_as_void<_Res, _Callable, _Args ...> std::__invoke_r(_Callable&&, _Args&& ...) [with _Res = void; _Callable = looper()::&; _Args = {const lnav::console::user_message&}]' at /usr/include/c++/12/bits/invoke.h:154:33, + inlined from 'static _Res std::_Function_handler<_Res(_ArgTypes ...), _Functor>::_M_invoke(const std::_Any_data&, _ArgTypes&& ...) [with _Res = void; _Functor = looper()::; _ArgTypes = {const lnav::console::user_message&}]' at /usr/include/c++/12/bits/std_function.h:290:30: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o elem_to_json.o elem_to_json.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o environ_vtab.o environ_vtab.cc +./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': +./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' +./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +logfile.hh:434:51: required from here +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o extension-functions.o extension-functions.cc In file included from data_scanner.hh:35, from data_parser.hh:42, from elem_to_json.hh:33, @@ -2616,16 +2668,8 @@ pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o environ_vtab.o environ_vtab.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o extension-functions.o extension-functions.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o field_overlay_source.o field_overlay_source.cc -./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': -./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' -./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -logfile.hh:434:51: required from here -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o file_collection.o file_collection.cc In file included from yajlpp/yajlpp.hh:56, from styling.hh:42, from view_curses.hh:70, @@ -2644,15 +2688,6 @@ ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ -./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': -./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' -./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -logfile.hh:434:51: required from here -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o file_collection.o file_collection.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o file_format.o file_format.cc In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, from logfile.hh:47, from file_collection.cc:45: @@ -2666,7 +2701,7 @@ pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o files_sub_source.o files_sub_source.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o file_format.o file_format.cc ./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': ./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' ./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' @@ -2676,6 +2711,14 @@ ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o files_sub_source.o files_sub_source.cc +./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': +./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' +./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +logfile.hh:434:51: required from here +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] In file included from grep_proc.hh:49, from textview_curses.hh:42, from files_sub_source.hh:34, @@ -2692,6 +2735,7 @@ ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o filter_observer.o filter_observer.cc files_sub_source.cc: In function 'files_model::files_list_selection files_model::from_selection(vis_line_t)': files_sub_source.cc:48:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::map, file_error_info>::size_type' {aka 'unsigned int'} [-Wsign-compare] 48 | if (sel < fc.fc_name_to_errors.size()) { @@ -2719,12 +2763,64 @@ files_sub_source.cc:335:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::map, other_file_descriptor>::size_type' {aka 'unsigned int'} [-Wsign-compare] 335 | if (line == fc.fc_other_files.size() - 1) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, + from logfile.hh:47, + from filter_observer.hh:35, + from filter_observer.cc:30: +./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ +In file included from log_format_fwd.hh:44, + from logfile.hh:54: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': +./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' +./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +logfile.hh:434:51: required from here +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ +In file included from /usr/include/c++/12/vector:70, + from ghc/filesystem.hpp:208, + from archive_manager.hh:41, + from file_collection.hh:42, + from file_collection.cc:34: +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {stat&}; _Tp = stat; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 439 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': +./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' +./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +logfile.hh:434:51: required from here +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ +filter_observer.cc: In member function 'virtual void line_filter_observer::logline_new_lines(const logfile&, logfile::const_iterator, logfile::const_iterator, shared_buffer_ref&)': +filter_observer.cc:36:1: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 + 36 | line_filter_observer::logline_new_lines(const logfile& lf, + | ^~~~~~~~~~~~~~~~~~~~ +filter_observer.cc:36:1: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o filter_status_source.o filter_status_source.cc In file included from /usr/include/c++/12/vector:70, from field_overlay_source.hh:34: /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const string_attr&}; _Tp = string_attr; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {stat&}; _Tp = stat; _Alloc = std::allocator]', + inlined from 'std::future file_collection::watch_logfile(const std::string&, logfile_open_options&, bool)' at file_collection.cc:295:36: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/vector:63: /usr/include/c++/12/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]': /usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 @@ -2809,21 +2905,22 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': -./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' -./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -logfile.hh:434:51: required from here -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]', inlined from 'attr_line_t& attr_line_t::with_attr_for_all(const string_attr_pair&)' at base/attr_line.hh:568:36, inlined from 'void field_overlay_source::build_meta_line(const listview_curses&, std::vector&, vis_line_t)' at field_overlay_source.cc:483:43: /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from yajlpp/yajlpp.hh:56, + from styling.hh:42, + from view_curses.hh:70, + from statusview_curses.hh:38, + from filter_status_source.hh:35, + from filter_status_source.cc:30: +./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -2839,11 +2936,12 @@ /usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1287 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o filter_observer.o filter_observer.cc In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from logfile.hh:47, - from filter_observer.hh:35, - from filter_observer.cc:30: + from log_format_fwd.hh:39, + from log_format.hh:57, + from readline_curses.hh:60, + from filter_sub_source.hh:35, + from filter_status_source.cc:36: ./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; @@ -2852,26 +2950,6 @@ from ghc/filesystem.hpp:208, from archive_manager.hh:41, from file_collection.hh:42, - from file_collection.cc:34: -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {stat&}; _Tp = stat; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 439 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -In file included from log_format_fwd.hh:44, - from logfile.hh:54: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {stat&}; _Tp = stat; _Alloc = std::allocator]', - inlined from 'std::future file_collection::watch_logfile(const std::string&, logfile_open_options&, bool)' at file_collection.cc:295:36: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/vector:70, - from ghc/filesystem.hpp:208, - from archive_manager.hh:41, - from file_collection.hh:42, from files_sub_source.hh:33: /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range&, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 @@ -2889,6 +2967,7 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o filter_sub_source.o filter_sub_source.cc ./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': ./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' ./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' @@ -2896,36 +2975,6 @@ ./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' logfile.hh:434:51: required from here ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ -filter_observer.cc: In member function 'virtual void line_filter_observer::logline_new_lines(const logfile&, logfile::const_iterator, logfile::const_iterator, shared_buffer_ref&)': -filter_observer.cc:36:1: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 - 36 | line_filter_observer::logline_new_lines(const logfile& lf, - | ^~~~~~~~~~~~~~~~~~~~ -filter_observer.cc:36:1: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o filter_status_source.o filter_status_source.cc -In file included from yajlpp/yajlpp.hh:56, - from styling.hh:42, - from view_curses.hh:70, - from statusview_curses.hh:38, - from filter_status_source.hh:35, - from filter_status_source.cc:30: -./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from log_format_fwd.hh:39, - from log_format.hh:57, - from readline_curses.hh:60, - from filter_sub_source.hh:35, - from filter_status_source.cc:36: -./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o filter_sub_source.o filter_sub_source.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fstat_vtab.o fstat_vtab.cc In file included from grep_proc.hh:49, from textview_curses.hh:42, from plain_text_source.hh:39, @@ -2935,23 +2984,7 @@ pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': -./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' -./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -logfile.hh:434:51: required from here -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] -In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from log_format_fwd.hh:39, - from log_format.hh:57, - from readline_curses.hh:60, - from filter_sub_source.hh:35: -./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fs-extension-functions.o fs-extension-functions.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fstat_vtab.o fstat_vtab.cc In file included from /usr/include/c++/12/vector:70, from statusview_curses.hh:36: /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const string_attr&}; _Tp = string_attr; _Alloc = std::allocator]': @@ -2965,8 +2998,19 @@ /usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1287 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, + from log_format_fwd.hh:39, + from log_format.hh:57, + from readline_curses.hh:60, + from filter_sub_source.hh:35: +./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fs-extension-functions.o fs-extension-functions.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fts_fuzzy_match.o fts_fuzzy_match.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o grep_proc.o grep_proc.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o help_text.o help_text.cc In file included from fs-extension-functions.cc:45: vtab_module.hh: In instantiation of 'static void sqlite_func_adapter::func1(sqlite3_context*, int, sqlite3_value**) [with Return = mapbox::util::variant; Args = {const char*}; Return (* f)(Args ...) = sql_basename; sqlite3_context = sqlite3_context; sqlite3_value = sqlite3_value]': vtab_module.hh:498:9: required from 'static FuncDef sqlite_func_adapter::builder(help_text) [with Return = mapbox::util::variant; Args = {const char*}; Return (* f)(Args ...) = sql_basename]' @@ -3148,6 +3192,12 @@ | ~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int +In file included from grep_proc.hh:49, + from grep_proc.cc:32: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': ./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' ./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' @@ -3164,12 +3214,6 @@ 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last, | ^~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -In file included from grep_proc.hh:49, - from grep_proc.cc:32: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -3228,6 +3272,7 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o help_text_formatter.o help_text_formatter.cc In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -3237,22 +3282,22 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o help_text.o help_text.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o help_text_formatter.o help_text_formatter.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o highlighter.o highlighter.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o hist_source.o hist_source.cc In file included from highlighter.hh:39, from highlighter.cc:30: pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -In file included from log_vtab_impl.hh:39, - from lnav.hh:63, - from filter_sub_source.cc:36: -logfile_sub_source.hh: In member function 'virtual bool pcre_filter::matches(const logfile&, logfile::const_iterator, shared_buffer_ref&)': -logfile_sub_source.hh:96:10: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 - 96 | bool matches(const logfile& lf, - | ^~~~~~~ +In file included from grep_proc.hh:49, + from textview_curses.hh:42, + from hist_source.hh:45, + from hist_source.cc:30: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/vector:70, from pcrepp/pcre2pp.hh:37: /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range&, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': @@ -3272,7 +3317,32 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o hist_source.o hist_source.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o hotkeys.o hotkeys.cc +In file included from log_vtab_impl.hh:39, + from lnav.hh:63, + from filter_sub_source.cc:36: +logfile_sub_source.hh: In member function 'virtual bool pcre_filter::matches(const logfile&, logfile::const_iterator, shared_buffer_ref&)': +logfile_sub_source.hh:96:10: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 + 96 | bool matches(const logfile& lf, + | ^~~~~~~ +In file included from yajlpp/yajlpp.hh:56, + from styling.hh:42, + from view_curses.hh:70, + from listview_curses.hh:43, + from field_overlay_source.hh:36, + from hotkeys.cc:42: +./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, + from column_namer.hh:39, + from log_data_helper.hh:42, + from field_overlay_source.hh:37: +./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ In file included from /usr/include/c++/12/memory:66, from base/injector.hh:36, from filter_sub_source.hh:33: @@ -3304,14 +3374,6 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from grep_proc.hh:49, - from textview_curses.hh:42, - from hist_source.hh:45, - from hist_source.cc:30: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -3420,13 +3482,22 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/vector:70, + from hist_source.hh:40: +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const hist_source2::hist_type_t&}; _Tp = stacked_bar_chart::chart_ident; _Alloc = std::allocator::chart_ident>]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::chart_ident, std::allocator::chart_ident> >::iterator' changed in GCC 7.1 + 439 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const hist_source2::hist_type_t&}; _Tp = stacked_bar_chart::chart_ident; _Alloc = std::allocator::chart_ident>]': +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator::chart_ident*, std::vector::chart_ident, std::allocator::chart_ident> > >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range&, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]', inlined from 'attr_line_t& attr_line_t::append(S, const string_attr_pair&) [with S = std::__cxx11::basic_string]' at base/attr_line.hh:474:36, inlined from 'void filter_sub_source::rl_display_matches(readline_curses*)' at filter_sub_source.cc:628:26: /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o hotkeys.o hotkeys.cc In file included from /usr/include/c++/12/regex:57, from help_text_formatter.cc:31: /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const string_attr&}; _Tp = string_attr; _Alloc = std::allocator]': @@ -3482,34 +3553,15 @@ /usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1287 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In file included from /usr/include/c++/12/vector:70, - from hist_source.hh:40: -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const hist_source2::hist_type_t&}; _Tp = stacked_bar_chart::chart_ident; _Alloc = std::allocator::chart_ident>]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::chart_ident, std::allocator::chart_ident> >::iterator' changed in GCC 7.1 - 439 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const hist_source2::hist_type_t&}; _Tp = stacked_bar_chart::chart_ident; _Alloc = std::allocator::chart_ident>]': -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator::chart_ident*, std::vector::chart_ident, std::allocator::chart_ident> > >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from yajlpp/yajlpp.hh:56, - from styling.hh:42, - from view_curses.hh:70, - from listview_curses.hh:43, - from field_overlay_source.hh:36, - from hotkeys.cc:42: -./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from column_namer.hh:39, - from log_data_helper.hh:42, - from field_overlay_source.hh:37: -./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': +./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': +./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' +./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +logfile.hh:434:51: required from here ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o input_dispatcher.o input_dispatcher.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o json-extension-functions.o json-extension-functions.cc /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range&, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: @@ -3519,15 +3571,6 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': -./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' -./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -logfile.hh:434:51: required from here -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o input_dispatcher.o input_dispatcher.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o json-extension-functions.o json-extension-functions.cc In file included from yajlpp/yajlpp.hh:56, from vtab_module_json.hh:36, from json-extension-functions.cc:41: @@ -3682,14 +3725,6 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1617:35, - inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:232:44: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from base/auto_pid.hh:41, from line_buffer.cc:51: line_buffer.cc: In member function 'void line_buffer::ensure_available(file_off_t, ssize_t)': @@ -3725,6 +3760,14 @@ line_buffer.cc:945:16: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 945 | if (rc > (this->lb_buffer.available())) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1617:35, + inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:232:44: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o listview_curses.o listview_curses.cc In file included from /usr/include/c++/12/vector:70, from base/attr_line.hh:37, @@ -3744,6 +3787,7 @@ 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lnav_commands.o lnav_commands.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lnav_config.o lnav_config.cc In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range&, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]', inlined from 'attr_line_t& attr_line_t::append(const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> > >&) [with S = std::__cxx11::basic_string]' at base/attr_line.hh:488:36, inlined from 'bool handle_paging_key(int)' at hotkeys.cc:270:32: @@ -3764,6 +3808,14 @@ pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +In file included from yajlpp/yajlpp.hh:56, + from styling.hh:42, + from lnav_config.hh:52, + from lnav_config.cc:37: +./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, from db_sub_source.hh:39, from lnav.hh:53: @@ -3771,7 +3823,7 @@ ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lnav_config.o lnav_config.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lnav_util.o lnav_util.cc In file included from curl_looper.hh:69, from lnav_commands.cc:56: curl_looper.hh: In member function 'virtual long int curl_request::complete(CURLcode)': @@ -3787,24 +3839,6 @@ /usr/include/arm-linux-gnueabihf/curl/curl.h:2845:3: note: declared here 2845 | CURLINFO_SPEED_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~~ -In file included from yajlpp/yajlpp.hh:56, - from styling.hh:42, - from lnav_config.hh:52, - from lnav_config.cc:37: -./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': -./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' -./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -logfile.hh:434:51: required from here -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lnav_util.o lnav_util.cc In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, from log_format_fwd.hh:39, from lnav_util.cc:45: @@ -3817,6 +3851,15 @@ pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': +./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' +./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +logfile.hh:434:51: required from here +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ In file included from lnav_util.cc:48: yajlpp/yajlpp_def.hh: In constructor 'json_path_container::json_path_container(std::initializer_list)': yajlpp/yajlpp_def.hh:1248:5: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 @@ -3841,11 +3884,6 @@ 1328 | : json_path_container(children) | ^ g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o log.watch.o log.watch.cc -In file included from lnav_config.cc:64: -yajlpp/yajlpp_def.hh: In constructor 'json_path_container::json_path_container(std::initializer_list)': -yajlpp/yajlpp_def.hh:1248:5: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 - 1248 | json_path_container(std::initializer_list children) - | ^~~~~~~~~~~~~~~~~~~ In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, from logfile.hh:47, from log.watch.hh:33, @@ -3860,6 +3898,227 @@ pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o log_accel.o log_accel.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o log_actions.o log_actions.cc +In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, + from column_namer.hh:39, + from log_data_helper.hh:42, + from log_actions.hh:36, + from log_actions.cc:30: +./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ +./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': +./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' +./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +logfile.hh:434:51: required from here +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ +In file included from data_scanner.hh:35, + from data_parser.hh:42, + from log_data_helper.hh:43: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/vector:70, + from logfile.hh:39: +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 439 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/vector:63: +/usr/include/c++/12/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]': +/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last, + | ^~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'lnav::console::snippet::snippet(const lnav::console::snippet&)' at ./base/lnav.console.hh:44:8, + inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = lnav::console::snippet; _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/new_allocator.h:175:4, + inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = lnav::console::snippet; _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/alloc_traits.h:516:17, + inlined from 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:462:28: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at ./base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'lnav::console::snippet::snippet(const lnav::console::snippet&)' at ./base/lnav.console.hh:44:8, + inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = lnav::console::snippet; _Args = {const lnav::console::snippet&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, + inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, + inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = lnav::console::snippet; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at ./base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at ./base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = attr_line_t; _Args = {const attr_line_t&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, + inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, + inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; _Tp = attr_line_t]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = attr_line_t; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at ./base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at ./base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1617:35, + inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:232:44: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +log_actions.cc: In member function 'std::string action_delegate::execute_action(const std::string&)': +log_actions.cc:89:25: warning: format '%ld' expects argument of type 'long int', but argument 4 has type '__gnu_cxx::__normal_iterator >::difference_type' {aka 'int'} [-Wformat=] + 89 | "%ld", + | ~~^ + | | + | long int + | %d + 90 | (ldh.ldh_line - lf->begin()) + 1); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | __gnu_cxx::__normal_iterator >::difference_type {aka int} +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'virtual void lnav::log::watch::expressions::reload_config(lnav_config_listener::error_reporter&)' at log.watch.cc:80:77: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'lnav::console::snippet::snippet(const lnav::console::snippet&)' at ./base/lnav.console.hh:44:8, + inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = lnav::console::snippet; _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/new_allocator.h:175:4, + inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = lnav::console::snippet; _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/alloc_traits.h:516:17, + inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:117:30, + inlined from 'lnav::console::user_message& lnav::console::user_message::with_snippet(const lnav::console::snippet&)' at ./base/lnav.console.hh:112:39, + inlined from 'virtual void lnav::log::watch::expressions::reload_config(lnav_config_listener::error_reporter&)' at log.watch.cc:91:44: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from lnav_config.cc:64: +yajlpp/yajlpp_def.hh: In constructor 'json_path_container::json_path_container(std::initializer_list)': +yajlpp/yajlpp_def.hh:1248:5: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 + 1248 | json_path_container(std::initializer_list children) + | ^~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/set:60, + from logfile.hh:36: +/usr/include/c++/12/bits/stl_tree.h: In function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, std::allocator >&&>, std::tuple<>}; _Key = std::__cxx11::basic_string; _Val = std::pair, mapbox::util::variant, std::allocator > > >; _KeyOfValue = std::_Select1st, mapbox::util::variant, std::allocator > > > >; _Compare = std::less >; _Alloc = std::allocator, mapbox::util::variant, std::allocator > > > >]': +/usr/include/c++/12/bits/stl_tree.h:2457:7: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, mapbox::util::variant, std::allocator > > >, std::_Select1st, mapbox::util::variant, std::allocator > > > >, std::less >, std::allocator, mapbox::util::variant, std::allocator > > > > >::const_iterator' changed in GCC 7.1 + 2457 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +log.watch.cc: In function 'void lnav::log::watch::eval_with(logfile&, logfile::iterator)': +log.watch.cc:111:1: note: parameter passing for argument of type 'logfile::iterator' {aka 'std::vector::iterator'} changed in GCC 7.1 + 111 | eval_with(logfile& lf, logfile::iterator ll) + | ^~~~~~~~~ +log.watch.cc:125:25: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 + 125 | lf.read_full_message(ll, values.lvv_sbr); + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/map:61, + from bookmarks.hh:36, + from logfile.hh:50: +In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = mapbox::util::variant, std::allocator > >; _Compare = std::less >; _Alloc = std::allocator, mapbox::util::variant, std::allocator > > > >]', + inlined from 'void lnav::log::watch::eval_with(logfile&, logfile::iterator)' at log.watch.cc:361:66: +/usr/include/c++/12/bits/stl_map.h:530:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, mapbox::util::variant, std::allocator > > >, std::_Select1st, mapbox::util::variant, std::allocator > > > >, std::less >, std::allocator, mapbox::util::variant, std::allocator > > > > >::const_iterator' changed in GCC 7.1 + 530 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 531 | std::forward_as_tuple(std::move(__k)), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 532 | std::tuple<>()); + | ~~~~~~~~~~~~~~~ +In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = mapbox::util::variant, std::allocator > >; _Compare = std::less >; _Alloc = std::allocator, mapbox::util::variant, std::allocator > > > >]', + inlined from 'void lnav::log::watch::eval_with(logfile&, logfile::iterator)' at log.watch.cc:365:66: +/usr/include/c++/12/bits/stl_map.h:530:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, mapbox::util::variant, std::allocator > > >, std::_Select1st, mapbox::util::variant, std::allocator > > > >, std::less >, std::allocator, mapbox::util::variant, std::allocator > > > > >::const_iterator' changed in GCC 7.1 + 530 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 531 | std::forward_as_tuple(std::move(__k)), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 532 | std::tuple<>()); + | ~~~~~~~~~~~~~~~ +In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = mapbox::util::variant, std::allocator > >; _Compare = std::less >; _Alloc = std::allocator, mapbox::util::variant, std::allocator > > > >]', + inlined from 'void lnav::log::watch::eval_with(logfile&, logfile::iterator)' at log.watch.cc:369:66: +/usr/include/c++/12/bits/stl_map.h:530:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, mapbox::util::variant, std::allocator > > >, std::_Select1st, mapbox::util::variant, std::allocator > > > >, std::less >, std::allocator, mapbox::util::variant, std::allocator > > > > >::const_iterator' changed in GCC 7.1 + 530 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 531 | std::forward_as_tuple(std::move(__k)), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 532 | std::tuple<>()); + | ~~~~~~~~~~~~~~~ +In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = mapbox::util::variant, std::allocator > >; _Compare = std::less >; _Alloc = std::allocator, mapbox::util::variant, std::allocator > > > >]', + inlined from 'void lnav::log::watch::eval_with(logfile&, logfile::iterator)' at log.watch.cc:373:66: +/usr/include/c++/12/bits/stl_map.h:530:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, mapbox::util::variant, std::allocator > > >, std::_Select1st, mapbox::util::variant, std::allocator > > > >, std::less >, std::allocator, mapbox::util::variant, std::allocator > > > > >::const_iterator' changed in GCC 7.1 + 530 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 531 | std::forward_as_tuple(std::move(__k)), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 532 | std::tuple<>()); + | ~~~~~~~~~~~~~~~ +In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = mapbox::util::variant, std::allocator > >; _Compare = std::less >; _Alloc = std::allocator, mapbox::util::variant, std::allocator > > > >]', + inlined from 'void lnav::log::watch::eval_with(logfile&, logfile::iterator)' at log.watch.cc:377:66: +/usr/include/c++/12/bits/stl_map.h:530:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, mapbox::util::variant, std::allocator > > >, std::_Select1st, mapbox::util::variant, std::allocator > > > >, std::less >, std::allocator, mapbox::util::variant, std::allocator > > > > >::const_iterator' changed in GCC 7.1 + 530 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 531 | std::forward_as_tuple(std::move(__k)), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 532 | std::tuple<>()); + | ~~~~~~~~~~~~~~~ ./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': ./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' ./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' @@ -3869,6 +4128,22 @@ ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o log_data_helper.o log_data_helper.cc +In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, + from column_namer.hh:39, + from log_data_helper.hh:42, + from log_data_helper.cc:32: +./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ +In file included from data_scanner.hh:35, + from data_parser.hh:42, + from log_data_helper.hh:43: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ lnav_config.cc: In function 'void __static_initialization_and_destruction_0(int, int)': lnav_config.cc:382:41: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 382 | static const struct json_path_container format_handlers = { @@ -4082,201 +4357,31 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1284 | } | ~ -In file included from /usr/include/c++/12/vector:70, - from logfile.hh:39: -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 439 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/vector:63: -/usr/include/c++/12/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]': -/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last, - | ^~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, - inlined from 'lnav::console::snippet::snippet(const lnav::console::snippet&)' at ./base/lnav.console.hh:44:8, - inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = lnav::console::snippet; _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/new_allocator.h:175:4, - inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = lnav::console::snippet; _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/alloc_traits.h:516:17, - inlined from 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:462:28: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at ./base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, - inlined from 'lnav::console::snippet::snippet(const lnav::console::snippet&)' at ./base/lnav.console.hh:44:8, - inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = lnav::console::snippet; _Args = {const lnav::console::snippet&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, - inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, - inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = lnav::console::snippet; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at ./base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at ./base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, - inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = attr_line_t; _Args = {const attr_line_t&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, - inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, - inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; _Tp = attr_line_t]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = attr_line_t; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at ./base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at ./base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1617:35, - inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:232:44: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, - inlined from 'virtual void lnav::log::watch::expressions::reload_config(lnav_config_listener::error_reporter&)' at log.watch.cc:80:77: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, - inlined from 'lnav::console::snippet::snippet(const lnav::console::snippet&)' at ./base/lnav.console.hh:44:8, - inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = lnav::console::snippet; _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/new_allocator.h:175:4, - inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = lnav::console::snippet; _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/alloc_traits.h:516:17, - inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:117:30, - inlined from 'lnav::console::user_message& lnav::console::user_message::with_snippet(const lnav::console::snippet&)' at ./base/lnav.console.hh:112:39, - inlined from 'virtual void lnav::log::watch::expressions::reload_config(lnav_config_listener::error_reporter&)' at log.watch.cc:91:44: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/set:60, - from logfile.hh:36: -/usr/include/c++/12/bits/stl_tree.h: In function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, std::allocator >&&>, std::tuple<>}; _Key = std::__cxx11::basic_string; _Val = std::pair, mapbox::util::variant, std::allocator > > >; _KeyOfValue = std::_Select1st, mapbox::util::variant, std::allocator > > > >; _Compare = std::less >; _Alloc = std::allocator, mapbox::util::variant, std::allocator > > > >]': -/usr/include/c++/12/bits/stl_tree.h:2457:7: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, mapbox::util::variant, std::allocator > > >, std::_Select1st, mapbox::util::variant, std::allocator > > > >, std::less >, std::allocator, mapbox::util::variant, std::allocator > > > > >::const_iterator' changed in GCC 7.1 - 2457 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -log.watch.cc: In function 'void lnav::log::watch::eval_with(logfile&, logfile::iterator)': -log.watch.cc:111:1: note: parameter passing for argument of type 'logfile::iterator' {aka 'std::vector::iterator'} changed in GCC 7.1 - 111 | eval_with(logfile& lf, logfile::iterator ll) - | ^~~~~~~~~ -log.watch.cc:125:25: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 - 125 | lf.read_full_message(ll, values.lvv_sbr); - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/map:61, - from bookmarks.hh:36, - from logfile.hh:50: -In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = mapbox::util::variant, std::allocator > >; _Compare = std::less >; _Alloc = std::allocator, mapbox::util::variant, std::allocator > > > >]', - inlined from 'void lnav::log::watch::eval_with(logfile&, logfile::iterator)' at log.watch.cc:361:66: -/usr/include/c++/12/bits/stl_map.h:530:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, mapbox::util::variant, std::allocator > > >, std::_Select1st, mapbox::util::variant, std::allocator > > > >, std::less >, std::allocator, mapbox::util::variant, std::allocator > > > > >::const_iterator' changed in GCC 7.1 - 530 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 531 | std::forward_as_tuple(std::move(__k)), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 532 | std::tuple<>()); - | ~~~~~~~~~~~~~~~ -In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = mapbox::util::variant, std::allocator > >; _Compare = std::less >; _Alloc = std::allocator, mapbox::util::variant, std::allocator > > > >]', - inlined from 'void lnav::log::watch::eval_with(logfile&, logfile::iterator)' at log.watch.cc:365:66: -/usr/include/c++/12/bits/stl_map.h:530:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, mapbox::util::variant, std::allocator > > >, std::_Select1st, mapbox::util::variant, std::allocator > > > >, std::less >, std::allocator, mapbox::util::variant, std::allocator > > > > >::const_iterator' changed in GCC 7.1 - 530 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 531 | std::forward_as_tuple(std::move(__k)), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 532 | std::tuple<>()); - | ~~~~~~~~~~~~~~~ -In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = mapbox::util::variant, std::allocator > >; _Compare = std::less >; _Alloc = std::allocator, mapbox::util::variant, std::allocator > > > >]', - inlined from 'void lnav::log::watch::eval_with(logfile&, logfile::iterator)' at log.watch.cc:369:66: -/usr/include/c++/12/bits/stl_map.h:530:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, mapbox::util::variant, std::allocator > > >, std::_Select1st, mapbox::util::variant, std::allocator > > > >, std::less >, std::allocator, mapbox::util::variant, std::allocator > > > > >::const_iterator' changed in GCC 7.1 - 530 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 531 | std::forward_as_tuple(std::move(__k)), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 532 | std::tuple<>()); - | ~~~~~~~~~~~~~~~ -In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = mapbox::util::variant, std::allocator > >; _Compare = std::less >; _Alloc = std::allocator, mapbox::util::variant, std::allocator > > > >]', - inlined from 'void lnav::log::watch::eval_with(logfile&, logfile::iterator)' at log.watch.cc:373:66: -/usr/include/c++/12/bits/stl_map.h:530:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, mapbox::util::variant, std::allocator > > >, std::_Select1st, mapbox::util::variant, std::allocator > > > >, std::less >, std::allocator, mapbox::util::variant, std::allocator > > > > >::const_iterator' changed in GCC 7.1 - 530 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 531 | std::forward_as_tuple(std::move(__k)), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 532 | std::tuple<>()); - | ~~~~~~~~~~~~~~~ -In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](key_type&&) [with _Key = std::__cxx11::basic_string; _Tp = mapbox::util::variant, std::allocator > >; _Compare = std::less >; _Alloc = std::allocator, mapbox::util::variant, std::allocator > > > >]', - inlined from 'void lnav::log::watch::eval_with(logfile&, logfile::iterator)' at log.watch.cc:377:66: -/usr/include/c++/12/bits/stl_map.h:530:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, mapbox::util::variant, std::allocator > > >, std::_Select1st, mapbox::util::variant, std::allocator > > > >, std::less >, std::allocator, mapbox::util::variant, std::allocator > > > > >::const_iterator' changed in GCC 7.1 - 530 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 531 | std::forward_as_tuple(std::move(__k)), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 532 | std::tuple<>()); - | ~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o log_accel.o log_accel.cc -In file included from /usr/include/c++/12/regex:53, - from lnav_commands.cc:31: -/usr/include/c++/12/bits/stl_tree.h: In function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, std::allocator >&>, std::tuple<>}; _Key = std::__cxx11::basic_string; _Val = std::pair, logfile_open_options>; _KeyOfValue = std::_Select1st, logfile_open_options> >; _Compare = std::less >; _Alloc = std::allocator, logfile_open_options> >]': -/usr/include/c++/12/bits/stl_tree.h:2457:7: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, logfile_open_options>, std::_Select1st, logfile_open_options> >, std::less >, std::allocator, logfile_open_options> > >::const_iterator' changed in GCC 7.1 - 2457 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o log_actions.o log_actions.cc -In file included from /usr/include/c++/12/regex:54: -/usr/include/c++/12/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = logfile_open_options; _Compare = std::less >; _Alloc = std::allocator, logfile_open_options> >]': -/usr/include/c++/12/bits/stl_map.h:511:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, logfile_open_options>, std::_Select1st, logfile_open_options> >, std::less >, std::allocator, logfile_open_options> > >::const_iterator' changed in GCC 7.1 - 511 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 512 | std::tuple(__k), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 513 | std::tuple<>()); - | ~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o log_data_table.o log_data_table.cc +In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, + from column_namer.hh:39, + from log_data_table.hh:38, + from log_data_table.cc:30: +./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ +In file included from data_scanner.hh:35, + from data_parser.hh:42, + from log_data_table.hh:39: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': +./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' +./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +logfile.hh:434:51: required from here +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ In file included from /usr/include/c++/12/deque:63, from /usr/include/c++/12/stack:60, from /usr/include/c++/12/regex:41, @@ -4317,6 +4422,10 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +log_data_helper.cc: In member function 'bool log_data_helper::parse_line(content_line_t, bool)': +log_data_helper.cc:79:42: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 + 79 | this->ldh_file->read_full_message(ll, this->ldh_line_values.lvv_sbr); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -4396,12 +4505,12 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from column_namer.hh:39, - from log_data_helper.hh:42, - from log_actions.hh:36, - from log_actions.cc:30: -./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': +./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': +./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' +./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +logfile.hh:434:51: required from here ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ @@ -4413,24 +4522,81 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from data_scanner.hh:35, - from data_parser.hh:42, - from log_data_helper.hh:43: +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o log_format.o log_format.cc +In file included from /usr/include/c++/12/vector:70, + from log_data_table.hh:36: +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {logline_value_meta&, double&}; _Tp = logline_value; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 439 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {logline_value_meta&, shared_buffer_ref&, line_range&}; _Tp = logline_value; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {logline_value_meta&, double&}; _Tp = logline_value; _Alloc = std::allocator]', + inlined from 'virtual void log_data_table::extract(logfile*, uint64_t, logline_value_vector&)' at log_data_table.cc:185:47: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {logline_value_meta&, shared_buffer_ref&, line_range&}; _Tp = logline_value; _Alloc = std::allocator]', + inlined from 'virtual void log_data_table::extract(logfile*, uint64_t, logline_value_vector&)' at log_data_table.cc:190:47: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +log_data_table.cc: In member function 'virtual bool log_data_table::next(log_cursor&, logfile_sub_source&)': +log_data_table.cc:137:26: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 + 137 | lf->read_full_message(lf_iter, line_values.lvv_sbr); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +log_data_table.cc: In member function 'void log_data_table::get_columns_int()': +log_data_table.cc:65:26: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 + 65 | lf->read_full_message(lf->begin() + cl_copy, line_values.lvv_sbr); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from highlighter.hh:39, + from log_format.hh:55, + from log_format_ext.hh:37, + from log_format.cc:42: pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -log_actions.cc: In member function 'std::string action_delegate::execute_action(const std::string&)': -log_actions.cc:89:25: warning: format '%ld' expects argument of type 'long int', but argument 4 has type '__gnu_cxx::__normal_iterator >::difference_type' {aka 'int'} [-Wformat=] - 89 | "%ld", - | ~~^ - | | - | long int - | %d - 90 | (ldh.ldh_line - lf->begin()) + 1); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | __gnu_cxx::__normal_iterator >::difference_type {aka int} +In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, + from log_format_fwd.hh:39, + from log_format.hh:57: +./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ +In file included from /usr/include/c++/12/regex:53, + from lnav_commands.cc:31: +/usr/include/c++/12/bits/stl_tree.h: In function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, std::allocator >&>, std::tuple<>}; _Key = std::__cxx11::basic_string; _Val = std::pair, logfile_open_options>; _KeyOfValue = std::_Select1st, logfile_open_options> >; _Compare = std::less >; _Alloc = std::allocator, logfile_open_options> >]': +/usr/include/c++/12/bits/stl_tree.h:2457:7: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, logfile_open_options>, std::_Select1st, logfile_open_options> >, std::less >, std::allocator, logfile_open_options> > >::const_iterator' changed in GCC 7.1 + 2457 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/regex:54: +/usr/include/c++/12/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = logfile_open_options; _Compare = std::less >; _Alloc = std::allocator, logfile_open_options> >]': +/usr/include/c++/12/bits/stl_map.h:511:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, logfile_open_options>, std::_Select1st, logfile_open_options> >, std::less >, std::allocator, logfile_open_options> > >::const_iterator' changed in GCC 7.1 + 511 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 512 | std::tuple(__k), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 513 | std::tuple<>()); + | ~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o log_format_loader.o log_format_loader.cc +In file included from yajlpp/yajlpp.hh:56, + from styling.hh:42, + from lnav_config.hh:52, + from log_format_loader.cc:54: +./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, + from log_format_fwd.hh:39, + from log_format.hh:57, + from log_format_ext.hh:37, + from log_format_loader.cc:55: +./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ ./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': ./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' ./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' @@ -4438,23 +4604,44 @@ ./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' logfile.hh:434:51: required from here ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o log_level.o log_level.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o log_level_re.o log_level_re.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o log_search_table.o log_search_table.cc In file included from log_vtab_impl.hh:39, from lnav.hh:63: logfile_sub_source.hh: In member function 'virtual bool pcre_filter::matches(const logfile&, logfile::const_iterator, shared_buffer_ref&)': logfile_sub_source.hh:96:10: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 96 | bool matches(const logfile& lf, | ^~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o log_data_helper.o log_data_helper.cc In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from column_namer.hh:39, - from log_data_helper.hh:42, - from log_data_helper.cc:32: + from logfile.hh:47, + from filter_observer.hh:35, + from logfile_sub_source.hh:50, + from log_vtab_impl.hh:39, + from log_search_table.hh:38, + from log_search_table.cc:30: ./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ +In file included from log_format_fwd.hh:44, + from logfile.hh:54: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +log_search_table.cc: In member function 'void log_search_table::get_columns_int(std::vector&) const': +log_search_table.cc:73:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] + 73 | for (int lpc = 0; lpc < this->lst_regex->get_capture_count(); lpc++) { + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +log_search_table.cc: In member function 'virtual void log_search_table::extract(logfile*, uint64_t, logline_value_vector&)': +log_search_table.cc:206:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] + 206 | for (int lpc = 0; lpc < this->lst_regex->get_capture_count(); lpc++) { + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +log_search_table.cc: In member function 'virtual void log_search_table::filter(log_cursor&, logfile_sub_source&)': +log_search_table.cc:246:34: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] + 246 | if (lss.lss_index_generation != this->lst_index_generation) { + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/deque:63, from /usr/include/c++/12/stack:60, from /usr/include/c++/12/regex:41: @@ -4486,13 +4673,6 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from data_scanner.hh:35, - from data_parser.hh:42, - from log_data_helper.hh:43: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -4546,28 +4726,6 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o log_data_table.o log_data_table.cc -In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from column_namer.hh:39, - from log_data_table.hh:38, - from log_data_table.cc:30: -./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ -lnav_commands.cc: In function 'Result, lnav::console::user_message> com_pipe_to(exec_context&, std::string, std::vector >&)': -lnav_commands.cc:1582:42: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 - 1582 | lf->read_full_message(lf->message_start(lf->begin() + cl), - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1583 | sbr); - | ~~~~ -In file included from data_scanner.hh:35, - from data_parser.hh:42, - from log_data_table.hh:39: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': ./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' ./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' @@ -4577,6 +4735,41 @@ ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ +lnav_commands.cc: In function 'Result, lnav::console::user_message> com_pipe_to(exec_context&, std::string, std::vector >&)': +lnav_commands.cc:1582:42: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 + 1582 | lf->read_full_message(lf->message_start(lf->begin() + cl), + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1583 | sbr); + | ~~~~ +In file included from /usr/include/c++/12/vector:70, + from log_search_table.hh:36: +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {logline_value_meta&, long long int&}; _Tp = logline_value; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 439 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {logline_value_meta&}; _Tp = logline_value; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {logline_value_meta&, shared_buffer_ref&, line_range}; _Tp = logline_value; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {logline_value_meta&, long long int&}; _Tp = logline_value; _Alloc = std::allocator]', + inlined from 'virtual void log_search_table::extract(logfile*, uint64_t, logline_value_vector&)' at log_search_table.cc:203:35: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {logline_value_meta&, shared_buffer_ref&, line_range}; _Tp = logline_value; _Alloc = std::allocator]', + inlined from 'virtual void log_search_table::extract(logfile*, uint64_t, logline_value_vector&)' at log_search_table.cc:209:43: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {logline_value_meta&}; _Tp = logline_value; _Alloc = std::allocator]', + inlined from 'virtual void log_search_table::extract(logfile*, uint64_t, logline_value_vector&)' at log_search_table.cc:214:43: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +log_search_table.cc: In member function 'virtual bool log_search_table::next(log_cursor&, logfile_sub_source&)': +log_search_table.cc:171:26: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 + 171 | lf->read_full_message(lf_iter, sbr); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/c++/12/regex:57: /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 @@ -4614,107 +4807,6 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': -./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' -./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -logfile.hh:434:51: required from here -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ -log_data_helper.cc: In member function 'bool log_data_helper::parse_line(content_line_t, bool)': -log_data_helper.cc:79:42: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 - 79 | this->ldh_file->read_full_message(ll, this->ldh_line_values.lvv_sbr); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o log_format.o log_format.cc -In file included from /usr/include/c++/12/vector:70, - from log_data_table.hh:36: -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {logline_value_meta&, double&}; _Tp = logline_value; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 439 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {logline_value_meta&, shared_buffer_ref&, line_range&}; _Tp = logline_value; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {logline_value_meta&, double&}; _Tp = logline_value; _Alloc = std::allocator]', - inlined from 'virtual void log_data_table::extract(logfile*, uint64_t, logline_value_vector&)' at log_data_table.cc:185:47: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {logline_value_meta&, shared_buffer_ref&, line_range&}; _Tp = logline_value; _Alloc = std::allocator]', - inlined from 'virtual void log_data_table::extract(logfile*, uint64_t, logline_value_vector&)' at log_data_table.cc:190:47: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -log_data_table.cc: In member function 'virtual bool log_data_table::next(log_cursor&, logfile_sub_source&)': -log_data_table.cc:137:26: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 - 137 | lf->read_full_message(lf_iter, line_values.lvv_sbr); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -log_data_table.cc: In member function 'void log_data_table::get_columns_int()': -log_data_table.cc:65:26: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 - 65 | lf->read_full_message(lf->begin() + cl_copy, line_values.lvv_sbr); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from highlighter.hh:39, - from log_format.hh:55, - from log_format_ext.hh:37, - from log_format.cc:42: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o log_format_loader.o log_format_loader.cc -In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from log_format_fwd.hh:39, - from log_format.hh:57: -./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ -In file included from yajlpp/yajlpp.hh:56, - from styling.hh:42, - from lnav_config.hh:52, - from log_format_loader.cc:54: -./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from log_format_fwd.hh:39, - from log_format.hh:57, - from log_format_ext.hh:37, - from log_format_loader.cc:55: -./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ -./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': -./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' -./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -logfile.hh:434:51: required from here -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range&, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]', - inlined from 'attr_line_t& attr_line_t::append(const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> > >&) [with S = std::__cxx11::basic_string]' at base/attr_line.hh:488:36, - inlined from 'Result, lnav::console::user_message> com_zoom_to(exec_context&, std::string, std::vector >&)' at lnav_commands.cc:3658:38: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]', - inlined from 'attr_line_t& attr_line_t::with_attr_for_all(const string_attr_pair&)' at base/attr_line.hh:568:36, - inlined from 'Result, lnav::console::user_message> com_filter_expr(exec_context&, std::string, std::vector >&)' at lnav_commands.cc:2040:63: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = logfile_open_options; _Compare = std::less >; _Alloc = std::allocator, logfile_open_options> >]', - inlined from 'Result, lnav::console::user_message> com_open(exec_context&, std::string, std::vector >&)' at lnav_commands.cc:2512:63: -/usr/include/c++/12/bits/stl_map.h:511:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, logfile_open_options>, std::_Select1st, logfile_open_options> >, std::less >, std::allocator, logfile_open_options> > >::const_iterator' changed in GCC 7.1 - 511 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 512 | std::tuple(__k), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 513 | std::tuple<>()); - | ~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/algorithm:61, from bookmarks.hh:35, from command_executor.hh:41, @@ -4724,19 +4816,19 @@ 3868 | find_if(_InputIterator __first, _InputIterator __last, | ^~~~~~~ /usr/include/c++/12/bits/stl_algo.h:3868:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o log_level.o log_level.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o log_level_re.o log_level_re.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o logfile.o logfile.cc In file included from log_format.cc:49: yajlpp/yajlpp_def.hh: In constructor 'json_path_container::json_path_container(std::initializer_list)': yajlpp/yajlpp_def.hh:1248:5: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 1248 | json_path_container(std::initializer_list children) | ^~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o log_search_table.o log_search_table.cc -In file included from log_format_loader.cc:58: -yajlpp/yajlpp_def.hh: In constructor 'json_path_container::json_path_container(std::initializer_list)': -yajlpp/yajlpp_def.hh:1248:5: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 - 1248 | json_path_container(std::initializer_list children) - | ^~~~~~~~~~~~~~~~~~~ +In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, + from logfile.hh:47, + from logfile.cc:34: +./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ In file included from /usr/include/c++/12/vector:70, from base/attr_line.hh:37, from base/snippet_highlighters.hh:33, @@ -4755,18 +4847,6 @@ | ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {logline_value_meta, long long int}; _Tp = logline_value; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 -In file included from /usr/include/c++/12/vector:70, - from log_format_loader.hh:36, - from log_format_loader.cc:35: -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {long long int&, log_level_t&}; _Tp = std::pair; _Alloc = std::allocator >]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector >::iterator' changed in GCC 7.1 - 439 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {long long int&, log_level_t&}; _Tp = std::pair; _Alloc = std::allocator >]', - inlined from 'int read_level_int(yajlpp_parse_context*, long long int)' at log_format_loader.cc:327:38: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {logline_value_meta, double&}; _Tp = logline_value; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {logline&}; _Tp = logline; _Alloc = std::allocator]': @@ -4785,6 +4865,29 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from log_format_loader.cc:58: +yajlpp/yajlpp_def.hh: In constructor 'json_path_container::json_path_container(std::initializer_list)': +yajlpp/yajlpp_def.hh:1248:5: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 + 1248 | json_path_container(std::initializer_list children) + | ^~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/vector:70, + from log_format_loader.hh:36, + from log_format_loader.cc:35: +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {long long int&, log_level_t&}; _Tp = std::pair; _Alloc = std::allocator >]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector >::iterator' changed in GCC 7.1 + 439 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {long long int&, log_level_t&}; _Tp = std::pair; _Alloc = std::allocator >]', + inlined from 'int read_level_int(yajlpp_parse_context*, long long int)' at log_format_loader.cc:327:38: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from log_format_fwd.hh:44, + from logfile.hh:54: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const long long int&, timeval&, log_level_t&}; _Tp = logline; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: @@ -4793,21 +4896,45 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from logfile.hh:47, - from filter_observer.hh:35, - from logfile_sub_source.hh:50, - from log_vtab_impl.hh:39, - from log_search_table.hh:38, - from log_search_table.cc:30: -./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {logline_value_meta&, const bool&}; _Tp = logline_value; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {logline_value_meta&, const long long int&}; _Tp = logline_value; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {logline_value_meta&, const double&}; _Tp = logline_value; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 +logfile.cc: In member function 'logfile::message_length_result logfile::message_byte_length(const_iterator, bool)': +logfile.cc:950:20: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const ssize_t' {aka 'const int'} [-Wsign-compare] + 950 | if (retval > line_buffer::MAX_LINE_BUFFER_SIZE) { + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {logline_value_meta&, string_fragment&}; _Tp = logline_value; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const logline_value_meta&, shared_buffer_ref&, line_range&}; _Tp = logline_value; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const logline_value_meta&, shared_buffer_ref&, line_range&}; _Tp = logline_value; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const logline_value_meta&, shared_buffer_ref&, line_range}; _Tp = logline_value; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 439 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {logline_value_meta, double&}; _Tp = logline_value; _Alloc = std::allocator]', + inlined from 'int rewrite_json_double(yajlpp_parse_context*, double)' at log_format.cc:667:61: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {logline_value_meta, long long int}; _Tp = logline_value; _Alloc = std::allocator]', + inlined from 'int rewrite_json_int(yajlpp_parse_context*, long long int)' at log_format.cc:651:61: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {logline_value_meta, bool}; _Tp = logline_value; _Alloc = std::allocator]', + inlined from 'int rewrite_json_bool(yajlpp_parse_context*, int)' at log_format.cc:635:61: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log_format_loader.cc: In function 'void __static_initialization_and_destruction_0(int, int)': log_format_loader.cc:406:41: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 406 | static const struct json_path_container pattern_handlers = { @@ -4890,55 +5017,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 988 | } | ~ -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {logline_value_meta&, const long long int&}; _Tp = logline_value; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {logline_value_meta&, const double&}; _Tp = logline_value; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {logline_value_meta&, string_fragment&}; _Tp = logline_value; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const logline_value_meta&, shared_buffer_ref&, line_range&}; _Tp = logline_value; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 -In file included from log_format_fwd.hh:44, - from logfile.hh:54: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const logline_value_meta&, shared_buffer_ref&, line_range&}; _Tp = logline_value; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const logline_value_meta&, shared_buffer_ref&, line_range}; _Tp = logline_value; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 439 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {logline_value_meta, double&}; _Tp = logline_value; _Alloc = std::allocator]', - inlined from 'int rewrite_json_double(yajlpp_parse_context*, double)' at log_format.cc:667:61: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {logline_value_meta, long long int}; _Tp = logline_value; _Alloc = std::allocator]', - inlined from 'int rewrite_json_int(yajlpp_parse_context*, long long int)' at log_format.cc:651:61: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {logline_value_meta, bool}; _Tp = logline_value; _Alloc = std::allocator]', - inlined from 'int rewrite_json_bool(yajlpp_parse_context*, int)' at log_format.cc:635:61: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -log_search_table.cc: In member function 'void log_search_table::get_columns_int(std::vector&) const': -log_search_table.cc:73:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] - 73 | for (int lpc = 0; lpc < this->lst_regex->get_capture_count(); lpc++) { - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -log_search_table.cc: In member function 'virtual void log_search_table::extract(logfile*, uint64_t, logline_value_vector&)': -log_search_table.cc:206:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] - 206 | for (int lpc = 0; lpc < this->lst_regex->get_capture_count(); lpc++) { - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -log_search_table.cc: In member function 'virtual void log_search_table::filter(log_cursor&, logfile_sub_source&)': -log_search_table.cc:246:34: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] - 246 | if (lss.lss_index_generation != this->lst_index_generation) { - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': ./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' ./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' @@ -4962,36 +5040,28 @@ 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last, | ^~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -In file included from /usr/include/c++/12/vector:70, - from log_search_table.hh:36: -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {logline_value_meta&, long long int&}; _Tp = logline_value; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 439 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {logline_value_meta&}; _Tp = logline_value; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const long long int&, timeval, log_level_t}; _Tp = logline; _Alloc = std::allocator]', inlined from 'virtual log_format::scan_result_t external_log_format::scan(logfile&, std::vector&, const line_info&, shared_buffer_ref&, scan_batch_context&)' at log_format.cc:1028:25: /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {logline_value_meta&, shared_buffer_ref&, line_range}; _Tp = logline_value; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {logline_value_meta&, long long int&}; _Tp = logline_value; _Alloc = std::allocator]', - inlined from 'virtual void log_search_table::extract(logfile*, uint64_t, logline_value_vector&)' at log_search_table.cc:203:35: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {logline_value_meta&, shared_buffer_ref&, line_range}; _Tp = logline_value; _Alloc = std::allocator]', - inlined from 'virtual void log_search_table::extract(logfile*, uint64_t, logline_value_vector&)' at log_search_table.cc:209:43: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {logline_value_meta&}; _Tp = logline_value; _Alloc = std::allocator]', - inlined from 'virtual void log_search_table::extract(logfile*, uint64_t, logline_value_vector&)' at log_search_table.cc:214:43: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from logfile.cc:54: +yajlpp/yajlpp_def.hh: In constructor 'json_path_container::json_path_container(std::initializer_list)': +yajlpp/yajlpp_def.hh:1248:5: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 + 1248 | json_path_container(std::initializer_list children) + | ^~~~~~~~~~~~~~~~~~~ +logfile.cc: In member function 'logfile::message_length_result logfile::message_byte_length(const_iterator, bool)': +logfile.cc:925:1: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 + 925 | logfile::message_byte_length(logfile::const_iterator ll, bool include_continues) + | ^~~~~~~ +logfile.cc: In member function 'Result > logfile::read_raw_message(const_iterator)': +logfile.cc:968:1: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 + 968 | logfile::read_raw_message(logfile::const_iterator ll) + | ^~~~~~~ +logfile.cc: In member function 'timeval logfile::original_line_time(iterator)': +logfile.cc:1040:1: note: parameter passing for argument of type 'logfile::iterator' {aka 'std::vector::iterator'} changed in GCC 7.1 + 1040 | logfile::original_line_time(logfile::iterator ll) + | ^~~~~~~ /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range&, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: @@ -5021,6 +5091,17 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In constructor 'typed_json_path_container::typed_json_path_container(std::initializer_list) [with T = line_buffer::header_data]', + inlined from 'void __static_initialization_and_destruction_0(int, int)' at logfile.cc:61:5: +yajlpp/yajlpp_def.hh:1328:39: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 + 1328 | : json_path_container(children) + | ^ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range&, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]', + inlined from 'attr_line_t& attr_line_t::append(const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> > >&) [with S = std::__cxx11::basic_string]' at base/attr_line.hh:488:36, + inlined from 'Result, lnav::console::user_message> com_zoom_to(exec_context&, std::string, std::vector >&)' at lnav_commands.cc:3658:38: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -5033,6 +5114,18 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {logline_value_meta&, const double&}; _Tp = logline_value; _Alloc = std::allocator]', + inlined from 'logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const::::' at log_format_impls.cc:1717:59, + inlined from 'static R mapbox::util::detail::dispatcher::apply(V&&, F&&) [with V = const mapbox::util::variant&; F = mapbox::util::visitor::, logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const::::, logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const::::, logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const::::, logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const:::: >; R = string_fragment; T = logfmt::parser::float_value; Types = {logfmt::parser::unquoted_value, logfmt::parser::quoted_value}]' at ./mapbox/variant.hpp:332:38: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {logline_value_meta&, const long long int&}; _Tp = logline_value; _Alloc = std::allocator]', + inlined from 'logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const::::' at log_format_impls.cc:1704:59, + inlined from 'static R mapbox::util::detail::dispatcher::apply(V&&, F&&) [with V = const mapbox::util::variant&; F = mapbox::util::visitor::, logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const::::, logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const::::, logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const::::, logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const:::: >; R = string_fragment; T = logfmt::parser::int_value; Types = {logfmt::parser::float_value, logfmt::parser::unquoted_value, logfmt::parser::quoted_value}]' at ./mapbox/variant.hpp:332:38: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -5045,6 +5138,12 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {logline_value_meta&, const bool&}; _Tp = logline_value; _Alloc = std::allocator]', + inlined from 'logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const::::' at log_format_impls.cc:1691:59, + inlined from 'static R mapbox::util::detail::dispatcher::apply(V&&, F&&) [with V = const mapbox::util::variant&; F = mapbox::util::visitor::, logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const::::, logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const::::, logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const::::, logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const:::: >; R = string_fragment; T = logfmt::parser::bool_value; Types = {logfmt::parser::int_value, logfmt::parser::float_value, logfmt::parser::unquoted_value, logfmt::parser::quoted_value}]' at ./mapbox/variant.hpp:332:38: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -5103,50 +5202,10 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {logline_value_meta&, const double&}; _Tp = logline_value; _Alloc = std::allocator]', - inlined from 'logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const::::' at log_format_impls.cc:1717:59, - inlined from 'static R mapbox::util::detail::dispatcher::apply(V&&, F&&) [with V = const mapbox::util::variant&; F = mapbox::util::visitor::, logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const::::, logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const::::, logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const::::, logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const:::: >; R = string_fragment; T = logfmt::parser::float_value; Types = {logfmt::parser::unquoted_value, logfmt::parser::quoted_value}]' at ./mapbox/variant.hpp:332:38: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {logline_value_meta&, const long long int&}; _Tp = logline_value; _Alloc = std::allocator]', - inlined from 'logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const::::' at log_format_impls.cc:1704:59, - inlined from 'static R mapbox::util::detail::dispatcher::apply(V&&, F&&) [with V = const mapbox::util::variant&; F = mapbox::util::visitor::, logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const::::, logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const::::, logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const::::, logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const:::: >; R = string_fragment; T = logfmt::parser::int_value; Types = {logfmt::parser::float_value, logfmt::parser::unquoted_value, logfmt::parser::quoted_value}]' at ./mapbox/variant.hpp:332:38: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {logline_value_meta&, const bool&}; _Tp = logline_value; _Alloc = std::allocator]', - inlined from 'logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const::::' at log_format_impls.cc:1691:59, - inlined from 'static R mapbox::util::detail::dispatcher::apply(V&&, F&&) [with V = const mapbox::util::variant&; F = mapbox::util::visitor::, logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const::::, logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const::::, logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const::::, logfmt_format::annotate(uint64_t, string_attrs_t&, logline_value_vector&, bool) const:::: >; R = string_fragment; T = logfmt::parser::bool_value; Types = {logfmt::parser::int_value, logfmt::parser::float_value, logfmt::parser::unquoted_value, logfmt::parser::quoted_value}]' at ./mapbox/variant.hpp:332:38: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -log_search_table.cc: In member function 'virtual bool log_search_table::next(log_cursor&, logfile_sub_source&)': -log_search_table.cc:171:26: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 - 171 | lf->read_full_message(lf_iter, sbr); - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range&, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 439 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1617:35, - inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:232:44: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]', - inlined from 'attr_line_t& attr_line_t::with_attr_for_all(const string_attr_pair&)' at ./base/attr_line.hh:568:36, - inlined from 'std::vector load_format_file(const ghc::filesystem::path&, std::vector&)' at log_format_loader.cc:1134:41: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +logfile.cc: In member function 'void logfile::read_full_message(const_iterator, shared_buffer_ref&, int)': +logfile.cc:842:1: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 + 842 | logfile::read_full_message(logfile::const_iterator ll, + | ^~~~~~~ /usr/include/c++/12/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]': /usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last, @@ -5160,6 +5219,10 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +logfile.cc: In member function 'Result > logfile::read_line(iterator)': +logfile.cc:805:1: note: parameter passing for argument of type 'logfile::iterator' {aka 'std::vector::iterator'} changed in GCC 7.1 + 805 | logfile::read_line(logfile::iterator ll) + | ^~~~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -5171,6 +5234,12 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]', + inlined from 'attr_line_t& attr_line_t::with_attr_for_all(const string_attr_pair&)' at base/attr_line.hh:568:36, + inlined from 'Result, lnav::console::user_message> com_filter_expr(exec_context&, std::string, std::vector >&)' at lnav_commands.cc:2040:63: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -5183,6 +5252,18 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +logfile.cc: In member function 'void logfile::reobserve_from(iterator)': +logfile.cc:884:1: note: parameter passing for argument of type 'logfile::iterator' {aka 'std::vector::iterator'} changed in GCC 7.1 + 884 | logfile::reobserve_from(iterator iter) + | ^~~~~~~ +In lambda function, + inlined from 'Result Result::then(Func) [with Func = logfile::reobserve_from(iterator)::; T = shared_buffer_ref; E = std::__cxx11::basic_string]' at base/result.h:813:17, + inlined from 'void logfile::reobserve_from(iterator)' at logfile.cc:901:35: +logfile.cc:907:57: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 + 907 | this->lf_logline_observer->logline_new_lines( + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 908 | *this, iter, iter_end, sbr); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -5207,6 +5288,10 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +logfile.cc: In member function 'void logfile::set_logline_observer(logline_observer*)': +logfile.cc:879:29: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 879 | this->reobserve_from(this->begin()); + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -5247,6 +5332,28 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range&, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 439 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1617:35, + inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:232:44: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]', + inlined from 'attr_line_t& attr_line_t::with_attr_for_all(const string_attr_pair&)' at ./base/attr_line.hh:568:36, + inlined from 'std::vector load_format_file(const ghc::filesystem::path&, std::vector&)' at log_format_loader.cc:1134:41: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range&, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: @@ -5260,6 +5367,15 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string; _Tp = logfile_open_options; _Compare = std::less >; _Alloc = std::allocator, logfile_open_options> >]', + inlined from 'Result, lnav::console::user_message> com_open(exec_context&, std::string, std::vector >&)' at lnav_commands.cc:2512:63: +/usr/include/c++/12/bits/stl_map.h:511:44: note: parameter passing for argument of type 'std::_Rb_tree, std::pair, logfile_open_options>, std::_Select1st, logfile_open_options> >, std::less >, std::allocator, logfile_open_options> > >::const_iterator' changed in GCC 7.1 + 511 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 512 | std::tuple(__k), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 513 | std::tuple<>()); + | ~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range&, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: @@ -5274,6 +5390,12 @@ | ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 +In file included from /usr/include/c++/12/vector:70, + from logfile.hh:39: +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const long long int&, long int&, short int&, log_level_t&, unsigned char&, unsigned char&}; _Tp = logline; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 439 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); @@ -5305,7 +5427,6 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o logfile.o logfile.cc In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = logline_value*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = logline_value*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = logline_value*; _Tp = logline_value]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -5334,13 +5455,49 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from logfile.hh:47, - from logfile.cc:34: -./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ +In file included from /usr/include/c++/12/vector:63: +/usr/include/c++/12/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]': +/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last, + | ^~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'lnav::console::snippet::snippet(const lnav::console::snippet&)' at ./base/lnav.console.hh:44:8, + inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = lnav::console::snippet; _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/new_allocator.h:175:4, + inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = lnav::console::snippet; _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/alloc_traits.h:516:17, + inlined from 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:462:28: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'lnav::console::snippet::snippet(const lnav::console::snippet&)' at ./base/lnav.console.hh:44:8, + inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = lnav::console::snippet; _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/new_allocator.h:175:4, + inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = lnav::console::snippet; _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/alloc_traits.h:516:17, + inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:117:30, + inlined from 'lnav::console::user_message& lnav::console::user_message::with_snippet(const lnav::console::snippet&)' at ./base/lnav.console.hh:112:39, + inlined from 'json_path_handler::for_field(timeval line_buffer::header_data::*)::' at yajlpp/yajlpp_def.hh:736:38: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1617:35, + inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:232:44, + inlined from 'attr_line_t& attr_line_t::operator=(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'lnav::console::user_message& lnav::console::user_message::with_help(const attr_line_t&)' at ./base/lnav.console.hh:149:29, + inlined from 'json_path_handler::for_field(timeval line_buffer::header_data::*)::' at yajlpp/yajlpp_def.hh:737:35: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]', inlined from 'attr_line_t& attr_line_t::with_attr_for_all(const string_attr_pair&)' at base/attr_line.hh:568:36, inlined from 'void external_log_format::build(std::vector&)' at log_format.cc:2289:43: @@ -5353,25 +5510,20 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from log_format_fwd.hh:44, - from logfile.hh:54: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -logfile.cc: In member function 'logfile::message_length_result logfile::message_byte_length(const_iterator, bool)': -logfile.cc:950:20: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const ssize_t' {aka 'const int'} [-Wsign-compare] - 950 | if (retval > line_buffer::MAX_LINE_BUFFER_SIZE) { - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': -./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' -./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -logfile.hh:434:51: required from here -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const long long int&, long int&, short int&, log_level_t&, unsigned char&, unsigned char&}; _Tp = logline; _Alloc = std::allocator]', + inlined from 'bool logfile::process_prefix(shared_buffer_ref&, const line_info&, scan_batch_context&)' at logfile.cc:384:40: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +logfile.cc: In member function 'logfile::rebuild_result_t logfile::rebuild_index(nonstd::optional_lite::optional > > >)': +logfile.cc:632:61: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 + 632 | this->lf_logline_observer->logline_new_lines( + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 633 | *this, this->begin() + old_size, this->end(), sbr); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +logfile.cc:696:48: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 696 | lnav::log::watch::eval_with(*this, this->end() - 1); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o logfile_sub_source.o logfile_sub_source.cc In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = logline_value*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = logline_value*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, @@ -5405,57 +5557,25 @@ pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o md2attr_line.o md2attr_line.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o md4cpp.o md4cpp.cc logfile_sub_source.cc: In member function 'virtual void logfile_sub_source::text_crumbs_for_line(int, std::vector&)': logfile_sub_source.cc:2287:29: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2287 | if (line_number >= msg_line_number) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -In file included from logfile.cc:54: -yajlpp/yajlpp_def.hh: In constructor 'json_path_container::json_path_container(std::initializer_list)': -yajlpp/yajlpp_def.hh:1248:5: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 - 1248 | json_path_container(std::initializer_list children) - | ^~~~~~~~~~~~~~~~~~~ -logfile.cc: In member function 'logfile::message_length_result logfile::message_byte_length(const_iterator, bool)': -logfile.cc:925:1: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 - 925 | logfile::message_byte_length(logfile::const_iterator ll, bool include_continues) - | ^~~~~~~ -logfile.cc: In member function 'Result > logfile::read_raw_message(const_iterator)': -logfile.cc:968:1: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 - 968 | logfile::read_raw_message(logfile::const_iterator ll) - | ^~~~~~~ -logfile.cc: In member function 'timeval logfile::original_line_time(iterator)': -logfile.cc:1040:1: note: parameter passing for argument of type 'logfile::iterator' {aka 'std::vector::iterator'} changed in GCC 7.1 - 1040 | logfile::original_line_time(logfile::iterator ll) - | ^~~~~~~ -In constructor 'typed_json_path_container::typed_json_path_container(std::initializer_list) [with T = line_buffer::header_data]', - inlined from 'void __static_initialization_and_destruction_0(int, int)' at logfile.cc:61:5: -yajlpp/yajlpp_def.hh:1328:39: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 - 1328 | : json_path_container(children) - | ^ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o md2attr_line.o md2attr_line.cc -logfile.cc: In member function 'void logfile::read_full_message(const_iterator, shared_buffer_ref&, int)': -logfile.cc:842:1: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 - 842 | logfile::read_full_message(logfile::const_iterator ll, - | ^~~~~~~ -logfile.cc: In member function 'Result > logfile::read_line(iterator)': -logfile.cc:805:1: note: parameter passing for argument of type 'logfile::iterator' {aka 'std::vector::iterator'} changed in GCC 7.1 - 805 | logfile::read_line(logfile::iterator ll) - | ^~~~~~~ -logfile.cc: In member function 'void logfile::reobserve_from(iterator)': -logfile.cc:884:1: note: parameter passing for argument of type 'logfile::iterator' {aka 'std::vector::iterator'} changed in GCC 7.1 - 884 | logfile::reobserve_from(iterator iter) - | ^~~~~~~ -In lambda function, - inlined from 'Result Result::then(Func) [with Func = logfile::reobserve_from(iterator)::; T = shared_buffer_ref; E = std::__cxx11::basic_string]' at base/result.h:813:17, - inlined from 'void logfile::reobserve_from(iterator)' at logfile.cc:901:35: -logfile.cc:907:57: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 - 907 | this->lf_logline_observer->logline_new_lines( - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ - 908 | *this, iter, iter_end, sbr); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ -logfile.cc: In member function 'void logfile::set_logline_observer(logline_observer*)': -logfile.cc:879:29: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 879 | this->reobserve_from(this->begin()); - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o network-extension-functions.o network-extension-functions.cc +In file included from yajlpp/yajlpp.hh:56, + from yajlpp/yajlpp_def.hh:42, + from md4cpp.cc:36: +./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +In file included from md2attr_line.cc:35: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': ./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' ./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' @@ -5465,18 +5585,83 @@ ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ -In file included from /usr/include/c++/12/vector:70, - from logfile.hh:39: -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const long long int&, long int&, short int&, log_level_t&, unsigned char&, unsigned char&}; _Tp = logline; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 439 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -In file included from md2attr_line.cc:35: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/vector:63: +In file included from network-extension-functions.cc:42: +vtab_module.hh: In instantiation of 'static void sqlite_func_adapter::func1(sqlite3_context*, int, sqlite3_value**) [with Return = std::__cxx11::basic_string; Args = {const char*}; Return (* f)(Args ...) = sql_gethostbyname; sqlite3_context = sqlite3_context; sqlite3_value = sqlite3_value]': +vtab_module.hh:498:9: required from 'static FuncDef sqlite_func_adapter::builder(help_text) [with Return = std::__cxx11::basic_string; Args = {const char*}; Return (* f)(Args ...) = sql_gethostbyname]' +network-extension-functions.cc:140:20: required from here +vtab_module.hh:459:50: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=] + 459 | "%s() expects exactly %ld argument%s", + | ~~^ + | | + | long int + | %d + 460 | fd->fd_help.ht_name, + 461 | REQ_COUNT, + | ~~~~~~~~~ + | | + | unsigned int +vtab_module.hh:466:50: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=] + 466 | "%s() expects between %ld and %ld arguments", + | ~~^ + | | + | long int + | %d + 467 | fd->fd_help.ht_name, + 468 | REQ_COUNT, + | ~~~~~~~~~ + | | + | unsigned int +vtab_module.hh:466:58: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'unsigned int' [-Wformat=] + 466 | "%s() expects between %ld and %ld arguments", + | ~~^ + | | + | long int + | %d +...... + 469 | REQ_COUNT + OPT_COUNT); + | ~~~~~~~~~~~~~~~~~~~~~ + | | + | unsigned int +vtab_module.hh: In instantiation of 'static void sqlite_func_adapter::func1(sqlite3_context*, int, sqlite3_value**) [with Return = std::__cxx11::basic_string; Args = {const char*}; Return (* f)(Args ...) = sql_gethostbyaddr; sqlite3_context = sqlite3_context; sqlite3_value = sqlite3_value]': +vtab_module.hh:498:9: required from 'static FuncDef sqlite_func_adapter::builder(help_text) [with Return = std::__cxx11::basic_string; Args = {const char*}; Return (* f)(Args ...) = sql_gethostbyaddr]' +network-extension-functions.cc:152:20: required from here +vtab_module.hh:459:50: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=] + 459 | "%s() expects exactly %ld argument%s", + | ~~^ + | | + | long int + | %d + 460 | fd->fd_help.ht_name, + 461 | REQ_COUNT, + | ~~~~~~~~~ + | | + | unsigned int +vtab_module.hh:466:50: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=] + 466 | "%s() expects between %ld and %ld arguments", + | ~~^ + | | + | long int + | %d + 467 | fd->fd_help.ht_name, + 468 | REQ_COUNT, + | ~~~~~~~~~ + | | + | unsigned int +vtab_module.hh:466:58: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'unsigned int' [-Wformat=] + 466 | "%s() expects between %ld and %ld arguments", + | ~~^ + | | + | long int + | %d +...... + 469 | REQ_COUNT + OPT_COUNT); + | ~~~~~~~~~~~~~~~~~~~~~ + | | + | unsigned int +In file included from /usr/include/c++/12/vector:63, + from help_text.hh:35, + from sqlite-extension-func.hh:41, + from network-extension-functions.cc:40: /usr/include/c++/12/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]': /usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last, @@ -5486,11 +5671,8 @@ inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, - inlined from 'lnav::console::snippet::snippet(const lnav::console::snippet&)' at ./base/lnav.console.hh:44:8, - inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = lnav::console::snippet; _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/new_allocator.h:175:4, - inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = lnav::console::snippet; _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/alloc_traits.h:516:17, - inlined from 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:462:28: + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5498,13 +5680,48 @@ inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, - inlined from 'lnav::console::snippet::snippet(const lnav::console::snippet&)' at ./base/lnav.console.hh:44:8, - inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = lnav::console::snippet; _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/new_allocator.h:175:4, - inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = lnav::console::snippet; _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/alloc_traits.h:516:17, - inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const lnav::console::snippet&}; _Tp = lnav::console::snippet; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:117:30, - inlined from 'lnav::console::user_message& lnav::console::user_message::with_snippet(const lnav::console::snippet&)' at ./base/lnav.console.hh:112:39, - inlined from 'json_path_handler::for_field(timeval line_buffer::header_data::*)::' at yajlpp/yajlpp_def.hh:736:38: + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, + inlined from 'lnav::console::snippet::snippet(const lnav::console::snippet&)' at base/lnav.console.hh:44:8, + inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = lnav::console::snippet; _Args = {const lnav::console::snippet&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, + inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, + inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = lnav::console::snippet; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, + inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = attr_line_t; _Args = {const attr_line_t&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, + inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, + inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; _Tp = attr_line_t]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = attr_line_t; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5512,29 +5729,48 @@ inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, inlined from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1617:35, - inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:232:44, - inlined from 'attr_line_t& attr_line_t::operator=(const attr_line_t&)' at base/attr_line.hh:413:7, - inlined from 'lnav::console::user_message& lnav::console::user_message::with_help(const attr_line_t&)' at ./base/lnav.console.hh:149:29, - inlined from 'json_path_handler::for_field(timeval line_buffer::header_data::*)::' at yajlpp/yajlpp_def.hh:737:35: + inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:232:44: /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -logfile_sub_source.hh: In member function 'virtual void index_delegate::index_line(logfile_sub_source&, logfile*, logfile::iterator)': -logfile_sub_source.hh:74:18: note: parameter passing for argument of type 'logfile::iterator' {aka 'std::vector::iterator'} changed in GCC 7.1 - 74 | virtual void index_line(logfile_sub_source& lss, - | ^~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const long long int&, long int&, short int&, log_level_t&, unsigned char&, unsigned char&}; _Tp = logline; _Alloc = std::allocator]', - inlined from 'bool logfile::process_prefix(shared_buffer_ref&, const line_info&, scan_batch_context&)' at logfile.cc:384:40: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/algorithm:60, - from logfile_sub_source.cc:30: -/usr/include/c++/12/bits/stl_algobase.h: In function '_ForwardIterator std::__lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = __gnu_cxx::__normal_iterator*, vector, allocator > > >; _Tp = strong_int; _Compare = __gnu_cxx::__ops::_Iter_less_val]': -/usr/include/c++/12/bits/stl_algobase.h:1450:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 - 1450 | __lower_bound(_ForwardIterator __first, _ForwardIterator __last, - | ^~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_algobase.h:1450:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o data_parser.o data_parser.cc +yajlpp/yajlpp_def.hh: In constructor 'json_path_container::json_path_container(std::initializer_list)': +yajlpp/yajlpp_def.hh:1248:5: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 + 1248 | json_path_container(std::initializer_list children) + | ^~~~~~~~~~~~~~~~~~~ +In constructor 'typed_json_path_container::typed_json_path_container(std::initializer_list) [with T = md4cpp::xml_entity]', + inlined from 'void __static_initialization_and_destruction_0(int, int)' at md4cpp.cc:40:52: +yajlpp/yajlpp_def.hh:1328:39: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 + 1328 | : json_path_container(children) + | ^ +In constructor 'typed_json_path_container::typed_json_path_container(std::initializer_list) [with T = md4cpp::xml_entity_map]', + inlined from 'void __static_initialization_and_destruction_0(int, int)' at md4cpp.cc:44:56: +yajlpp/yajlpp_def.hh:1328:39: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 + 1328 | : json_path_container(children) + | ^ +In constructor 'typed_json_path_container::typed_json_path_container(std::initializer_list) [with T = md4cpp::emoji]', + inlined from 'void __static_initialization_and_destruction_0(int, int)' at md4cpp.cc:63:47: +yajlpp/yajlpp_def.hh:1328:39: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 + 1328 | : json_path_container(children) + | ^ +In constructor 'typed_json_path_container::typed_json_path_container(std::initializer_list) [with T = md4cpp::emoji_map]', + inlined from 'void __static_initialization_and_destruction_0(int, int)' at md4cpp.cc:68:51: +yajlpp/yajlpp_def.hh:1328:39: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 + 1328 | : json_path_container(children) + | ^ +In file included from data_scanner.hh:35, + from data_parser.hh:42, + from data_parser.cc:32: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +data_parser.cc: In member function 'void data_parser::pairup(schema_id_t*, element_list_t&, element_list_t&, int)': +data_parser.cc:397:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 396 | if ((size_t) this->dp_msg_format_begin + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 397 | < this->dp_scanner->get_input().length()) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/vector:70, from base/attr_line.hh:37, from md2attr_line.hh:33, @@ -5588,15 +5824,6 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -logfile.cc: In member function 'logfile::rebuild_result_t logfile::rebuild_index(nonstd::optional_lite::optional > > >)': -logfile.cc:632:61: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 - 632 | this->lf_logline_observer->logline_new_lines( - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ - 633 | *this, this->begin() + old_size, this->end(), sbr); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -logfile.cc:696:48: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 696 | lnav::log::watch::eval_with(*this, this->end() - 1); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -5626,6 +5853,10 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +logfile_sub_source.hh: In member function 'virtual void index_delegate::index_line(logfile_sub_source&, logfile*, logfile::iterator)': +logfile_sub_source.hh:74:18: note: parameter passing for argument of type 'logfile::iterator' {aka 'std::vector::iterator'} changed in GCC 7.1 + 74 | virtual void index_line(logfile_sub_source& lss, + | ^~~~~~~~~~ /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: @@ -5659,6 +5890,13 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/algorithm:60, + from logfile_sub_source.cc:30: +/usr/include/c++/12/bits/stl_algobase.h: In function '_ForwardIterator std::__lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = __gnu_cxx::__normal_iterator*, vector, allocator > > >; _Tp = strong_int; _Compare = __gnu_cxx::__ops::_Iter_less_val]': +/usr/include/c++/12/bits/stl_algobase.h:1450:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 + 1450 | __lower_bound(_ForwardIterator __first, _ForwardIterator __last, + | ^~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_algobase.h:1450:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 In file included from /usr/include/c++/12/vector:64: In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = string_attr; _Alloc = std::allocator]', inlined from 'attr_line_t& attr_line_t::with_attr(const string_attr&)' at base/attr_line.hh:450:33, @@ -5705,10 +5943,7 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -logfile_sub_source.cc: In member function 'bool logfile_sub_source::check_extra_filters(iterator, logfile::iterator)': -logfile_sub_source.cc:1634:1: note: parameter passing for argument of type 'logfile::iterator' {aka 'std::vector::iterator'} changed in GCC 7.1 - 1634 | logfile_sub_source::check_extra_filters(iterator ld, logfile::iterator ll) - | ^~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pcap_manager.o pcap_manager.cc In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = string_attr; _Alloc = std::allocator]', inlined from 'attr_line_t& attr_line_t::with_attr(const string_attr&)' at base/attr_line.hh:450:33, inlined from 'virtual Result > md2attr_line::leave_span(const md4cpp::event_handler::span&)' at md2attr_line.cc:439:29: @@ -5739,12 +5974,6 @@ /usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1287 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -logfile_sub_source.cc: In member function 'void logfile_sub_source::reload_index_delegate()': -logfile_sub_source.cc:1803:45: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1803 | this->lss_index_delegate->index_line( - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ - 1804 | *this, lf.get(), lf->begin() + line_number); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -5807,6 +6036,16 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +logfile_sub_source.cc: In member function 'bool logfile_sub_source::check_extra_filters(iterator, logfile::iterator)': +logfile_sub_source.cc:1634:1: note: parameter passing for argument of type 'logfile::iterator' {aka 'std::vector::iterator'} changed in GCC 7.1 + 1634 | logfile_sub_source::check_extra_filters(iterator ld, logfile::iterator ll) + | ^~~~~~~~~~~~~~~~~~ +logfile_sub_source.cc: In member function 'void logfile_sub_source::reload_index_delegate()': +logfile_sub_source.cc:1803:45: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1803 | this->lss_index_delegate->index_line( + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 1804 | *this, lf.get(), lf->begin() + line_number); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logfile_sub_source.cc: In member function 'void logline_window::logmsg_info::load_msg() const': logfile_sub_source.cc:2072:37: note: parameter passing for argument of type 'const __gnu_cxx::__normal_iterator >' changed in GCC 7.1 2072 | this->li_file->read_full_message(this->li_logline, @@ -5822,6 +6061,7 @@ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 1499 | __gnu_cxx::__ops::__iter_less_val()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o plain_text_source.o plain_text_source.cc In file included from /usr/include/c++/12/vector:70, from logfile_sub_source.hh:40: /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const strong_int&}; _Tp = strong_int; _Alloc = std::allocator >]': @@ -5839,6 +6079,7 @@ /usr/include/c++/12/bits/vector.tcc:175:5: note: parameter passing for argument of type 'std::vector, std::allocator > >::iterator' changed in GCC 7.1 175 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pollable.o pollable.cc In file included from /usr/include/c++/12/algorithm:61: In function 'bool std::binary_search(_FIter, _FIter, const _Tp&) [with _FIter = __gnu_cxx::__normal_iterator*, vector, allocator > > >; _Tp = strong_int]', inlined from 'virtual void logfile_sub_source::text_update_marks(vis_bookmarks&)' at logfile_sub_source.cc:1071:30: @@ -5871,88 +6112,27 @@ /usr/include/c++/12/bits/stl_vector.h:1530:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 1530 | { return _M_erase(begin() + (__position - cbegin())); } | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o md4cpp.o md4cpp.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o network-extension-functions.o network-extension-functions.cc -In file included from network-extension-functions.cc:42: -vtab_module.hh: In instantiation of 'static void sqlite_func_adapter::func1(sqlite3_context*, int, sqlite3_value**) [with Return = std::__cxx11::basic_string; Args = {const char*}; Return (* f)(Args ...) = sql_gethostbyname; sqlite3_context = sqlite3_context; sqlite3_value = sqlite3_value]': -vtab_module.hh:498:9: required from 'static FuncDef sqlite_func_adapter::builder(help_text) [with Return = std::__cxx11::basic_string; Args = {const char*}; Return (* f)(Args ...) = sql_gethostbyname]' -network-extension-functions.cc:140:20: required from here -vtab_module.hh:459:50: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=] - 459 | "%s() expects exactly %ld argument%s", - | ~~^ - | | - | long int - | %d - 460 | fd->fd_help.ht_name, - 461 | REQ_COUNT, - | ~~~~~~~~~ - | | - | unsigned int -vtab_module.hh:466:50: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=] - 466 | "%s() expects between %ld and %ld arguments", - | ~~^ - | | - | long int - | %d - 467 | fd->fd_help.ht_name, - 468 | REQ_COUNT, - | ~~~~~~~~~ - | | - | unsigned int -vtab_module.hh:466:58: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'unsigned int' [-Wformat=] - 466 | "%s() expects between %ld and %ld arguments", - | ~~^ - | | - | long int - | %d -...... - 469 | REQ_COUNT + OPT_COUNT); - | ~~~~~~~~~~~~~~~~~~~~~ - | | - | unsigned int -vtab_module.hh: In instantiation of 'static void sqlite_func_adapter::func1(sqlite3_context*, int, sqlite3_value**) [with Return = std::__cxx11::basic_string; Args = {const char*}; Return (* f)(Args ...) = sql_gethostbyaddr; sqlite3_context = sqlite3_context; sqlite3_value = sqlite3_value]': -vtab_module.hh:498:9: required from 'static FuncDef sqlite_func_adapter::builder(help_text) [with Return = std::__cxx11::basic_string; Args = {const char*}; Return (* f)(Args ...) = sql_gethostbyaddr]' -network-extension-functions.cc:152:20: required from here -vtab_module.hh:459:50: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=] - 459 | "%s() expects exactly %ld argument%s", - | ~~^ - | | - | long int - | %d - 460 | fd->fd_help.ht_name, - 461 | REQ_COUNT, - | ~~~~~~~~~ - | | - | unsigned int -vtab_module.hh:466:50: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=] - 466 | "%s() expects between %ld and %ld arguments", - | ~~^ - | | - | long int - | %d - 467 | fd->fd_help.ht_name, - 468 | REQ_COUNT, - | ~~~~~~~~~ - | | - | unsigned int -vtab_module.hh:466:58: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'unsigned int' [-Wformat=] - 466 | "%s() expects between %ld and %ld arguments", - | ~~^ - | | - | long int - | %d -...... - 469 | REQ_COUNT + OPT_COUNT); - | ~~~~~~~~~~~~~~~~~~~~~ - | | - | unsigned int -In file included from yajlpp/yajlpp.hh:56, - from yajlpp/yajlpp_def.hh:42, - from md4cpp.cc:36: -./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pretty_printer.o pretty_printer.cc +In file included from grep_proc.hh:49, + from textview_curses.hh:42, + from plain_text_source.hh:39, + from plain_text_source.cc:30: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +In file included from data_scanner.hh:35, + from pretty_printer.hh:45, + from pretty_printer.cc:30: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ptimec_rt.o ptimec_rt.cc +plain_text_source.cc: In member function 'virtual nonstd::optional_lite::optional > plain_text_source::anchor_for_row(vis_line_t)': +plain_text_source.cc:354:12: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 354 | if (vl > this->tds_lines.size() + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algo.h:60: /usr/include/c++/12/bits/stl_heap.h: In function 'void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = logfile_sub_source::indexed_content*; _Distance = int; _Tp = logfile_sub_source::indexed_content; _Compare = __gnu_cxx::__ops::_Iter_comp_iter]': /usr/include/c++/12/bits/stl_heap.h:224:5: note: parameter passing for argument of type 'logfile_sub_source::indexed_content' changed in GCC 9.1 @@ -6007,81 +6187,6 @@ logfile_sub_source.cc:193:48: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 193 | this->lss_token_file->read_full_message(this->lss_token_line, sbr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/vector:63, - from help_text.hh:35, - from sqlite-extension-func.hh:41, - from network-extension-functions.cc:40: -/usr/include/c++/12/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]': -/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last, - | ^~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, - inlined from 'lnav::console::snippet::snippet(const lnav::console::snippet&)' at base/lnav.console.hh:44:8, - inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = lnav::console::snippet; _Args = {const lnav::console::snippet&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, - inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, - inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = lnav::console::snippet; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, - inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = attr_line_t; _Args = {const attr_line_t&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, - inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, - inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; _Tp = attr_line_t]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = attr_line_t; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1617:35, - inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:232:44: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/vector:63: /usr/include/c++/12/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]': /usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 @@ -6127,7 +6232,6 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o data_parser.o data_parser.cc logfile_sub_source.cc: In member function 'Result logfile_sub_source::eval_sql_filter(sqlite3_stmt*, iterator, logfile::const_iterator)': logfile_sub_source.cc:1405:1: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 1405 | logfile_sub_source::eval_sql_filter(sqlite3_stmt* stmt, @@ -6135,6 +6239,7 @@ logfile_sub_source.cc:1418:26: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 1418 | lf->read_full_message(ll, sbr); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o readline_callbacks.o readline_callbacks.cc logfile_sub_source.cc: In member function 'virtual bool sql_filter::matches(const logfile&, logfile::const_iterator, shared_buffer_ref&)': logfile_sub_source.cc:1885:1: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 1885 | sql_filter::matches(const logfile& lf, @@ -6142,6 +6247,12 @@ logfile_sub_source.cc:1903:75: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 1903 | = this->sf_log_source.eval_sql_filter(this->sf_filter_stmt, ld, ll); | ^ +In file included from /usr/include/c++/12/vector:70, + from pretty_printer.hh:38: +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {long long int&, int, mapbox::util::variant, std::allocator >, unsigned int>&}; _Tp = interval_tree::Interval, std::allocator >, unsigned int> >; _Alloc = std::allocator, std::allocator >, unsigned int> > >]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector, std::allocator >, unsigned int> >, std::allocator, std::allocator >, unsigned int> > > >::iterator' changed in GCC 7.1 + 439 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ logfile_sub_source.cc: In member function 'virtual void logfile_sub_source::text_filters_changed()': logfile_sub_source.cc:1149:31: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1149 | lf->reobserve_from(lf->begin() @@ -6154,6 +6265,11 @@ logfile_sub_source.cc:1201:53: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1201 | this->lss_index_delegate->index_line(*this, lf, line_iter); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {long long int&, int, mapbox::util::variant, std::allocator >, unsigned int>&}; _Tp = interval_tree::Interval, std::allocator >, unsigned int> >; _Alloc = std::allocator, std::allocator >, unsigned int> > >]', + inlined from 'void pretty_printer::append_child_node()' at pretty_printer.cc:359:36: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator, std::allocator >, unsigned int> >*, std::vector, std::allocator >, unsigned int> >, std::allocator, std::allocator >, unsigned int> > > > >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logfile_sub_source.cc: In member function 'logfile_sub_source::rebuild_result logfile_sub_source::rebuild_index(nonstd::optional_lite::optional > > >)': logfile_sub_source.cc:835:53: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 835 | this->lss_index_delegate->index_line( @@ -6183,17 +6299,34 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1020 | *this, lf, lf->begin() + line_number); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/deque:63, + from pretty_printer.hh:33: +/usr/include/c++/12/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]': +/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last, + | ^~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1617:35, + inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:232:44, + inlined from 'void pretty_printer::append_to(attr_line_t&)' at pretty_printer.cc:140:34: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ logfile_sub_source.cc: In member function 'Result logfile_sub_source::set_sql_filter(std::string, sqlite3_stmt*)': logfile_sub_source.cc:1289:77: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 1289 | = this->eval_sql_filter(stmt, ld, (*ld)->get_file_ptr()->begin()); | ^ -In file included from data_scanner.hh:35, - from data_parser.hh:42, - from data_parser.cc:32: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'void pretty_printer::write_element(const element&)' at pretty_printer.cc:199:66: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ logfile_sub_source.cc: In member function 'Result logfile_sub_source::set_preview_sql_filter(sqlite3_stmt*)': logfile_sub_source.cc:1391:77: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 1391 | = this->eval_sql_filter(stmt, ld, (*ld)->get_file_ptr()->begin()); @@ -6226,12 +6359,6 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -data_parser.cc: In member function 'void data_parser::pairup(schema_id_t*, element_list_t&, element_list_t&, int)': -data_parser.cc:397:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 396 | if ((size_t) this->dp_msg_format_begin - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 397 | < this->dp_scanner->get_input().length()) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -6266,10 +6393,7 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -yajlpp/yajlpp_def.hh: In constructor 'json_path_container::json_path_container(std::initializer_list)': -yajlpp/yajlpp_def.hh:1248:5: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 - 1248 | json_path_container(std::initializer_list children) - | ^~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o readline_curses.o readline_curses.cc /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range&, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: @@ -6292,36 +6416,45 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In constructor 'typed_json_path_container::typed_json_path_container(std::initializer_list) [with T = md4cpp::xml_entity]', - inlined from 'void __static_initialization_and_destruction_0(int, int)' at md4cpp.cc:40:52: -yajlpp/yajlpp_def.hh:1328:39: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 - 1328 | : json_path_container(children) - | ^ -In constructor 'typed_json_path_container::typed_json_path_container(std::initializer_list) [with T = md4cpp::xml_entity_map]', - inlined from 'void __static_initialization_and_destruction_0(int, int)' at md4cpp.cc:44:56: -yajlpp/yajlpp_def.hh:1328:39: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 - 1328 | : json_path_container(children) - | ^ -In constructor 'typed_json_path_container::typed_json_path_container(std::initializer_list) [with T = md4cpp::emoji]', - inlined from 'void __static_initialization_and_destruction_0(int, int)' at md4cpp.cc:63:47: -yajlpp/yajlpp_def.hh:1328:39: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 - 1328 | : json_path_container(children) - | ^ -In constructor 'typed_json_path_container::typed_json_path_container(std::initializer_list) [with T = md4cpp::emoji_map]', - inlined from 'void __static_initialization_and_destruction_0(int, int)' at md4cpp.cc:68:51: -yajlpp/yajlpp_def.hh:1328:39: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 - 1328 | : json_path_container(children) - | ^ +In file included from yajlpp/yajlpp.hh:56, + from styling.hh:42, + from view_curses.hh:70, + from listview_curses.hh:43, + from field_overlay_source.hh:36, + from readline_callbacks.cc:34: +./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/vector:70, + from plain_text_source.hh:34: +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {long long int&, attr_line_t}; _Tp = plain_text_source::text_line; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 439 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const line_range&, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 +In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, + from column_namer.hh:39, + from log_data_helper.hh:42, + from field_overlay_source.hh:37: +./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {long long int&, attr_line_t}; _Tp = plain_text_source::text_line; _Alloc = std::allocator]', + inlined from 'plain_text_source& plain_text_source::replace_with(const attr_line_t&)' at plain_text_source.cc:86:37: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -6343,78 +6476,6 @@ logfile_sub_source.cc:602:71: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 602 | this->lss_token_line); | ^ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pcap_manager.o pcap_manager.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o plain_text_source.o plain_text_source.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pollable.o pollable.cc -In file included from grep_proc.hh:49, - from textview_curses.hh:42, - from plain_text_source.hh:39, - from plain_text_source.cc:30: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pretty_printer.o pretty_printer.cc -plain_text_source.cc: In member function 'virtual nonstd::optional_lite::optional > plain_text_source::anchor_for_row(vis_line_t)': -plain_text_source.cc:354:12: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 354 | if (vl > this->tds_lines.size() - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ -In file included from data_scanner.hh:35, - from pretty_printer.hh:45, - from pretty_printer.cc:30: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ptimec_rt.o ptimec_rt.cc -In file included from /usr/include/c++/12/vector:70, - from pretty_printer.hh:38: -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {long long int&, int, mapbox::util::variant, std::allocator >, unsigned int>&}; _Tp = interval_tree::Interval, std::allocator >, unsigned int> >; _Alloc = std::allocator, std::allocator >, unsigned int> > >]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector, std::allocator >, unsigned int> >, std::allocator, std::allocator >, unsigned int> > > >::iterator' changed in GCC 7.1 - 439 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {long long int&, int, mapbox::util::variant, std::allocator >, unsigned int>&}; _Tp = interval_tree::Interval, std::allocator >, unsigned int> >; _Alloc = std::allocator, std::allocator >, unsigned int> > >]', - inlined from 'void pretty_printer::append_child_node()' at pretty_printer.cc:359:36: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator, std::allocator >, unsigned int> >*, std::vector, std::allocator >, unsigned int> >, std::allocator, std::allocator >, unsigned int> > > > >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/deque:63, - from pretty_printer.hh:33: -/usr/include/c++/12/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]': -/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last, - | ^~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o readline_callbacks.o readline_callbacks.cc -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1617:35, - inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:232:44, - inlined from 'void pretty_printer::append_to(attr_line_t&)' at pretty_printer.cc:140:34: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'void pretty_printer::write_element(const element&)' at pretty_printer.cc:199:66: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o readline_curses.o readline_curses.cc -In file included from /usr/include/c++/12/vector:70, - from plain_text_source.hh:34: -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {long long int&, attr_line_t}; _Tp = plain_text_source::text_line; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 439 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {long long int&, attr_line_t}; _Tp = plain_text_source::text_line; _Alloc = std::allocator]', - inlined from 'plain_text_source& plain_text_source::replace_with(const attr_line_t&)' at plain_text_source.cc:86:37: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {long long int&, const std::__cxx11::basic_string, std::allocator >&}; _Tp = plain_text_source::text_line; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: @@ -6439,6 +6500,21 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from highlighter.hh:39, + from log_format.hh:55, + from readline_curses.hh:60, + from readline_curses.cc:65: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, + from log_format_fwd.hh:39, + from log_format.hh:57: +./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -6470,45 +6546,20 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from yajlpp/yajlpp.hh:56, - from styling.hh:42, - from view_curses.hh:70, - from listview_curses.hh:43, - from field_overlay_source.hh:36, - from readline_callbacks.cc:34: -./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from column_namer.hh:39, - from log_data_helper.hh:42, - from field_overlay_source.hh:37: -./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ -In file included from highlighter.hh:39, - from log_format.hh:55, - from readline_curses.hh:60, - from readline_curses.cc:65: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o readline_highlighters.o readline_highlighters.cc -In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from log_format_fwd.hh:39, - from log_format.hh:57: -./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o readline_possibilities.o readline_possibilities.cc In file included from readline_highlighters.cc:38: pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': +./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' +./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +logfile.hh:434:51: required from here +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] readline_highlighters.cc: In function 'void find_matching_bracket(attr_line_t&, int, line_range, char, char)': readline_highlighters.cc:91:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 91 | for (size_t lpc = x + 1; lpc < sub.lr_end; lpc++) { @@ -6526,6 +6577,15 @@ readline_highlighters.cc:229:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 229 | } while (start < sub.length()); | ~~~~~~^~~~~~~~~~~~~~ +In file included from highlighter.hh:39, + from log_format.hh:55, + from readline_curses.hh:60, + from readline_possibilities.hh:35, + from readline_possibilities.cc:33: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/vector:70, from base/attr_line.hh:37, from readline_highlighters.hh:35, @@ -6540,13 +6600,6 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': -./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' -./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -logfile.hh:434:51: required from here -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]', inlined from 'attr_line_builder& attr_line_builder::overlay_attr_for_char(int, Args ...) [with Args = {std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}]' at base/attr_line.builder.hh:93:54, inlined from 'void readline_shlex_highlighter_int(attr_line_t&, int, line_range)' at readline_highlighters.cc:359:46: @@ -6559,6 +6612,13 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, + from log_format_fwd.hh:39, + from log_format.hh:57: +./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]', inlined from 'attr_line_builder& attr_line_builder::overlay_attr_for_char(int, Args ...) [with Args = {std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}]' at base/attr_line.builder.hh:93:54, inlined from 'void readline_sqlite_highlighter_int(attr_line_t&, int, line_range)' at readline_highlighters.cc:280:42: @@ -6599,23 +6659,28 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o readline_possibilities.o readline_possibilities.cc -In file included from highlighter.hh:39, - from log_format.hh:55, - from readline_curses.hh:60, - from readline_possibilities.hh:35, - from readline_possibilities.cc:33: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o regex101.client.o regex101.client.cc +In file included from regex101.client.cc:32: +curl_looper.hh: In member function 'virtual long int curl_request::complete(CURLcode)': +curl_looper.hh:137:30: warning: 'CURLINFO_SIZE_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations] + 137 | this->cr_handle, CURLINFO_SIZE_DOWNLOAD, &download_size); + | ^~~~~~~~~~~~~~~~~~~~~~ +/usr/include/arm-linux-gnueabihf/curl/curl.h:2841:3: note: declared here + 2841 | CURLINFO_SIZE_DOWNLOAD + | ^~~~~~~~~~~~~~~~~~~~~~ +curl_looper.hh:140:30: warning: 'CURLINFO_SPEED_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SPEED_DOWNLOAD_T [-Wdeprecated-declarations] + 140 | this->cr_handle, CURLINFO_SPEED_DOWNLOAD, &download_speed); + | ^~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/arm-linux-gnueabihf/curl/curl.h:2845:3: note: declared here + 2845 | CURLINFO_SPEED_DOWNLOAD + | ^~~~~~~~~~~~~~~~~~~~~~~ +In file included from yajlpp/yajlpp.hh:56, + from yajlpp/yajlpp_def.hh:42, + from regex101.client.cc:37: +./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from log_format_fwd.hh:39, - from log_format.hh:57: -./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ In file included from /usr/include/c++/12/vector:63, from base/attr_line.hh:37, from base/ansi_scrubber.hh:38, @@ -6654,6 +6719,13 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': +./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' +./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +logfile.hh:434:51: required from here +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] In file included from /usr/include/c++/12/vector:70, from base/intern_string.hh:37, from base/humanize.network.hh:36, @@ -6664,7 +6736,7 @@ | ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o regex101.client.o regex101.client.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o regex101.import.o regex101.import.cc In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]', inlined from 'attr_line_t& attr_line_t::with_attr_for_all(const string_attr_pair&)' at ./base/attr_line.hh:568:36, inlined from 'void rl_callback_int(readline_curses*, bool)' at readline_callbacks.cc:618:60: @@ -6683,35 +6755,6 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from regex101.client.cc:32: -curl_looper.hh: In member function 'virtual long int curl_request::complete(CURLcode)': -curl_looper.hh:137:30: warning: 'CURLINFO_SIZE_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations] - 137 | this->cr_handle, CURLINFO_SIZE_DOWNLOAD, &download_size); - | ^~~~~~~~~~~~~~~~~~~~~~ -/usr/include/arm-linux-gnueabihf/curl/curl.h:2841:3: note: declared here - 2841 | CURLINFO_SIZE_DOWNLOAD - | ^~~~~~~~~~~~~~~~~~~~~~ -curl_looper.hh:140:30: warning: 'CURLINFO_SPEED_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SPEED_DOWNLOAD_T [-Wdeprecated-declarations] - 140 | this->cr_handle, CURLINFO_SPEED_DOWNLOAD, &download_speed); - | ^~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/arm-linux-gnueabihf/curl/curl.h:2845:3: note: declared here - 2845 | CURLINFO_SPEED_DOWNLOAD - | ^~~~~~~~~~~~~~~~~~~~~~~ -./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': -./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' -./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -logfile.hh:434:51: required from here -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] -In file included from yajlpp/yajlpp.hh:56, - from yajlpp/yajlpp_def.hh:42, - from regex101.client.cc:37: -./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o regex101.import.o regex101.import.cc In file included from highlighter.hh:39, from log_format.hh:55, from log_format_ext.hh:37, @@ -6732,6 +6775,7 @@ yajlpp/yajlpp_def.hh:1248:5: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 1248 | json_path_container(std::initializer_list children) | ^~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o regexp_vtab.o regexp_vtab.cc regex101.client.cc: In function 'void __static_initialization_and_destruction_0(int, int)': regex101.client.cc:49:34: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 49 | static const json_path_container UNIT_TEST_HANDLERS = { @@ -6756,6 +6800,13 @@ yajlpp/yajlpp_def.hh:1328:39: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 1328 | : json_path_container(children) | ^ +In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, + from column_namer.hh:39, + from regexp_vtab.cc:35: +./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ In file included from /usr/include/c++/12/vector:70, from regex101.client.hh:34, from regex101.client.cc:30: @@ -6831,6 +6882,11 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from regexp_vtab.cc:38: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -6839,18 +6895,25 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +regexp_vtab.cc: In function 'int rcjFilter(sqlite3_vtab_cursor*, int, const char*, int, sqlite3_value**)': +regexp_vtab.cc:524:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] + 524 | for (int lpc = 1; lpc <= pCur->c_pattern->get_capture_count(); lpc++) { + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readline_possibilities.cc: In function 'void add_filter_expr_possibilities(readline_curses*, int, const std::string&)': readline_possibilities.cc:260:30: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 260 | lf->read_full_message(ll, values.lvv_sbr); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o regexp_vtab.o regexp_vtab.cc -In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from column_namer.hh:39, - from regexp_vtab.cc:35: -./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o relative_time.o relative_time.cc +In file included from relative_time.cc:36: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +In file included from regexp_vtab.cc:44: +yajlpp/yajlpp_def.hh: In constructor 'json_path_container::json_path_container(std::initializer_list)': +yajlpp/yajlpp_def.hh:1248:5: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 + 1248 | json_path_container(std::initializer_list children) + | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/vector:63, from base/lnav.console.hh:34, from regex101.import.hh:35: @@ -6878,6 +6941,21 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In constructor 'typed_json_path_container::typed_json_path_container(std::initializer_list) [with T = regexp_capture_flags]', + inlined from 'void __static_initialization_and_destruction_0(int, int)' at regexp_vtab.cc:279:5: +yajlpp/yajlpp_def.hh:1328:39: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 + 1328 | : json_path_container(children) + | ^ +relative_time.cc: In member function 'int64_t relative_time::to_microseconds() const': +relative_time.cc:1107:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] + 1107 | memset(&etm, 0, sizeof(etm)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +In file included from ptimec.hh:49, + from relative_time.hh:45, + from relative_time.cc:32: +base/time_util.hh:106:8: note: 'struct exttm' declared here + 106 | struct exttm { + | ^~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -6953,42 +7031,6 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from regexp_vtab.cc:38: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -regexp_vtab.cc: In function 'int rcjFilter(sqlite3_vtab_cursor*, int, const char*, int, sqlite3_value**)': -regexp_vtab.cc:524:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] - 524 | for (int lpc = 1; lpc <= pCur->c_pattern->get_capture_count(); lpc++) { - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o relative_time.o relative_time.cc -In file included from relative_time.cc:36: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o session.export.o session.export.cc -relative_time.cc: In member function 'int64_t relative_time::to_microseconds() const': -relative_time.cc:1107:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] - 1107 | memset(&etm, 0, sizeof(etm)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -In file included from ptimec.hh:49, - from relative_time.hh:45, - from relative_time.cc:32: -base/time_util.hh:106:8: note: 'struct exttm' declared here - 106 | struct exttm { - | ^~~~~ -In file included from regexp_vtab.cc:44: -yajlpp/yajlpp_def.hh: In constructor 'json_path_container::json_path_container(std::initializer_list)': -yajlpp/yajlpp_def.hh:1248:5: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 - 1248 | json_path_container(std::initializer_list children) - | ^~~~~~~~~~~~~~~~~~~ -In constructor 'typed_json_path_container::typed_json_path_container(std::initializer_list) [with T = regexp_capture_flags]', - inlined from 'void __static_initialization_and_destruction_0(int, int)' at regexp_vtab.cc:279:5: -yajlpp/yajlpp_def.hh:1328:39: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 - 1328 | : json_path_container(children) - | ^ In file included from /usr/include/c++/12/vector:63, from column_namer.hh:37: /usr/include/c++/12/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]': @@ -7054,14 +7096,6 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from grep_proc.hh:49, - from bottom_status_source.hh:35, - from lnav.hh:49, - from session.export.cc:34: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -7074,6 +7108,18 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o session.export.o session.export.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o session_data.o session_data.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o shared_buffer.o shared_buffer.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o shlex.o shlex.cc +In file included from grep_proc.hh:49, + from bottom_status_source.hh:35, + from lnav.hh:49, + from session.export.cc:34: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, from db_sub_source.hh:39, from lnav.hh:53: @@ -7081,8 +7127,6 @@ ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o session_data.o session_data.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o shared_buffer.o shared_buffer.cc In file included from yajlpp/yajlpp.hh:56, from yajlpp/yajlpp_def.hh:42, from lnav.events.hh:35, @@ -7091,13 +7135,8 @@ ./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': -./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' -./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -logfile.hh:434:51: required from here -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o spectro_impls.o spectro_impls.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o spectro_source.o spectro_source.cc In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, from db_sub_source.hh:39, from lnav.hh:53, @@ -7106,8 +7145,6 @@ ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o shlex.o shlex.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o spectro_impls.o spectro_impls.cc In file included from highlighter.hh:39, from log_format.hh:55, from spectro_impls.hh:33, @@ -7116,6 +7153,117 @@ pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +In file included from yajlpp/yajlpp.hh:56, + from styling.hh:42, + from view_curses.hh:70, + from statusview_curses.hh:38, + from spectro_source.hh:41, + from spectro_source.cc:32: +./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': +./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' +./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +logfile.hh:434:51: required from here +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] +In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, + from log_format_fwd.hh:39, + from log_format.hh:57: +./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ +spectro_source.cc: In member function 'virtual bool spectrogram_source::list_value_for_overlay(const listview_curses&, int, int, vis_line_t, attr_line_t&)': +spectro_source.cc:231:35: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'long unsigned int' [-Wsign-compare] + 231 | if (desc.length() + 8 > width) { + | ~~~~~~~~~~~~~~~~~~^~~~~~~ +In file included from spectro_source.cc:34: +base/ansi_scrubber.hh:41:30: warning: format '%d' expects argument of type 'int', but argument 4 has type 'role_t' [-Wformat=] + 41 | #define ANSI_CSI "\x1b[" +base/ansi_scrubber.hh:53:31: note: in expansion of macro 'ANSI_CSI' + 53 | #define ANSI_ROLE(msg) ANSI_CSI "%dO" msg ANSI_NORM + | ^~~~~~~~ +spectro_source.cc:295:14: note: in expansion of macro 'ANSI_ROLE' + 295 | ANSI_ROLE(" ") " 1-%'d " ANSI_ROLE(" ") " %'d-%'d " ANSI_ROLE( + | ^~~~~~~~~ +base/ansi_scrubber.hh:53:42: note: format string is defined here + 53 | #define ANSI_ROLE(msg) ANSI_CSI "%dO" msg ANSI_NORM + | ~^ + | | + | int +base/ansi_scrubber.hh:41:30: warning: format '%d' expects argument of type 'int', but argument 6 has type 'role_t' [-Wformat=] + 41 | #define ANSI_CSI "\x1b[" +base/ansi_scrubber.hh:53:31: note: in expansion of macro 'ANSI_CSI' + 53 | #define ANSI_ROLE(msg) ANSI_CSI "%dO" msg ANSI_NORM + | ^~~~~~~~ +spectro_source.cc:295:14: note: in expansion of macro 'ANSI_ROLE' + 295 | ANSI_ROLE(" ") " 1-%'d " ANSI_ROLE(" ") " %'d-%'d " ANSI_ROLE( + | ^~~~~~~~~ +base/ansi_scrubber.hh:53:42: note: format string is defined here + 53 | #define ANSI_ROLE(msg) ANSI_CSI "%dO" msg ANSI_NORM + | ~^ + | | + | int +base/ansi_scrubber.hh:41:30: warning: format '%d' expects argument of type 'int', but argument 9 has type 'role_t' [-Wformat=] + 41 | #define ANSI_CSI "\x1b[" +base/ansi_scrubber.hh:53:31: note: in expansion of macro 'ANSI_CSI' + 53 | #define ANSI_ROLE(msg) ANSI_CSI "%dO" msg ANSI_NORM + | ^~~~~~~~ +spectro_source.cc:295:14: note: in expansion of macro 'ANSI_ROLE' + 295 | ANSI_ROLE(" ") " 1-%'d " ANSI_ROLE(" ") " %'d-%'d " ANSI_ROLE( + | ^~~~~~~~~ +base/ansi_scrubber.hh:53:42: note: format string is defined here + 53 | #define ANSI_ROLE(msg) ANSI_CSI "%dO" msg ANSI_NORM + | ~^ + | | + | int +./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': +./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' +./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +logfile.hh:434:51: required from here +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] +In file included from /usr/include/c++/12/vector:70, + from spectro_source.hh:36: +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const string_attr&}; _Tp = string_attr; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 439 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range&, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range&, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 439 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/vector:64: +In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = string_attr; _Alloc = std::allocator]', + inlined from 'attr_line_t& attr_line_t::with_attr(const string_attr&)' at base/attr_line.hh:450:33, + inlined from 'virtual bool spectrogram_source::list_value_for_overlay(const listview_curses&, int, int, vis_line_t, attr_line_t&)' at spectro_source.cc:322:24: +/usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1287 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sqlitepp.o sqlitepp.cc +./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': +./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' +./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +logfile.hh:434:51: required from here +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sqlite-extension-func.o sqlite-extension-func.cc In file included from /usr/include/c++/12/vector:63, from base/lnav.console.hh:34, from session.export.hh:33, @@ -7125,13 +7273,6 @@ 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last, | ^~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': -./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' -./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -logfile.hh:434:51: required from here -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -7198,86 +7339,6 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from log_format_fwd.hh:39, - from log_format.hh:57: -./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o spectro_source.o spectro_source.cc -./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': -./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' -./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -logfile.hh:434:51: required from here -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] -In file included from /usr/include/c++/12/algorithm:60, - from session_data.cc:32: -/usr/include/c++/12/bits/stl_algobase.h: In function '_ForwardIterator std::__lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = timeval; _Compare = __gnu_cxx::__ops::_Iter_less_val]': -/usr/include/c++/12/bits/stl_algobase.h:1450:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1450 | __lower_bound(_ForwardIterator __first, _ForwardIterator __last, - | ^~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_algobase.h:1450:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -In file included from yajlpp/yajlpp.hh:56, - from styling.hh:42, - from view_curses.hh:70, - from statusview_curses.hh:38, - from spectro_source.hh:41, - from spectro_source.cc:32: -./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -spectro_source.cc: In member function 'virtual bool spectrogram_source::list_value_for_overlay(const listview_curses&, int, int, vis_line_t, attr_line_t&)': -spectro_source.cc:231:35: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'long unsigned int' [-Wsign-compare] - 231 | if (desc.length() + 8 > width) { - | ~~~~~~~~~~~~~~~~~~^~~~~~~ -In file included from spectro_source.cc:34: -base/ansi_scrubber.hh:41:30: warning: format '%d' expects argument of type 'int', but argument 4 has type 'role_t' [-Wformat=] - 41 | #define ANSI_CSI "\x1b[" -base/ansi_scrubber.hh:53:31: note: in expansion of macro 'ANSI_CSI' - 53 | #define ANSI_ROLE(msg) ANSI_CSI "%dO" msg ANSI_NORM - | ^~~~~~~~ -spectro_source.cc:295:14: note: in expansion of macro 'ANSI_ROLE' - 295 | ANSI_ROLE(" ") " 1-%'d " ANSI_ROLE(" ") " %'d-%'d " ANSI_ROLE( - | ^~~~~~~~~ -base/ansi_scrubber.hh:53:42: note: format string is defined here - 53 | #define ANSI_ROLE(msg) ANSI_CSI "%dO" msg ANSI_NORM - | ~^ - | | - | int -base/ansi_scrubber.hh:41:30: warning: format '%d' expects argument of type 'int', but argument 6 has type 'role_t' [-Wformat=] - 41 | #define ANSI_CSI "\x1b[" -base/ansi_scrubber.hh:53:31: note: in expansion of macro 'ANSI_CSI' - 53 | #define ANSI_ROLE(msg) ANSI_CSI "%dO" msg ANSI_NORM - | ^~~~~~~~ -spectro_source.cc:295:14: note: in expansion of macro 'ANSI_ROLE' - 295 | ANSI_ROLE(" ") " 1-%'d " ANSI_ROLE(" ") " %'d-%'d " ANSI_ROLE( - | ^~~~~~~~~ -base/ansi_scrubber.hh:53:42: note: format string is defined here - 53 | #define ANSI_ROLE(msg) ANSI_CSI "%dO" msg ANSI_NORM - | ~^ - | | - | int -base/ansi_scrubber.hh:41:30: warning: format '%d' expects argument of type 'int', but argument 9 has type 'role_t' [-Wformat=] - 41 | #define ANSI_CSI "\x1b[" -base/ansi_scrubber.hh:53:31: note: in expansion of macro 'ANSI_CSI' - 53 | #define ANSI_ROLE(msg) ANSI_CSI "%dO" msg ANSI_NORM - | ^~~~~~~~ -spectro_source.cc:295:14: note: in expansion of macro 'ANSI_ROLE' - 295 | ANSI_ROLE(" ") " 1-%'d " ANSI_ROLE(" ") " %'d-%'d " ANSI_ROLE( - | ^~~~~~~~~ -base/ansi_scrubber.hh:53:42: note: format string is defined here - 53 | #define ANSI_ROLE(msg) ANSI_CSI "%dO" msg ANSI_NORM - | ~^ - | | - | int -yajlpp/yajlpp_def.hh: In constructor 'json_path_container::json_path_container(std::initializer_list)': -yajlpp/yajlpp_def.hh:1248:5: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 - 1248 | json_path_container(std::initializer_list children) - | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/list:60, from log_format.hh:40: /usr/include/c++/12/bits/stl_algobase.h: In function '_RandomAccessIterator std::__find_if(_RandomAccessIterator, _RandomAccessIterator, _Predicate, random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_pred]': @@ -7315,6 +7376,13 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2113 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/algorithm:60, + from session_data.cc:32: +/usr/include/c++/12/bits/stl_algobase.h: In function '_ForwardIterator std::__lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = timeval; _Compare = __gnu_cxx::__ops::_Iter_less_val]': +/usr/include/c++/12/bits/stl_algobase.h:1450:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1450 | __lower_bound(_ForwardIterator __first, _ForwardIterator __last, + | ^~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_algobase.h:1450:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 spectro_impls.cc: In member function 'virtual void log_spectro_value_source::spectro_mark(textview_curses&, time_t, time_t, double, double)': spectro_impls.cc:303:30: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 303 | lf->read_full_message(ll, values.lvv_sbr); @@ -7442,6 +7510,20 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o static_file_vtab.o static_file_vtab.cc +yajlpp/yajlpp_def.hh: In constructor 'json_path_container::json_path_container(std::initializer_list)': +yajlpp/yajlpp_def.hh:1248:5: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 + 1248 | json_path_container(std::initializer_list children) + | ^~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o statusview_curses.o statusview_curses.cc +In file included from grep_proc.hh:49, + from bottom_status_source.hh:35, + from lnav.hh:49, + from static_file_vtab.cc:43: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/vector:70, from session_data.hh:38, from session_data.cc:35: @@ -7449,41 +7531,28 @@ /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector, std::allocator > >::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/vector:70, - from spectro_source.hh:36: -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const string_attr&}; _Tp = string_attr; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 439 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range&, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range&, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 439 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/vector:64: -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = string_attr; _Alloc = std::allocator]', - inlined from 'attr_line_t& attr_line_t::with_attr(const string_attr&)' at base/attr_line.hh:450:33, - inlined from 'virtual bool spectrogram_source::list_value_for_overlay(const listview_curses&, int, int, vis_line_t, attr_line_t&)' at spectro_source.cc:322:24: -/usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1287 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sqlitepp.o sqlitepp.cc +In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, + from db_sub_source.hh:39, + from lnav.hh:53: +./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, const value_type&) [with _Tp = strong_int; _Alloc = std::allocator >]', inlined from 'bookmark_vector::iterator bookmark_vector::insert_once(LineType) [with LineType = strong_int]' at bookmarks.hh:95:25, inlined from 'void logfile_sub_source::set_user_mark(const bookmark_type_t*, content_line_t)' at logfile_sub_source.hh:470:45: /usr/include/c++/12/bits/vector.tcc:164:26: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 164 | _M_realloc_insert(begin() + (__position - cbegin()), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sqlite-extension-func.o sqlite-extension-func.cc +In file included from yajlpp/yajlpp.hh:56, + from styling.hh:42, + from view_curses.hh:70, + from statusview_curses.hh:38, + from statusview_curses.cc:35: +./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ session_data.cc: In function 'void __static_initialization_and_destruction_0(int, int)': session_data.cc:865:41: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 865 | static const struct json_path_container view_def_handlers = { @@ -7500,52 +7569,6 @@ session_data.cc:894:41: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 894 | static const struct json_path_container view_info_handlers = { | ^~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o static_file_vtab.o static_file_vtab.cc -In file included from grep_proc.hh:49, - from bottom_status_source.hh:35, - from lnav.hh:49, - from static_file_vtab.cc:43: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from db_sub_source.hh:39, - from lnav.hh:53: -./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ -In file included from /usr/include/c++/12/vector:64: -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = strong_int; _Alloc = std::allocator >]', - inlined from 'void save_user_bookmarks(sqlite3*, sqlite3_stmt*, bookmark_vector >&)' at session_data.cc:1064:39: -/usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 - 1287 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In function '_ForwardIterator std::lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = timeval]', - inlined from 'void load_time_bookmarks()' at session_data.cc:519:38: -/usr/include/c++/12/bits/stl_algobase.h:1498:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1498 | return std::__lower_bound(__first, __last, __val, - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ - 1499 | __gnu_cxx::__ops::__iter_less_val()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = strong_int; _Alloc = std::allocator >]', - inlined from 'void load_time_bookmarks()' at session_data.cc:596:63: -/usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 - 1287 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -In function '_ForwardIterator std::lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = timeval]', - inlined from 'void load_time_bookmarks()' at session_data.cc:709:38: -/usr/include/c++/12/bits/stl_algobase.h:1498:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1498 | return std::__lower_bound(__first, __last, __val, - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ - 1499 | __gnu_cxx::__ops::__iter_less_val()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = strong_int; _Alloc = std::allocator >]', - inlined from 'void load_time_bookmarks()' at session_data.cc:726:59: -/usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 - 1287 | _M_realloc_insert(end(), __x); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': ./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' ./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' @@ -7553,83 +7576,6 @@ ./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' logfile.hh:434:51: required from here ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o statusview_curses.o statusview_curses.cc -In file included from yajlpp/yajlpp.hh:56, - from styling.hh:42, - from view_curses.hh:70, - from statusview_curses.hh:38, - from statusview_curses.cc:35: -./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/vector:63, - from base/fs_util.hh:34, - from static_file_vtab.cc:38: -/usr/include/c++/12/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]': -/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last, - | ^~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o string-extension-functions.o string-extension-functions.cc -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, - inlined from 'lnav::console::snippet::snippet(const lnav::console::snippet&)' at base/lnav.console.hh:44:8, - inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = lnav::console::snippet; _Args = {const lnav::console::snippet&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, - inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, - inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = lnav::console::snippet; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, - inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = attr_line_t; _Args = {const attr_line_t&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, - inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, - inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; _Tp = attr_line_t]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = attr_line_t; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/vector:70, from statusview_curses.cc:33: /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range&, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': @@ -7640,18 +7586,7 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1617:35, - inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:232:44, - inlined from 'attr_line_t& attr_line_t::operator=(const attr_line_t&)' at base/attr_line.hh:413:7, - inlined from 'lnav::console::user_message& lnav::console::user_message::with_reason(const attr_line_t&)' at base/lnav.console.hh:94:27, - inlined from 'int sfvt_column(sqlite3_vtab_cursor*, sqlite3_context*, int)' at static_file_vtab.cc:244:43: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o styling.o styling.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o string-extension-functions.o string-extension-functions.cc In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, from column_namer.hh:39, from string-extension-functions.cc:23: @@ -7666,14 +7601,7 @@ pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o text_anonymizer.o text_anonymizer.cc -In file included from yajlpp/yajlpp.hh:56, - from styling.hh:42, - from styling.cc:32: -./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o styling.o styling.cc string-extension-functions.cc: In function 'cache_entry* find_re(string_fragment)': string-extension-functions.cc:79:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 79 | for (int lpc = 0; lpc < c.re2->get_capture_count(); lpc++) { @@ -7682,12 +7610,19 @@ string-extension-functions.cc:144:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 144 | for (int lpc = 0; lpc < extractor.get_capture_count(); lpc++) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from data_scanner.hh:35, - from text_anonymizer.cc:37: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] +In file included from yajlpp/yajlpp.hh:56, + from styling.hh:42, + from styling.cc:32: +./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/vector:64: +In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = strong_int; _Alloc = std::allocator >]', + inlined from 'void save_user_bookmarks(sqlite3*, sqlite3_stmt*, bookmark_vector >&)' at session_data.cc:1064:39: +/usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 + 1287 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from string-extension-functions.cc:38: vtab_module.hh: In instantiation of 'static void sqlite_func_adapter::func1(sqlite3_context*, int, sqlite3_value**) [with Return = bool; Args = {string_fragment, string_fragment}; Return (* f)(Args ...) = regexp; sqlite3_context = sqlite3_context; sqlite3_value = sqlite3_value]': vtab_module.hh:498:9: required from 'static FuncDef sqlite_func_adapter::builder(help_text) [with Return = bool; Args = {string_fragment, string_fragment}; Return (* f)(Args ...) = regexp]' @@ -8301,11 +8236,112 @@ | ~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int +In function '_ForwardIterator std::lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = timeval]', + inlined from 'void load_time_bookmarks()' at session_data.cc:519:38: +/usr/include/c++/12/bits/stl_algobase.h:1498:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1498 | return std::__lower_bound(__first, __last, __val, + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ + 1499 | __gnu_cxx::__ops::__iter_less_val()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = strong_int; _Alloc = std::allocator >]', + inlined from 'void load_time_bookmarks()' at session_data.cc:596:63: +/usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 + 1287 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +In function '_ForwardIterator std::lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = timeval]', + inlined from 'void load_time_bookmarks()' at session_data.cc:709:38: +/usr/include/c++/12/bits/stl_algobase.h:1498:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1498 | return std::__lower_bound(__first, __last, __val, + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ + 1499 | __gnu_cxx::__ops::__iter_less_val()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = strong_int; _Alloc = std::allocator >]', + inlined from 'void load_time_bookmarks()' at session_data.cc:726:59: +/usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 + 1287 | _M_realloc_insert(end(), __x); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from styling.cc:39: yajlpp/yajlpp_def.hh: In constructor 'json_path_container::json_path_container(std::initializer_list)': yajlpp/yajlpp_def.hh:1248:5: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 1248 | json_path_container(std::initializer_list children) | ^~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/vector:63, + from base/fs_util.hh:34, + from static_file_vtab.cc:38: +/usr/include/c++/12/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]': +/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last, + | ^~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'lnav::console::snippet::snippet(const lnav::console::snippet&)' at base/lnav.console.hh:44:8, + inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = lnav::console::snippet; _Args = {const lnav::console::snippet&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, + inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, + inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = lnav::console::snippet; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = attr_line_t; _Args = {const attr_line_t&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, + inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, + inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; _Tp = attr_line_t]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = attr_line_t; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1617:35, + inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:232:44, + inlined from 'attr_line_t& attr_line_t::operator=(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'lnav::console::user_message& lnav::console::user_message::with_reason(const attr_line_t&)' at base/lnav.console.hh:94:27, + inlined from 'int sfvt_column(sqlite3_vtab_cursor*, sqlite3_context*, int)' at static_file_vtab.cc:244:43: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ styling.cc: In function 'void __static_initialization_and_destruction_0(int, int)': styling.cc:41:41: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 41 | static const struct json_path_container term_color_rgb_handler = { @@ -8316,28 +8352,14 @@ styling.cc:56:41: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 56 | static const struct json_path_container root_color_handler = { | ^~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o text_anonymizer.o text_anonymizer.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o text_format.o text_format.cc -In file included from text_format.cc:35: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o textfile_sub_source.o textfile_sub_source.cc In file included from string-extension-functions.cc:43: yajlpp/yajlpp_def.hh: In constructor 'json_path_container::json_path_container(std::initializer_list)': yajlpp/yajlpp_def.hh:1248:5: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 1248 | json_path_container(std::initializer_list children) | ^~~~~~~~~~~~~~~~~~~ -In file included from text_anonymizer.cc:43: -yajlpp/yajlpp_def.hh: In constructor 'json_path_container::json_path_container(std::initializer_list)': -yajlpp/yajlpp_def.hh:1248:5: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 - 1248 | json_path_container(std::initializer_list children) - | ^~~~~~~~~~~~~~~~~~~ -In constructor 'typed_json_path_container::typed_json_path_container(std::initializer_list) [with T = lnav::random_list]', - inlined from 'void __static_initialization_and_destruction_0(int, int)' at text_anonymizer.cc:63:53: -yajlpp/yajlpp_def.hh:1328:39: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 - 1328 | : json_path_container(children) - | ^ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o textfile_sub_source.o textfile_sub_source.cc In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, from logfile.hh:47, from filter_observer.hh:35, @@ -8347,36 +8369,24 @@ ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ -In file included from /usr/include/c++/12/vector:70, - from base/intern_string.hh:37, - from base/file_range.hh:35, - from base/humanize.hh:37, - from string-extension-functions.cc:20: -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 439 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]', - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = double; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1294:21, - inlined from 'void sparkline_step(sqlite3_context*, int, sqlite3_value**)' at string-extension-functions.cc:348:28: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from data_scanner.hh:35, + from text_anonymizer.cc:37: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +In file included from text_format.cc:35: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from log_format_fwd.hh:44, from logfile.hh:54: pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -string-extension-functions.cc: In function 'void __static_initialization_and_destruction_0(int, int)': -string-extension-functions.cc:790:34: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 - 790 | static const json_path_container url_params_handlers = { - | ^~~~~~~~~~~~~~~~~~~ -In constructor 'typed_json_path_container::typed_json_path_container(std::initializer_list) [with T = url_parts]', - inlined from 'void __static_initialization_and_destruction_0(int, int)' at string-extension-functions.cc:795:51: -yajlpp/yajlpp_def.hh:1328:39: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 - 1328 | : json_path_container(children) - | ^ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o timer.o timer.cc textfile_sub_source.cc: In member function 'virtual void textfile_sub_source::text_value_for_line(textview_curses&, int, std::string&, text_sub_source::line_flags_t)': textfile_sub_source.cc:75:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | if (line < 0 || line >= lfo->lfo_filter_state.tfs_index.size()) { @@ -8397,6 +8407,31 @@ textfile_sub_source.cc:820:12: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 820 | if (vl >= lfo->lfo_filter_state.tfs_index.size()) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o piper_proc.o piper_proc.cc +In file included from /usr/include/c++/12/vector:70, + from base/intern_string.hh:37, + from base/file_range.hh:35, + from base/humanize.hh:37, + from string-extension-functions.cc:20: +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 439 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator]', + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = double; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1294:21, + inlined from 'void sparkline_step(sqlite3_context*, int, sqlite3_value**)' at string-extension-functions.cc:348:28: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +string-extension-functions.cc: In function 'void __static_initialization_and_destruction_0(int, int)': +string-extension-functions.cc:790:34: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 + 790 | static const json_path_container url_params_handlers = { + | ^~~~~~~~~~~~~~~~~~~ +In constructor 'typed_json_path_container::typed_json_path_container(std::initializer_list) [with T = url_parts]', + inlined from 'void __static_initialization_and_destruction_0(int, int)' at string-extension-functions.cc:795:51: +yajlpp/yajlpp_def.hh:1328:39: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 + 1328 | : json_path_container(children) + | ^ ./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': ./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' ./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' @@ -8406,13 +8441,27 @@ ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sql_commands.o sql_commands.cc +In file included from text_anonymizer.cc:43: +yajlpp/yajlpp_def.hh: In constructor 'json_path_container::json_path_container(std::initializer_list)': +yajlpp/yajlpp_def.hh:1248:5: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 + 1248 | json_path_container(std::initializer_list children) + | ^~~~~~~~~~~~~~~~~~~ +In constructor 'typed_json_path_container::typed_json_path_container(std::initializer_list) [with T = lnav::random_list]', + inlined from 'void __static_initialization_and_destruction_0(int, int)' at text_anonymizer.cc:63:53: +yajlpp/yajlpp_def.hh:1328:39: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 + 1328 | : json_path_container(children) + | ^ +textfile_sub_source.cc: In member function 'virtual void textfile_sub_source::text_filters_changed()': +textfile_sub_source.cc:232:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 232 | lf->reobserve_from(lf->begin() + lfo->get_min_count(lf->size())); + | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/vector:63: /usr/include/c++/12/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]': /usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last, | ^~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o timer.o timer.cc In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -8480,12 +8529,6 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o piper_proc.o piper_proc.cc -textfile_sub_source.cc: In member function 'virtual void textfile_sub_source::text_filters_changed()': -textfile_sub_source.cc:232:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 232 | lf->reobserve_from(lf->begin() + lfo->get_min_count(lf->size())); - | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sql_commands.o sql_commands.cc In file included from /usr/include/c++/12/vector:70, from logfile.hh:39: /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range&, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': @@ -8534,7 +8577,6 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sql_util.o sql_util.cc In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -8561,11 +8603,36 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sql_util.o sql_util.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o state-extension-functions.o state-extension-functions.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sysclip.o sysclip.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o textfile_highlighters.o textfile_highlighters.cc +sysclip.cc: In function 'int sysclip::osc52_close(FILE*)': +sysclip.cc:75:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 75 | write(STDOUT_FILENO, ANSI_OSC_COPY_TO_CLIP, strlen(ANSI_OSC_COPY_TO_CLIP)); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sysclip.cc:91:18: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 91 | write(STDOUT_FILENO, out_buffer, outlen); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sysclip.cc:96:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 96 | write(STDOUT_FILENO, out_buffer, outlen); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sysclip.cc:99:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 99 | write(STDOUT_FILENO, "\a", 1); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from sql_util.cc:50: pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +In file included from grep_proc.hh:49, + from bottom_status_source.hh:35, + from lnav.hh:49, + from state-extension-functions.cc:38: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from sql_util.hh:44, from sql_util.cc:36: base/intern_string.hh: In instantiation of 'string_fragment string_fragment::find_left_boundary(size_t, P&&) const [with P = tag1&; size_t = unsigned int]': @@ -8574,15 +8641,15 @@ base/intern_string.hh:314:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 314 | if (start > 0 && start == this->length()) { | ~~~~~~^~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o state-extension-functions.o state-extension-functions.cc -In file included from grep_proc.hh:49, - from bottom_status_source.hh:35, - from lnav.hh:49, - from state-extension-functions.cc:38: +In file included from highlighter.hh:39, + from textview_curses_fwd.hh:36, + from textfile_highlighters.hh:33, + from textfile_highlighters.cc:32: pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o textview_curses.o textview_curses.cc In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, from db_sub_source.hh:39, from lnav.hh:53: @@ -8590,20 +8657,13 @@ ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sysclip.o sysclip.cc -In file included from /usr/include/c++/12/algorithm:61, - from sql_util.cc:32: -/usr/include/c++/12/bits/stl_algo.h: In function '_ForwardIterator std::__upper_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Compare = __gnu_cxx::__ops::_Val_less_iter]': -/usr/include/c++/12/bits/stl_algo.h:2011:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 2011 | __upper_bound(_ForwardIterator __first, _ForwardIterator __last, - | ^~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_algo.h:2011:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -In file included from /usr/include/c++/12/algorithm:60: -/usr/include/c++/12/bits/stl_algobase.h: In function '_ForwardIterator std::__lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Compare = __gnu_cxx::__ops::_Iter_less_val]': -/usr/include/c++/12/bits/stl_algobase.h:1450:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 1450 | __lower_bound(_ForwardIterator __first, _ForwardIterator __last, - | ^~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_algobase.h:1450:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +In file included from grep_proc.hh:49, + from textview_curses.hh:42, + from textview_curses.cc:33: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from state-extension-functions.cc:41: vtab_module.hh: In instantiation of 'static void sqlite_func_adapter::func1(sqlite3_context*, int, sqlite3_value**) [with Return = nonstd::optional_lite::optional; Args = {}; Return (* f)(Args ...) = sql_log_top_line; sqlite3_context = sqlite3_context; sqlite3_value = sqlite3_value]': vtab_module.hh:498:9: required from 'static FuncDef sqlite_func_adapter::builder(help_text) [with Return = nonstd::optional_lite::optional; Args = {}; Return (* f)(Args ...) = sql_log_top_line]' @@ -8821,19 +8881,14 @@ | ~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int -sysclip.cc: In function 'int sysclip::osc52_close(FILE*)': -sysclip.cc:75:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 75 | write(STDOUT_FILENO, ANSI_OSC_COPY_TO_CLIP, strlen(ANSI_OSC_COPY_TO_CLIP)); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sysclip.cc:91:18: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 91 | write(STDOUT_FILENO, out_buffer, outlen); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sysclip.cc:96:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 96 | write(STDOUT_FILENO, out_buffer, outlen); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sysclip.cc:99:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 99 | write(STDOUT_FILENO, "\a", 1); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, + from log_format_fwd.hh:39, + from log_format.hh:57, + from textview_curses.cc:42: +./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ ./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': ./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' ./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' @@ -8843,20 +8898,223 @@ ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o textfile_highlighters.o textfile_highlighters.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o time-extension-functions.o time-extension-functions.cc +./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': +./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' +./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +logfile.hh:434:51: required from here +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] +In file included from /usr/include/c++/12/algorithm:61, + from sql_util.cc:32: +/usr/include/c++/12/bits/stl_algo.h: In function '_ForwardIterator std::__upper_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Compare = __gnu_cxx::__ops::_Val_less_iter]': +/usr/include/c++/12/bits/stl_algo.h:2011:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 2011 | __upper_bound(_ForwardIterator __first, _ForwardIterator __last, + | ^~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_algo.h:2011:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +In file included from /usr/include/c++/12/algorithm:60: +/usr/include/c++/12/bits/stl_algobase.h: In function '_ForwardIterator std::__lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Compare = __gnu_cxx::__ops::_Iter_less_val]': +/usr/include/c++/12/bits/stl_algobase.h:1450:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 1450 | __lower_bound(_ForwardIterator __first, _ForwardIterator __last, + | ^~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_algobase.h:1450:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +In file included from /usr/include/c++/12/memory:66, + from lnav.hh:37: +/usr/include/c++/12/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]': +/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last, + | ^~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +textview_curses.cc: In member function 'virtual bool empty_filter::matches(const logfile&, logfile::const_iterator, shared_buffer_ref&)': +textview_curses.cc:852:1: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 + 852 | empty_filter::matches(const logfile& lf, + | ^~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'lnav::console::snippet::snippet(const lnav::console::snippet&)' at base/lnav.console.hh:44:8, + inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = lnav::console::snippet; _Args = {const lnav::console::snippet&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, + inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, + inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = lnav::console::snippet; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = attr_line_t; _Args = {const attr_line_t&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, + inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, + inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; _Tp = attr_line_t]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = attr_line_t; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1617:35, + inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:232:44, + inlined from 'attr_line_t& attr_line_t::operator=(const attr_line_t&)' at base/attr_line.hh:413:7: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +textview_curses.cc: In member function 'void text_filter::add_line(logfile_filter_state&, logfile::const_iterator, shared_buffer_ref&)': +textview_curses.cc:80:1: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 + 80 | text_filter::add_line(logfile_filter_state& lfs, + | ^~~~~~~~~~~ +In file included from time-extension-functions.cc:43: +vtab_module.hh: In instantiation of 'static void sqlite_func_adapter::func1(sqlite3_context*, int, sqlite3_value**) [with Return = nonstd::optional_lite::optional; Args = {sqlite3_value*, nonstd::optional_lite::optional}; Return (* f)(Args ...) = timeslice; sqlite3_context = sqlite3_context; sqlite3_value = sqlite3_value]': +vtab_module.hh:498:9: required from 'static FuncDef sqlite_func_adapter::builder(help_text) [with Return = nonstd::optional_lite::optional; Args = {sqlite3_value*, nonstd::optional_lite::optional}; Return (* f)(Args ...) = timeslice]' +time-extension-functions.cc:194:70: required from here +vtab_module.hh:459:50: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=] + 459 | "%s() expects exactly %ld argument%s", + | ~~^ + | | + | long int + | %d + 460 | fd->fd_help.ht_name, + 461 | REQ_COUNT, + | ~~~~~~~~~ + | | + | unsigned int +vtab_module.hh:466:50: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=] + 466 | "%s() expects between %ld and %ld arguments", + | ~~^ + | | + | long int + | %d + 467 | fd->fd_help.ht_name, + 468 | REQ_COUNT, + | ~~~~~~~~~ + | | + | unsigned int +vtab_module.hh:466:58: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'unsigned int' [-Wformat=] + 466 | "%s() expects between %ld and %ld arguments", + | ~~^ + | | + | long int + | %d +...... + 469 | REQ_COUNT + OPT_COUNT); + | ~~~~~~~~~~~~~~~~~~~~~ + | | + | unsigned int +vtab_module.hh: In instantiation of 'static void sqlite_func_adapter::func1(sqlite3_context*, int, sqlite3_value**) [with Return = nonstd::optional_lite::optional; Args = {string_fragment, string_fragment}; Return (* f)(Args ...) = sql_timediff; sqlite3_context = sqlite3_context; sqlite3_value = sqlite3_value]': +vtab_module.hh:498:9: required from 'static FuncDef sqlite_func_adapter::builder(help_text) [with Return = nonstd::optional_lite::optional; Args = {string_fragment, string_fragment}; Return (* f)(Args ...) = sql_timediff]' +time-extension-functions.cc:222:76: required from here +vtab_module.hh:459:50: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=] + 459 | "%s() expects exactly %ld argument%s", + | ~~^ + | | + | long int + | %d + 460 | fd->fd_help.ht_name, + 461 | REQ_COUNT, + | ~~~~~~~~~ + | | + | unsigned int +vtab_module.hh:466:50: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=] + 466 | "%s() expects between %ld and %ld arguments", + | ~~^ + | | + | long int + | %d + 467 | fd->fd_help.ht_name, + 468 | REQ_COUNT, + | ~~~~~~~~~ + | | + | unsigned int +vtab_module.hh:466:58: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'unsigned int' [-Wformat=] + 466 | "%s() expects between %ld and %ld arguments", + | ~~^ + | | + | long int + | %d +...... + 469 | REQ_COUNT + OPT_COUNT); + | ~~~~~~~~~~~~~~~~~~~~~ + | | + | unsigned int +vtab_module.hh: In instantiation of 'static void sqlite_func_adapter::func1(sqlite3_context*, int, sqlite3_value**) [with Return = std::__cxx11::basic_string; Args = {double}; Return (* f)(Args ...) = sql_humanize_duration; sqlite3_context = sqlite3_context; sqlite3_value = sqlite3_value]': +vtab_module.hh:498:9: required from 'static FuncDef sqlite_func_adapter::builder(help_text) [with Return = std::__cxx11::basic_string; Args = {double}; Return (* f)(Args ...) = sql_humanize_duration]' +time-extension-functions.cc:243:20: required from here +vtab_module.hh:459:50: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=] + 459 | "%s() expects exactly %ld argument%s", + | ~~^ + | | + | long int + | %d + 460 | fd->fd_help.ht_name, + 461 | REQ_COUNT, + | ~~~~~~~~~ + | | + | unsigned int +vtab_module.hh:466:50: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=] + 466 | "%s() expects between %ld and %ld arguments", + | ~~^ + | | + | long int + | %d + 467 | fd->fd_help.ht_name, + 468 | REQ_COUNT, + | ~~~~~~~~~ + | | + | unsigned int +vtab_module.hh:466:58: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'unsigned int' [-Wformat=] + 466 | "%s() expects between %ld and %ld arguments", + | ~~^ + | | + | long int + | %d +...... + 469 | REQ_COUNT + OPT_COUNT); + | ~~~~~~~~~~~~~~~~~~~~~ + | | + | unsigned int /usr/include/c++/12/bits/stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/12/bits/stl_algo.h:1802:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1802 | __insertion_sort(_RandomAccessIterator __first, | ^~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_algo.h:1802:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -In file included from highlighter.hh:39, - from textview_curses_fwd.hh:36, - from textfile_highlighters.hh:33, - from textfile_highlighters.cc:32: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_algo.h: In function '_OutputIterator std::__move_merge(_InputIterator, _InputIterator, _InputIterator, _InputIterator, _OutputIterator, _Compare) [with _InputIterator = string_attr*; _OutputIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/12/bits/stl_algo.h:2615:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 2615 | __move_merge(_InputIterator __first1, _InputIterator __last1, @@ -9074,8 +9332,10 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/memory:66, - from lnav.hh:37: +In file included from /usr/include/c++/12/vector:63, + from base/intern_string.hh:37, + from relative_time.hh:43, + from time-extension-functions.cc:41: /usr/include/c++/12/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]': /usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last, @@ -9085,7 +9345,7 @@ inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } @@ -9094,7 +9354,7 @@ inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, inlined from 'lnav::console::snippet::snippet(const lnav::console::snippet&)' at base/lnav.console.hh:44:8, inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = lnav::console::snippet; _Args = {const lnav::console::snippet&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, @@ -9110,7 +9370,7 @@ inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } @@ -9119,7 +9379,7 @@ inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = attr_line_t; _Args = {const attr_line_t&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, @@ -9134,7 +9394,7 @@ inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at base/attr_line.hh:413:7, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } @@ -9142,15 +9402,6 @@ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1617:35, - inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:232:44, - inlined from 'attr_line_t& attr_line_t::operator=(const attr_line_t&)' at base/attr_line.hh:413:7: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: @@ -9206,6 +9457,15 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o top_status_source.o top_status_source.cc +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1617:35, + inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:232:44: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/regex:57: /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 @@ -9227,6 +9487,17 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/vector:70, + from textview_curses.cc:31: +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 439 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]', + inlined from 'void textview_curses::textview_value_for_row(vis_line_t, attr_line_t&)' at textview_curses.cc:551:24: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range&, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]', inlined from 'void annotate_sql_statement(attr_line_t&)' at sql_util.cc:1128:28: /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 @@ -9252,6 +9523,16 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from yajlpp/yajlpp.hh:56, + from styling.hh:42, + from view_curses.hh:70, + from listview_curses.hh:43, + from top_status_source.hh:39, + from top_status_source.cc:30: +./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -9274,7 +9555,6 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o textview_curses.o textview_curses.cc In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -9290,233 +9570,6 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o time-extension-functions.o time-extension-functions.cc -In file included from grep_proc.hh:49, - from textview_curses.hh:42, - from textview_curses.cc:33: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from log_format_fwd.hh:39, - from log_format.hh:57, - from textview_curses.cc:42: -./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ -In file included from time-extension-functions.cc:43: -vtab_module.hh: In instantiation of 'static void sqlite_func_adapter::func1(sqlite3_context*, int, sqlite3_value**) [with Return = nonstd::optional_lite::optional; Args = {sqlite3_value*, nonstd::optional_lite::optional}; Return (* f)(Args ...) = timeslice; sqlite3_context = sqlite3_context; sqlite3_value = sqlite3_value]': -vtab_module.hh:498:9: required from 'static FuncDef sqlite_func_adapter::builder(help_text) [with Return = nonstd::optional_lite::optional; Args = {sqlite3_value*, nonstd::optional_lite::optional}; Return (* f)(Args ...) = timeslice]' -time-extension-functions.cc:194:70: required from here -vtab_module.hh:459:50: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=] - 459 | "%s() expects exactly %ld argument%s", - | ~~^ - | | - | long int - | %d - 460 | fd->fd_help.ht_name, - 461 | REQ_COUNT, - | ~~~~~~~~~ - | | - | unsigned int -vtab_module.hh:466:50: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=] - 466 | "%s() expects between %ld and %ld arguments", - | ~~^ - | | - | long int - | %d - 467 | fd->fd_help.ht_name, - 468 | REQ_COUNT, - | ~~~~~~~~~ - | | - | unsigned int -vtab_module.hh:466:58: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'unsigned int' [-Wformat=] - 466 | "%s() expects between %ld and %ld arguments", - | ~~^ - | | - | long int - | %d -...... - 469 | REQ_COUNT + OPT_COUNT); - | ~~~~~~~~~~~~~~~~~~~~~ - | | - | unsigned int -vtab_module.hh: In instantiation of 'static void sqlite_func_adapter::func1(sqlite3_context*, int, sqlite3_value**) [with Return = nonstd::optional_lite::optional; Args = {string_fragment, string_fragment}; Return (* f)(Args ...) = sql_timediff; sqlite3_context = sqlite3_context; sqlite3_value = sqlite3_value]': -vtab_module.hh:498:9: required from 'static FuncDef sqlite_func_adapter::builder(help_text) [with Return = nonstd::optional_lite::optional; Args = {string_fragment, string_fragment}; Return (* f)(Args ...) = sql_timediff]' -time-extension-functions.cc:222:76: required from here -vtab_module.hh:459:50: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=] - 459 | "%s() expects exactly %ld argument%s", - | ~~^ - | | - | long int - | %d - 460 | fd->fd_help.ht_name, - 461 | REQ_COUNT, - | ~~~~~~~~~ - | | - | unsigned int -vtab_module.hh:466:50: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=] - 466 | "%s() expects between %ld and %ld arguments", - | ~~^ - | | - | long int - | %d - 467 | fd->fd_help.ht_name, - 468 | REQ_COUNT, - | ~~~~~~~~~ - | | - | unsigned int -vtab_module.hh:466:58: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'unsigned int' [-Wformat=] - 466 | "%s() expects between %ld and %ld arguments", - | ~~^ - | | - | long int - | %d -...... - 469 | REQ_COUNT + OPT_COUNT); - | ~~~~~~~~~~~~~~~~~~~~~ - | | - | unsigned int -vtab_module.hh: In instantiation of 'static void sqlite_func_adapter::func1(sqlite3_context*, int, sqlite3_value**) [with Return = std::__cxx11::basic_string; Args = {double}; Return (* f)(Args ...) = sql_humanize_duration; sqlite3_context = sqlite3_context; sqlite3_value = sqlite3_value]': -vtab_module.hh:498:9: required from 'static FuncDef sqlite_func_adapter::builder(help_text) [with Return = std::__cxx11::basic_string; Args = {double}; Return (* f)(Args ...) = sql_humanize_duration]' -time-extension-functions.cc:243:20: required from here -vtab_module.hh:459:50: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=] - 459 | "%s() expects exactly %ld argument%s", - | ~~^ - | | - | long int - | %d - 460 | fd->fd_help.ht_name, - 461 | REQ_COUNT, - | ~~~~~~~~~ - | | - | unsigned int -vtab_module.hh:466:50: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=] - 466 | "%s() expects between %ld and %ld arguments", - | ~~^ - | | - | long int - | %d - 467 | fd->fd_help.ht_name, - 468 | REQ_COUNT, - | ~~~~~~~~~ - | | - | unsigned int -vtab_module.hh:466:58: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'unsigned int' [-Wformat=] - 466 | "%s() expects between %ld and %ld arguments", - | ~~^ - | | - | long int - | %d -...... - 469 | REQ_COUNT + OPT_COUNT); - | ~~~~~~~~~~~~~~~~~~~~~ - | | - | unsigned int -./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': -./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' -./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -logfile.hh:434:51: required from here -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] -In file included from /usr/include/c++/12/vector:63, - from base/intern_string.hh:37, - from relative_time.hh:43, - from time-extension-functions.cc:41: -/usr/include/c++/12/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]': -/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last, - | ^~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, - inlined from 'lnav::console::snippet::snippet(const lnav::console::snippet&)' at base/lnav.console.hh:44:8, - inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = lnav::console::snippet; _Args = {const lnav::console::snippet&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, - inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, - inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = lnav::console::snippet; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, - inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = attr_line_t; _Args = {const attr_line_t&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, - inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, - inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; _Tp = attr_line_t]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = attr_line_t; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1617:35, - inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:232:44: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -textview_curses.cc: In member function 'virtual bool empty_filter::matches(const logfile&, logfile::const_iterator, shared_buffer_ref&)': -textview_curses.cc:852:1: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 - 852 | empty_filter::matches(const logfile& lf, - | ^~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o top_status_source.o top_status_source.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o unique_path.o unique_path.cc -textview_curses.cc: In member function 'void text_filter::add_line(logfile_filter_state&, logfile::const_iterator, shared_buffer_ref&)': -textview_curses.cc:80:1: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 - 80 | text_filter::add_line(logfile_filter_state& lfs, - | ^~~~~~~~~~~ -In file included from yajlpp/yajlpp.hh:56, - from styling.hh:42, - from view_curses.hh:70, - from listview_curses.hh:43, - from top_status_source.hh:39, - from top_status_source.cc:30: -./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, from db_sub_source.hh:39, from lnav.hh:53, @@ -9525,19 +9578,8 @@ ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ -In file included from /usr/include/c++/12/vector:70, - from textview_curses.cc:31: -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 439 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]', - inlined from 'void textview_curses::textview_value_for_row(vis_line_t, attr_line_t&)' at textview_curses.cc:551:24: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o unique_path.o unique_path.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o view_curses.o view_curses.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o view_helpers.o view_helpers.cc ./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': ./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' ./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' @@ -9553,28 +9595,11 @@ ./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o view_helpers.o view_helpers.cc view_curses.cc: In static member function 'static void view_curses::awaiting_user_input()': view_curses.cc:124:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | write(STDOUT_FILENO, OSC_INPUT, sizeof(OSC_INPUT) - 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from grep_proc.hh:49, - from textview_curses.hh:42, - from plain_text_source.hh:39, - from filter_sub_source.hh:34, - from view_helpers.cc:37: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from log_format_fwd.hh:39, - from log_format.hh:57, - from readline_curses.hh:60, - from filter_sub_source.hh:35: -./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ In file included from /usr/include/c++/12/memory:66, from base/injector.hh:36, from top_status_source.hh:37: @@ -9617,7 +9642,24 @@ 1450 | __lower_bound(_ForwardIterator __first, _ForwardIterator __last, | ^~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_algobase.h:1450:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o views_vtab.o views_vtab.cc +In file included from grep_proc.hh:49, + from textview_curses.hh:42, + from plain_text_source.hh:39, + from filter_sub_source.hh:34, + from view_helpers.cc:37: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, + from log_format_fwd.hh:39, + from log_format.hh:57, + from readline_curses.hh:60, + from filter_sub_source.hh:35: +./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ /usr/include/c++/12/bits/stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/12/bits/stl_algo.h:1802:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1802 | __insertion_sort(_RandomAccessIterator __first, @@ -9837,6 +9879,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5002 | _DistanceType(__buf.size()), __comp); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o views_vtab.o views_vtab.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vt52_curses.o vt52_curses.cc ./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': ./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' ./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' @@ -9852,14 +9896,6 @@ pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from db_sub_source.hh:39, - from lnav.hh:53: -./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vt52_curses.o vt52_curses.cc In file included from yajlpp/yajlpp.hh:56, from styling.hh:42, from view_curses.hh:70, @@ -9869,6 +9905,14 @@ ./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vtab_module.o vtab_module.cc +In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, + from db_sub_source.hh:39, + from lnav.hh:53: +./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ view_helpers.cc: In member function 'virtual void hist_index_delegate::index_line(logfile_sub_source&, logfile*, logfile::iterator)': view_helpers.cc:1116:1: note: parameter passing for argument of type 'logfile::iterator' {aka 'std::vector::iterator'} changed in GCC 7.1 1116 | hist_index_delegate::index_line(logfile_sub_source& lss, @@ -9891,6 +9935,88 @@ 1802 | __insertion_sort(_RandomAccessIterator __first, | ^~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_algo.h:1802:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o log_vtab_impl.o log_vtab_impl.cc +In file included from /usr/include/c++/12/vector:70, + from bookmarks.hh:39: +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {int&, int, lnav::document::hier_node*}; _Tp = interval_tree::Interval; _Alloc = std::allocator >]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector, std::allocator > >::iterator' changed in GCC 7.1 + 439 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/c++/12/vector:63, + from vtab_module.hh:35, + from vtab_module.cc:30: +/usr/include/c++/12/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]': +/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last, + | ^~~~~~~~~~~~~~~~ +/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, + inlined from 'lnav::console::snippet::snippet(const lnav::console::snippet&)' at base/lnav.console.hh:44:8, + inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = lnav::console::snippet; _Args = {const lnav::console::snippet&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, + inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, + inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = lnav::console::snippet; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, + inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = attr_line_t; _Args = {const attr_line_t&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, + inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, + inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; _Tp = attr_line_t]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = attr_line_t; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, + inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, + inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', + inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, + inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, + inlined from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1617:35, + inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:232:44: +/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 137 | { return std::__do_uninit_copy(__first, __last, __result); } + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xml_util.o xml_util.cc ./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': ./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' ./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' @@ -9898,13 +10024,23 @@ ./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' logfile.hh:434:51: required from here ./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] -In file included from /usr/include/c++/12/vector:70, - from bookmarks.hh:39: -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {int&, int, lnav::document::hier_node*}; _Tp = interval_tree::Interval; _Alloc = std::allocator >]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector, std::allocator > >::iterator' changed in GCC 7.1 - 439 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vtab_module.o vtab_module.cc +In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, + from logfile.hh:47, + from filter_observer.hh:35, + from logfile_sub_source.hh:50, + from log_vtab_impl.hh:39, + from log_vtab_impl.cc:30: +./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xpath_vtab.o xpath_vtab.cc +In file included from log_format_fwd.hh:44, + from logfile.hh:54: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/vector:63: /usr/include/c++/12/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]': /usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 @@ -9939,6 +10075,12 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from yajlpp/yajlpp.hh:56, + from xpath_vtab.cc:40: +./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -9948,6 +10090,21 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from logfile_sub_source.hh:45: +log_vtab_impl.cc: In function 'int vt_next_no_rowid(sqlite3_vtab_cursor*)': +log_vtab_impl.cc:564:49: warning: comparison of integer expressions of different signedness: 'const int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] + 564 | require(vc->log_cursor.lc_curr_line < vt->lss->text_line_count()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +base/lnav_log.hh:122:30: note: in definition of macro 'require' + 122 | #define require(e) ((void) ((e) ? 0 : lnav_require(#e, __FILE__, __LINE__))) + | ^ +log_vtab_impl.cc: In function 'int vt_filter(sqlite3_vtab_cursor*, int, const char*, int, sqlite3_value**)': +log_vtab_impl.cc:1587:42: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] + 1587 | if (coli.ci_index_generation != vt->lss->lss_index_generation) { + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +log_vtab_impl.cc:1633:41: warning: comparison of integer expressions of different signedness: 'const int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] + 1633 | && max_indexed_line.value() < vt->lss->text_line_count()) + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -10008,77 +10165,15 @@ /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector, std::allocator > >::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/c++/12/vector:63, - from vtab_module.hh:35, - from vtab_module.cc:30: -/usr/include/c++/12/bits/stl_uninitialized.h: In function '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]': -/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 113 | __do_uninit_copy(_InputIterator __first, _InputIterator __last, - | ^~~~~~~~~~~~~~~~ -/usr/include/c++/12/bits/stl_uninitialized.h:113:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -In file included from views_vtab.cc:46: -yajlpp/yajlpp_def.hh: In constructor 'json_path_container::json_path_container(std::initializer_list)': -yajlpp/yajlpp_def.hh:1248:5: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 - 1248 | json_path_container(std::initializer_list children) - | ^~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, - inlined from 'lnav::console::snippet::snippet(const lnav::console::snippet&)' at base/lnav.console.hh:44:8, - inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = lnav::console::snippet; _Args = {const lnav::console::snippet&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, - inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, - inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = lnav::console::snippet*; _Tp = lnav::console::snippet]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = lnav::console::snippet; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, - inlined from 'void std::_Construct(_Tp*, _Args&& ...) [with _Tp = attr_line_t; _Args = {const attr_line_t&}]' at /usr/include/c++/12/bits/stl_construct.h:119:7, - inlined from '_ForwardIterator std::__do_uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:120:21, - inlined from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; bool _TrivialValueTypes = false]' at /usr/include/c++/12/bits/stl_uninitialized.h:137:32, - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = attr_line_t*; _Tp = attr_line_t]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = attr_line_t; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:601:31, - inlined from 'attr_line_t::attr_line_t(const attr_line_t&)' at ./base/attr_line.hh:413:7, - inlined from 'lnav::console::user_message::user_message(const lnav::console::user_message&)' at base/lnav.console.hh:73:8: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': +./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' +./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' +./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +logfile.hh:434:51: required from here +./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ /usr/include/c++/12/bits/stl_algo.h: In function 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator*, vector, allocator > > >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter::IntervalStartCmp>]': /usr/include/c++/12/bits/stl_algo.h:1908:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 1908 | __introsort_loop(_RandomAccessIterator __first, @@ -10087,14 +10182,6 @@ /usr/include/c++/12/bits/stl_algo.h:1922:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >' changed in GCC 7.1 1922 | std::__introsort_loop(__cut, __last, __depth_limit, __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', - inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, - inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, - inlined from 'std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1617:35, - inlined from 'std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = string_attr; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:232:44: -/usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 137 | { return std::__do_uninit_copy(__first, __last, __result); } - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator*, vector, allocator > > >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter::IntervalStartCmp>]', inlined from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator*, vector, allocator > > >; _Compare = interval_tree::IntervalTree::IntervalStartCmp]' at /usr/include/c++/12/bits/stl_algo.h:4853:18, inlined from 'interval_tree::IntervalTree::IntervalTree(interval_vector&&, std::size_t, std::size_t, std::size_t, Scalar, Scalar) [with Scalar = long long int; Value = lnav::document::hier_node*]' at ./third-party/intervaltree/IntervalTree.h:115:22: @@ -10163,22 +10250,12 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o log_vtab_impl.o log_vtab_impl.cc -In constructor 'typed_json_path_container::typed_json_path_container(std::initializer_list) [with T = breadcrumb::possibility]', - inlined from 'void __static_initialization_and_destruction_0(int, int)' at views_vtab.cc:127:5: -yajlpp/yajlpp_def.hh:1328:39: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 - 1328 | : json_path_container(children) - | ^ -In constructor 'typed_json_path_container::typed_json_path_container(std::initializer_list) [with T = resolved_crumb]', - inlined from 'void __static_initialization_and_destruction_0(int, int)' at views_vtab.cc:150:56: -yajlpp/yajlpp_def.hh:1328:39: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 - 1328 | : json_path_container(children) - | ^ -In constructor 'typed_json_path_container::typed_json_path_container(std::initializer_list) [with T = top_line_meta]', - inlined from 'void __static_initialization_and_destruction_0(int, int)' at views_vtab.cc:168:55: -yajlpp/yajlpp_def.hh:1328:39: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 - 1328 | : json_path_container(children) - | ^ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xterm_mouse.o xterm_mouse.cc +In file included from views_vtab.cc:46: +yajlpp/yajlpp_def.hh: In constructor 'json_path_container::json_path_container(std::initializer_list)': +yajlpp/yajlpp_def.hh:1248:5: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 + 1248 | json_path_container(std::initializer_list children) + | ^~~~~~~~~~~~~~~~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -10200,62 +10277,37 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o yaml-extension-functions.o yaml-extension-functions.cc +In constructor 'typed_json_path_container::typed_json_path_container(std::initializer_list) [with T = breadcrumb::possibility]', + inlined from 'void __static_initialization_and_destruction_0(int, int)' at views_vtab.cc:127:5: +yajlpp/yajlpp_def.hh:1328:39: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 + 1328 | : json_path_container(children) + | ^ +In constructor 'typed_json_path_container::typed_json_path_container(std::initializer_list) [with T = resolved_crumb]', + inlined from 'void __static_initialization_and_destruction_0(int, int)' at views_vtab.cc:150:56: +yajlpp/yajlpp_def.hh:1328:39: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 + 1328 | : json_path_container(children) + | ^ +In constructor 'typed_json_path_container::typed_json_path_container(std::initializer_list) [with T = top_line_meta]', + inlined from 'void __static_initialization_and_destruction_0(int, int)' at views_vtab.cc:168:55: +yajlpp/yajlpp_def.hh:1328:39: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 + 1328 | : json_path_container(children) + | ^ In file included from log_vtab_impl.hh:39, from lnav.hh:63: logfile_sub_source.hh: In member function 'virtual bool pcre_filter::matches(const logfile&, logfile::const_iterator, shared_buffer_ref&)': logfile_sub_source.hh:96:10: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 96 | bool matches(const logfile& lf, | ^~~~~~~ -In file included from ./third-party/ArenaAlloc/arenaalloc.h:23, - from logfile.hh:47, - from filter_observer.hh:35, - from logfile_sub_source.hh:50, - from log_vtab_impl.hh:39, - from log_vtab_impl.cc:30: -./third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ -In file included from log_format_fwd.hh:44, - from logfile.hh:54: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xml_util.o xml_util.cc -In file included from logfile_sub_source.hh:45: -log_vtab_impl.cc: In function 'int vt_next_no_rowid(sqlite3_vtab_cursor*)': -log_vtab_impl.cc:564:49: warning: comparison of integer expressions of different signedness: 'const int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] - 564 | require(vc->log_cursor.lc_curr_line < vt->lss->text_line_count()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -base/lnav_log.hh:122:30: note: in definition of macro 'require' - 122 | #define require(e) ((void) ((e) ? 0 : lnav_require(#e, __FILE__, __LINE__))) - | ^ -log_vtab_impl.cc: In function 'int vt_filter(sqlite3_vtab_cursor*, int, const char*, int, sqlite3_value**)': -log_vtab_impl.cc:1587:42: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] - 1587 | if (coli.ci_index_generation != vt->lss->lss_index_generation) { - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -log_vtab_impl.cc:1633:41: warning: comparison of integer expressions of different signedness: 'const int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] - 1633 | && max_indexed_line.value() < vt->lss->text_line_count()) - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xpath_vtab.o xpath_vtab.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xterm_mouse.o xterm_mouse.cc -./third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': -./third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' -./third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' -./third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -logfile.hh:434:51: required from here -./third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o yaml-extension-functions.o yaml-extension-functions.cc -In file included from yajlpp/yajlpp.hh:56, - from xpath_vtab.cc:40: -./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -./pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o animals-json.o animals-json.cc +In file included from /usr/include/c++/12/bits/stl_tree.h:63, + from /usr/include/c++/12/map:60, + from log_vtab_impl.hh:33: +/usr/include/c++/12/bits/stl_algobase.h: In function '_RandomAccessIterator std::__find_if(_RandomAccessIterator, _RandomAccessIterator, _Predicate, random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_pred]': +/usr/include/c++/12/bits/stl_algobase.h:2059:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 2059 | __find_if(_RandomAccessIterator __first, _RandomAccessIterator __last, + | ^~~~~~~~~ +/usr/include/c++/12/bits/stl_algobase.h:2059:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 In file included from yajlpp/yajlpp.hh:56, from yaml-extension-functions.cc:39: ./pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': @@ -10303,16 +10355,6 @@ | ~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o animals-json.o animals-json.cc -In file included from /usr/include/c++/12/bits/stl_tree.h:63, - from /usr/include/c++/12/map:60, - from log_vtab_impl.hh:33: -/usr/include/c++/12/bits/stl_algobase.h: In function '_RandomAccessIterator std::__find_if(_RandomAccessIterator, _RandomAccessIterator, _Predicate, random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Predicate = __gnu_cxx::__ops::_Iter_pred]': -/usr/include/c++/12/bits/stl_algobase.h:2059:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 2059 | __find_if(_RandomAccessIterator __first, _RandomAccessIterator __last, - | ^~~~~~~~~ -/usr/include/c++/12/bits/stl_algobase.h:2059:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ansi-palette-json.o ansi-palette-json.cc log_vtab_impl.cc: In member function 'void vtab_cursor::cache_msg(logfile*, logfile::const_iterator)': log_vtab_impl.cc:297:10: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 297 | void cache_msg(logfile* lf, logfile::const_iterator ll) @@ -10325,17 +10367,18 @@ yajlpp/yajlpp_def.hh:1248:5: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 1248 | json_path_container(std::initializer_list children) | ^~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ansi-palette-json.o ansi-palette-json.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o builtin-scripts.o builtin-scripts.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o builtin-sh-scripts.o builtin-sh-scripts.cc /usr/include/c++/12/bits/stl_tree.h: In function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, std::tuple<>}; _Key = int; _Val = std::pair; _KeyOfValue = std::_Select1st >; _Compare = std::less; _Alloc = std::allocator >]': /usr/include/c++/12/bits/stl_tree.h:2457:7: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator' changed in GCC 7.1 2457 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o default-config.o default-config.cc log_vtab_impl.cc: In function 'void __static_initialization_and_destruction_0(int, int)': log_vtab_impl.cc:1893:41: note: parameter passing for argument of type 'std::initializer_list' changed in GCC 7.1 1893 | static const struct json_path_container tags_handler = { | ^~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o default-config.o default-config.cc In file included from /usr/include/c++/12/map:61: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = int; _Tp = log_vtab_impl::column_index; _Compare = std::less; _Alloc = std::allocator >]', inlined from 'void populate_indexed_columns(vtab_cursor*, log_vtab*)' at log_vtab_impl.cc:443:58: @@ -10397,6 +10440,7 @@ 513 | std::tuple<>()); | ~~~~~~~~~~~~~~~ g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o diseases-json.o diseases-json.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o emojis-json.o emojis-json.cc In file included from /usr/include/c++/12/vector:70, from log_vtab_impl.hh:35: /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range&, const std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >&}; _Tp = string_attr; _Alloc = std::allocator]': @@ -10490,8 +10534,10 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o emojis-json.o emojis-json.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o words-json.o words-json.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o help-md.o help-md.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o init-sql.o init-sql.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o time_fmts.o time_fmts.cc In member function 'void vtab_cursor::cache_msg(logfile*, logfile::const_iterator)', inlined from 'int vt_column(sqlite3_vtab_cursor*, sqlite3_context*, int)' at log_vtab_impl.cc:670:34: log_vtab_impl.cc:303:30: note: parameter passing for argument of type 'logfile::const_iterator' {aka 'std::vector::const_iterator'} changed in GCC 7.1 @@ -10514,12 +10560,27 @@ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2113 | std::__iterator_category(__first)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o help-md.o help-md.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o init-sql.o init-sql.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o time_fmts.o time_fmts.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xml-entities-json.o xml-entities-json.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o xterm-palette-json.o xterm-palette-json.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o data_scanner.o data_scanner.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o data_scanner_re.o data_scanner_re.cc +In file included from data_scanner.hh:35, + from data_scanner.cc:32: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o test_override.o test_override.c +gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o third-party/md4c/md4c.o third-party/md4c/md4c.c +In file included from data_scanner.hh:35, + from ../../lnav/src/data_scanner_re.re:36: +pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o third-party/sqlite/ext/dbdump.o third-party/sqlite/ext/dbdump.c +gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o third-party/sqlite/ext/series.o third-party/sqlite/ext/series.c +g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o spookyhash/SpookyV2.o spookyhash/SpookyV2.cpp In file included from /usr/include/c++/12/memory:66, from ./third-party/rapidyaml/ryml_all.hpp:3799, from yaml-extension-functions.cc:36: @@ -10552,12 +10613,6 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from data_scanner.hh:35, - from data_scanner.cc:32: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; bool _TrivialValueTypes = false]', inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*]' at /usr/include/c++/12/bits/stl_uninitialized.h:185:15, inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator >; _ForwardIterator = string_attr*; _Tp = string_attr]' at /usr/include/c++/12/bits/stl_uninitialized.h:372:37, @@ -10624,18 +10679,6 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o data_scanner_re.o data_scanner_re.cc -gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o test_override.o test_override.c -gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o third-party/md4c/md4c.o third-party/md4c/md4c.c -In file included from data_scanner.hh:35, - from ../../lnav/src/data_scanner_re.re:36: -pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o third-party/sqlite/ext/dbdump.o third-party/sqlite/ext/dbdump.c -gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o third-party/sqlite/ext/series.o third-party/sqlite/ext/series.c -g++ -std=c++14 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -DSQLITE_OMIT_LOAD_EXTENSION -I./fmtlib -I./third-party -I./third-party/base64/include -I./third-party/rapidyaml -I../src/third-party/scnlib/include -Wall -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o spookyhash/SpookyV2.o spookyhash/SpookyV2.cpp rm -f libdiag.a ar cru libdiag.a third-party/md4c/md4c.o third-party/sqlite/ext/dbdump.o third-party/sqlite/ext/series.o all_logs_vtab.o archive_manager.o bookmarks.o bottom_status_source.o breadcrumb_curses.o collation-functions.o column_namer.o command_executor.o curl_looper.o db_sub_source.o document.sections.o dump_internals.o elem_to_json.o environ_vtab.o extension-functions.o field_overlay_source.o file_collection.o file_format.o files_sub_source.o filter_observer.o filter_status_source.o filter_sub_source.o fstat_vtab.o fs-extension-functions.o fts_fuzzy_match.o grep_proc.o help_text.o help_text_formatter.o highlighter.o hist_source.o hotkeys.o input_dispatcher.o json-extension-functions.o line_buffer.o listview_curses.o lnav_commands.o lnav_config.o lnav_util.o log.watch.o log_accel.o log_actions.o log_data_helper.o log_data_table.o log_format.o log_format_loader.o log_level.o log_level_re.o log_search_table.o logfile.o logfile_sub_source.o md2attr_line.o md4cpp.o network-extension-functions.o data_parser.o pcap_manager.o plain_text_source.o pollable.o pretty_printer.o ptimec_rt.o readline_callbacks.o readline_curses.o readline_highlighters.o readline_possibilities.o regex101.client.o regex101.import.o regexp_vtab.o relative_time.o session.export.o session_data.o shared_buffer.o shlex.o spectro_impls.o spectro_source.o sqlitepp.o sqlite-extension-func.o static_file_vtab.o statusview_curses.o string-extension-functions.o styling.o text_anonymizer.o text_format.o textfile_sub_source.o timer.o piper_proc.o sql_commands.o sql_util.o state-extension-functions.o sysclip.o textfile_highlighters.o textview_curses.o time-extension-functions.o top_status_source.o unique_path.o view_curses.o view_helpers.o views_vtab.o vt52_curses.o vtab_module.o log_vtab_impl.o xml_util.o xpath_vtab.o xterm_mouse.o yaml-extension-functions.o spookyhash/SpookyV2.o animals-json.o ansi-palette-json.o builtin-scripts.o builtin-sh-scripts.o default-config.o default-formats.o diseases-json.o emojis-json.o words-json.o help-md.o init-sql.o time_fmts.o xml-entities-json.o xterm-palette-json.o ar: `u' modifier ignored since `D' is the default (see `U') @@ -10644,8 +10687,8 @@ ar cru libdatascanner.a data_scanner.o data_scanner_re.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libdatascanner.a -g++ -std=c++14 -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr/lib -L//lib -L/usr/lib -L/usr/lib -o lnav-test lnav.o lnav.events.o lnav.indexing.o lnav.management_cli.o test_override.o file_vtab.o libdiag.a libdatascanner.a base/libbase.a formats/logfmt/liblogfmt.a fmtlib/libcppfmt.a third-party/scnlib/src/libscnlib.a pcrepp/libpcrepp.a pugixml/libpugixml.a tailer/libtailerservice.a tailer/libtailercommon.a tailer/libtailerpp.a yajl/libyajl.a yajlpp/libyajlpp.a third-party/base64/lib/libbase64.a -lreadline -lncursesw -lsqlite3 -larchive -lcurl -lpcre2-8 -larchive -ltinfo -lbz2 -lz -lpthread g++ -std=c++14 -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr/lib -L//lib -L/usr/lib -L/usr/lib -o lnav lnav.o lnav.events.o lnav.indexing.o lnav.management_cli.o file_vtab.o libdiag.a libdatascanner.a base/libbase.a formats/logfmt/liblogfmt.a fmtlib/libcppfmt.a third-party/scnlib/src/libscnlib.a pcrepp/libpcrepp.a pugixml/libpugixml.a tailer/libtailerservice.a tailer/libtailercommon.a tailer/libtailerpp.a yajl/libyajl.a yajlpp/libyajlpp.a third-party/base64/lib/libbase64.a -lreadline -lncursesw -lsqlite3 -larchive -lcurl -lpcre2-8 -larchive -ltinfo -lbz2 -lz -lpthread +g++ -std=c++14 -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr/lib -L//lib -L/usr/lib -L/usr/lib -o lnav-test lnav.o lnav.events.o lnav.indexing.o lnav.management_cli.o test_override.o file_vtab.o libdiag.a libdatascanner.a base/libbase.a formats/logfmt/liblogfmt.a fmtlib/libcppfmt.a third-party/scnlib/src/libscnlib.a pcrepp/libpcrepp.a pugixml/libpugixml.a tailer/libtailerservice.a tailer/libtailercommon.a tailer/libtailerpp.a yajl/libyajl.a yajlpp/libyajlpp.a third-party/base64/lib/libbase64.a -lreadline -lncursesw -lsqlite3 -larchive -lcurl -lpcre2-8 -larchive -ltinfo -lbz2 -lz -lpthread if test -w ./internals; then \ env DUMP_INTERNALS_DIR=./internals DUMP_CRASH=1 ./lnav Makefile; \ mv ./internals/*.schema.json ../docs/schemas; \ @@ -10688,7 +10731,7 @@ make[2]: Leaving directory '/build/lnav-0.11.1' make[1]: Leaving directory '/build/lnav-0.11.1' dh_auto_test - make -j3 check "TESTSUITEFLAGS=-j3 --verbose" VERBOSE=1 + make -j4 check "TESTSUITEFLAGS=-j4 --verbose" VERBOSE=1 make[1]: Entering directory '/build/lnav-0.11.1' Making check in tools make[2]: Entering directory '/build/lnav-0.11.1/tools' @@ -10762,6 +10805,7 @@ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fs_util.tests.o fs_util.tests.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o humanize.file_size.tests.o humanize.file_size.tests.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o humanize.network.tests.o humanize.network.tests.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o humanize.time.tests.o humanize.time.tests.cc In file included from /usr/include/c++/12/vector:70, from attr_line.hh:37, from attr_line.tests.cc:32: @@ -10796,8 +10840,8 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o humanize.time.tests.o humanize.time.tests.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o intern_string.tests.o intern_string.tests.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lnav.gzip.tests.o lnav.gzip.tests.cc In file included from intern_string.tests.cc:33: intern_string.hh: In instantiation of 'string_fragment string_fragment::find_left_boundary(size_t, P&&) const [with P = DOCTEST_ANON_FUNC_8()::; size_t = unsigned int]': intern_string.tests.cc:121:46: required from here @@ -10807,6 +10851,8 @@ intern_string.hh: In instantiation of 'string_fragment string_fragment::find_left_boundary(size_t, P&&) const [with P = DOCTEST_ANON_FUNC_8()::; size_t = unsigned int]': intern_string.tests.cc:125:36: required from here intern_string.hh:314:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o string_util.tests.o string_util.tests.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_base.o test_base.cc In member function 'bool string_fragment::empty() const', inlined from 'void DOCTEST_ANON_FUNC_6()' at intern_string.tests.cc:111:5: intern_string.hh:177:51: warning: '*(const string_fragment*)((char*)&empty + offsetof(nonstd::optional_lite::optional,nonstd::optional_lite::optional::contained)).string_fragment::sf_begin' may be used uninitialized [-Wmaybe-uninitialized] @@ -10884,9 +10930,6 @@ intern_string.tests.cc:78:10: note: '*(const string_fragment*)((char*)&split_sf + offsetof(nonstd::optional_lite::optional >,nonstd::optional_lite::optional >::contained)).string_fragment::sf_end' was declared here 78 | auto split_sf = sf.split_while(isalnum); | ^~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lnav.gzip.tests.o lnav.gzip.tests.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o string_util.tests.o string_util.tests.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_base.o test_base.cc In file included from /usr/include/c++/12/vector:70, from ../../src/third-party/doctest-root/doctest/doctest.h:3125, from test_base.cc:33: @@ -10971,8 +11014,8 @@ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o drive_json_ptr_walk.o drive_json_ptr_walk.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_json_ptr.o test_json_ptr.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/fmtlib -I../../src/third-party/scnlib/include -I../../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_yajlpp.o test_yajlpp.cc -g++ -std=c++14 -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr/lib -L//lib -L/usr/lib -L/usr/lib -o drive_json_op drive_json_op.o -larchive libyajlpp.a ../../src/base/libbase.a ../../src/fmtlib/libcppfmt.a ../../src/third-party/scnlib/src/libscnlib.a ../../src/pcrepp/libpcrepp.a ../../src/yajl/libyajl.a -lpcre2-8 -larchive -ltinfo -lbz2 -lz -lpthread g++ -std=c++14 -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr/lib -L//lib -L/usr/lib -L/usr/lib -o test_json_ptr test_json_ptr.o -larchive libyajlpp.a ../../src/base/libbase.a ../../src/fmtlib/libcppfmt.a ../../src/third-party/scnlib/src/libscnlib.a ../../src/pcrepp/libpcrepp.a ../../src/yajl/libyajl.a -lpcre2-8 -larchive -ltinfo -lbz2 -lz -lpthread +g++ -std=c++14 -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr/lib -L//lib -L/usr/lib -L/usr/lib -o drive_json_op drive_json_op.o -larchive libyajlpp.a ../../src/base/libbase.a ../../src/fmtlib/libcppfmt.a ../../src/third-party/scnlib/src/libscnlib.a ../../src/pcrepp/libpcrepp.a ../../src/yajl/libyajl.a -lpcre2-8 -larchive -ltinfo -lbz2 -lz -lpthread In file included from yajlpp.hh:56, from drive_json_ptr_walk.cc:41: ../../src/pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': @@ -11017,8 +11060,8 @@ make check-TESTS make[5]: Entering directory '/build/lnav-0.11.1/src/yajlpp' make[6]: Entering directory '/build/lnav-0.11.1/src/yajlpp' -PASS: test_json_ptr PASS: test_yajlpp +PASS: test_json_ptr PASS: test_json_ptr_walk.sh PASS: test_json_op.sh ============================================================================ @@ -11090,6 +11133,16 @@ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o drive_data_scanner.o drive_data_scanner.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o drive_line_buffer.o drive_line_buffer.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o drive_grep_proc.o drive_grep_proc.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o drive_listview.o drive_listview.cc +In file included from ../src/yajlpp/yajlpp.hh:56, + from ../src/styling.hh:42, + from ../src/view_curses.hh:70, + from ../src/listview_curses.hh:43, + from drive_listview.cc:36: +../src/pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +../src/pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/data_scanner.hh:35, from ../src/data_parser.hh:42, from drive_data_scanner.cc:42: @@ -11111,7 +11164,8 @@ ../src/third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o drive_listview.o drive_listview.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o drive_logfile.o drive_logfile.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o drive_mvwattrline.o drive_mvwattrline.cc drive_data_scanner.cc: In function 'int main(int, char**)': drive_data_scanner.cc:217:42: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 217 | for (; cap_index < tok_res->tr_capture.c_end; @@ -11130,7 +11184,7 @@ drive_data_scanner.cc:233:42: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 233 | for (; cap_index < (int) ds.get_input().length(); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o drive_logfile.o drive_logfile.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o drive_shlexer.o drive_shlexer.cc ../src/third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': ../src/third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' ../src/third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' @@ -11143,8 +11197,7 @@ In file included from ../src/yajlpp/yajlpp.hh:56, from ../src/styling.hh:42, from ../src/view_curses.hh:70, - from ../src/listview_curses.hh:43, - from drive_listview.cc:36: + from drive_mvwattrline.cc:36: ../src/pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': ../src/pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { @@ -11156,23 +11209,6 @@ ../src/pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o drive_mvwattrline.o drive_mvwattrline.cc -In file included from /usr/include/c++/12/string:53, - from /usr/include/c++/12/bits/locale_classes.h:40, - from /usr/include/c++/12/bits/ios_base.h:41, - from /usr/include/c++/12/ios:42, - from /usr/include/c++/12/istream:38, - from /usr/include/c++/12/fstream:38, - from drive_data_scanner.cc:34: -In function 'std::basic_istream<_CharT, _Traits>& std::getline(basic_istream<_CharT, _Traits>&, __cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = char_traits; _Alloc = allocator]', - inlined from 'int main(int, char**)' at drive_data_scanner.cc:142:24: -/usr/include/c++/12/bits/basic_string.h:3925:26: warning: 'in' may be used uninitialized [-Wmaybe-uninitialized] - 3925 | { return std::getline(__is, __str, __is.widen('\n')); } - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -drive_data_scanner.cc: In function 'int main(int, char**)': -drive_data_scanner.cc:113:27: note: 'in' was declared here - 113 | std::istream* in; - | ^~ In file included from ../src/third-party/ArenaAlloc/arenaalloc.h:23, from ../src/log_format_fwd.hh:39, from ../src/log_format.hh:57: @@ -11180,22 +11216,6 @@ ../src/third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o drive_shlexer.o drive_shlexer.cc -../src/third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': -../src/third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -../src/third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' -../src/third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' -../src/third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -../src/logfile.hh:434:51: required from here -../src/third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] -In file included from ../src/yajlpp/yajlpp.hh:56, - from ../src/styling.hh:42, - from ../src/view_curses.hh:70, - from drive_mvwattrline.cc:36: -../src/pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -../src/pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/vector:70, from ../src/view_curses.hh:60: /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const string_attr&}; _Tp = string_attr; _Alloc = std::allocator]': @@ -11209,8 +11229,40 @@ | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o drive_sql.o drive_sql.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o drive_sql_anno.o drive_sql_anno.cc +../src/third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': +../src/third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +../src/third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' +../src/third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' +../src/third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +../src/logfile.hh:434:51: required from here +../src/third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] +In file included from /usr/include/c++/12/string:53, + from /usr/include/c++/12/bits/locale_classes.h:40, + from /usr/include/c++/12/bits/ios_base.h:41, + from /usr/include/c++/12/ios:42, + from /usr/include/c++/12/istream:38, + from /usr/include/c++/12/fstream:38, + from drive_data_scanner.cc:34: +In function 'std::basic_istream<_CharT, _Traits>& std::getline(basic_istream<_CharT, _Traits>&, __cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = char_traits; _Alloc = allocator]', + inlined from 'int main(int, char**)' at drive_data_scanner.cc:142:24: +/usr/include/c++/12/bits/basic_string.h:3925:26: warning: 'in' may be used uninitialized [-Wmaybe-uninitialized] + 3925 | { return std::getline(__is, __str, __is.widen('\n')); } + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +drive_data_scanner.cc: In function 'int main(int, char**)': +drive_data_scanner.cc:113:27: note: 'in' was declared here + 113 | std::istream* in; + | ^~ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o drive_view_colors.o drive_view_colors.cc +In file included from ../src/grep_proc.hh:49, + from ../src/bottom_status_source.hh:35, + from ../src/lnav.hh:49, + from drive_sql_anno.cc:35: +../src/pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +../src/pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o drive_vt52_curses.o drive_vt52_curses.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o drive_readline_curses.o drive_readline_curses.cc In file included from ../src/yajlpp/yajlpp.hh:56, from ../src/styling.hh:42, from ../src/view_curses.hh:70, @@ -11219,14 +11271,13 @@ ../src/pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../src/grep_proc.hh:49, - from ../src/bottom_status_source.hh:35, - from ../src/lnav.hh:49, - from drive_sql_anno.cc:35: -../src/pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -../src/pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../src/third-party/ArenaAlloc/arenaalloc.h:23, + from ../src/db_sub_source.hh:39, + from ../src/lnav.hh:53: +../src/third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': +../src/third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] + 111 | value |= value >> 32; + | ~~~~~~^~~~~ In file included from ../src/yajlpp/yajlpp.hh:56, from ../src/styling.hh:42, from ../src/view_curses.hh:70, @@ -11243,13 +11294,6 @@ | ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {line_range, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 -In file included from ../src/third-party/ArenaAlloc/arenaalloc.h:23, - from ../src/db_sub_source.hh:39, - from ../src/lnav.hh:53: -../src/third-party/ArenaAlloc/arenaallocimpl.h: In member function 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t)': -../src/third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] - 111 | value |= value >> 32; - | ~~~~~~^~~~~ In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {line_range, std::pair, std::allocator >, std::shared_ptr, bookmark_metadata*, timespec, string_fragment> >}; _Tp = string_attr; _Alloc = std::allocator]', inlined from 'virtual void test_colors::do_update()' at drive_view_colors.cc:55:40: /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 @@ -11268,14 +11312,8 @@ /usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1287 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o drive_readline_curses.o drive_readline_curses.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o lnav_doctests.o lnav_doctests.cc -In file included from ../src/data_scanner.hh:35, - from lnav_doctests.cc:34: -../src/pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -../src/pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o slicer.o slicer.cc In file included from ../src/highlighter.hh:39, from ../src/log_format.hh:55, from ../src/readline_curses.hh:60, @@ -11284,13 +11322,6 @@ ../src/pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -../src/third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': -../src/third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -../src/third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' -../src/third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' -../src/third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' -../src/logfile.hh:434:51: required from here -../src/third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] In file included from ../src/third-party/ArenaAlloc/arenaalloc.h:23, from ../src/log_format_fwd.hh:39, from ../src/log_format.hh:57: @@ -11298,6 +11329,30 @@ ../src/third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] 111 | value |= value >> 32; | ~~~~~~^~~~~ +In file included from ../src/data_scanner.hh:35, + from lnav_doctests.cc:34: +../src/pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +../src/pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +../src/third-party/ArenaAlloc/arenaallocimpl.h: In instantiation of 'std::size_t ArenaAlloc::_memblockimplbase::roundpow2(std::size_t) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]': +../src/third-party/ArenaAlloc/arenaallocimpl.h:138:23: required from 'ArenaAlloc::_memblockimplbase::_memblockimplbase(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; Derived = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +../src/third-party/ArenaAlloc/arenaallocimpl.h:268:95: required from 'ArenaAlloc::_memblockimpl::_memblockimpl(std::size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; std::size_t = unsigned int]' +../src/third-party/ArenaAlloc/arenaallocimpl.h:256:14: required from 'static ArenaAlloc::_memblockimpl* ArenaAlloc::_memblockimpl::create(size_t, AllocatorImpl&) [with AllocatorImpl = ArenaAlloc::_newAllocatorImpl; size_t = unsigned int]' +../src/third-party/ArenaAlloc/arenaalloc.h:85:35: required from 'ArenaAlloc::Alloc::Alloc(std::size_t, AllocatorImpl) [with T = char; AllocatorImpl = ArenaAlloc::_newAllocatorImpl; MemblockImpl = ArenaAlloc::_memblockimpl; std::size_t = unsigned int]' +../src/logfile.hh:434:51: required from here +../src/third-party/ArenaAlloc/arenaallocimpl.h:111:22: warning: right shift count >= width of type [-Wshift-count-overflow] +In file included from /usr/include/c++/12/vector:70, + from slicer.cc:31: +/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {file_range&}; _Tp = file_range; _Alloc = std::allocator]': +/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 + 439 | vector<_Tp, _Alloc>:: + | ^~~~~~~~~~~~~~~~~~~ +In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {file_range&}; _Tp = file_range; _Alloc = std::allocator]', + inlined from 'int main(int, char**)' at slicer.cc:75:31: +/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 + 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lnav_doctests.cc: In function 'void DOCTEST_ANON_FUNC_19()': lnav_doctests.cc:126:19: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] 126 | memset(&etm, 0, sizeof(etm)); @@ -11317,20 +11372,10 @@ ../src/base/time_util.hh:106:8: note: 'struct exttm' declared here 106 | struct exttm { | ^~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o slicer.o slicer.cc g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o scripty.o scripty.cc -In file included from /usr/include/c++/12/vector:70, - from slicer.cc:31: -/usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {file_range&}; _Tp = file_range; _Alloc = std::allocator]': -/usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 - 439 | vector<_Tp, _Alloc>:: - | ^~~~~~~~~~~~~~~~~~~ -In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {file_range&}; _Tp = file_range; _Alloc = std::allocator]', - inlined from 'int main(int, char**)' at slicer.cc:75:31: -/usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 - 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_abbrev.o test_abbrev.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_ansi_scrubber.o test_ansi_scrubber.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_auto_fd.o test_auto_fd.cc In file included from ../src/yajlpp/yajlpp.hh:56, from ../src/styling.hh:42, from scripty.cc:85: @@ -11338,7 +11383,6 @@ ../src/pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_ansi_scrubber.o test_ansi_scrubber.cc scripty.cc: In function 'const char* tstamp()': scripty.cc:258:51: warning: format '%d' expects argument of type 'int', but argument 4 has type '__suseconds_t' {aka 'long int'} [-Wformat=] 258 | snprintf(&buf[dlen], sizeof(buf) - dlen, "%.06d", tv.tv_usec); @@ -11354,14 +11398,7 @@ scripty.cc:1096:58: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1096 | for (size_t lpc = 0; lpc < rc; lpc++) { | ~~~~^~~~ -scripty.cc: In member function 'void term_machine::new_input(char)': -scripty.cc:833:38: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 833 | write(this->tm_child_term.get_fd(), - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 834 | this->tm_user_input.data(), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 835 | this->tm_user_input.size()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_auto_mem.o test_auto_mem.cc In file included from ../src/yajlpp/yajlpp.hh:56, from ../src/styling.hh:42, from ../src/view_curses.hh:70, @@ -11377,9 +11414,32 @@ | | | | int long long int | %lld -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_auto_fd.o test_auto_fd.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_auto_mem.o test_auto_mem.cc +scripty.cc: In member function 'void term_machine::new_input(char)': +scripty.cc:833:38: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 833 | write(this->tm_child_term.get_fd(), + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 834 | this->tm_user_input.data(), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 835 | this->tm_user_input.size()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_bookmarks.o test_bookmarks.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_date_time_scanner.o test_date_time_scanner.cc +test_date_time_scanner.cc: In function 'int main(int, char**)': +test_date_time_scanner.cc:172:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] + 172 | memset(&tm, 0, sizeof(tm)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +In file included from ../src/ptimec.hh:49, + from ../src/lnav_util.hh:59, + from test_date_time_scanner.cc:33: +../src/base/time_util.hh:106:8: note: 'struct exttm' declared here + 106 | struct exttm { + | ^~~~~ +test_date_time_scanner.cc:183:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] + 183 | memset(&tm, 0, sizeof(tm)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +../src/base/time_util.hh:106:8: note: 'struct exttm' declared here + 106 | struct exttm { + | ^~~~~ In file included from ../src/grep_proc.hh:49, from ../src/textview_curses.hh:42, from test_bookmarks.cc:36: @@ -11387,7 +11447,93 @@ ../src/pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_date_time_scanner.o test_date_time_scanner.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_grep_proc2.o test_grep_proc2.cc +In file included from ../src/grep_proc.hh:49, + from test_grep_proc2.cc:37: +../src/pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': +../src/pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] + 91 | if (index >= this->md_capture_end) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_line_buffer2.o test_line_buffer2.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_log_accel.o test_log_accel.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_ncurses_unicode.o test_ncurses_unicode.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_reltime.o test_reltime.cc +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_text_anonymizer.o test_text_anonymizer.cc +test_line_buffer2.cc: In function 'int main(int, char**)': +test_line_buffer2.cc:84:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 84 | write(fd, TEST_DATA, strlen(TEST_DATA)); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_top_status.o test_top_status.cc +test_reltime.cc: In function 'void DOCTEST_ANON_FUNC_13()': +test_reltime.cc:109:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] + 109 | memset(&tm, 0, sizeof(tm)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +In file included from ../src/ptimec.hh:49, + from ../src/relative_time.hh:45, + from test_reltime.cc:37: +../src/base/time_util.hh:106:8: note: 'struct exttm' declared here + 106 | struct exttm { + | ^~~~~ +test_reltime.cc:123:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] + 123 | memset(&tm, 0, sizeof(tm)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +../src/base/time_util.hh:106:8: note: 'struct exttm' declared here + 106 | struct exttm { + | ^~~~~ +test_reltime.cc:137:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] + 137 | memset(&tm, 0, sizeof(tm)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +../src/base/time_util.hh:106:8: note: 'struct exttm' declared here + 106 | struct exttm { + | ^~~~~ +test_reltime.cc:151:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] + 151 | memset(&tm, 0, sizeof(tm)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +../src/base/time_util.hh:106:8: note: 'struct exttm' declared here + 106 | struct exttm { + | ^~~~~ +test_reltime.cc:165:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] + 165 | memset(&tm, 0, sizeof(tm)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +../src/base/time_util.hh:106:8: note: 'struct exttm' declared here + 106 | struct exttm { + | ^~~~~ +test_reltime.cc:179:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] + 179 | memset(&tm, 0, sizeof(tm)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +../src/base/time_util.hh:106:8: note: 'struct exttm' declared here + 106 | struct exttm { + | ^~~~~ +test_reltime.cc:199:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] + 199 | memset(&tm, 0, sizeof(tm)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +../src/base/time_util.hh:106:8: note: 'struct exttm' declared here + 106 | struct exttm { + | ^~~~~ +test_reltime.cc:208:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] + 208 | memset(&tm, 0, sizeof(tm)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +../src/base/time_util.hh:106:8: note: 'struct exttm' declared here + 106 | struct exttm { + | ^~~~~ +test_reltime.cc:222:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] + 222 | memset(&tm, 0, sizeof(tm)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +../src/base/time_util.hh:106:8: note: 'struct exttm' declared here + 106 | struct exttm { + | ^~~~~ +test_reltime.cc:252:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] + 252 | memset(&tm, 0, sizeof(tm)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +../src/base/time_util.hh:106:8: note: 'struct exttm' declared here + 106 | struct exttm { + | ^~~~~ +test_reltime.cc:261:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] + 261 | memset(&tm, 0, sizeof(tm)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +../src/base/time_util.hh:106:8: note: 'struct exttm' declared here + 106 | struct exttm { + | ^~~~~ In file included from /usr/include/c++/12/vector:70, from ../src/pcrepp/pcre2pp.hh:37: /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {std::fpos<__mbstate_t>}; _Tp = std::fpos<__mbstate_t>; _Alloc = std::allocator >]': @@ -11401,38 +11547,27 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -test_date_time_scanner.cc: In function 'int main(int, char**)': -test_date_time_scanner.cc:172:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] - 172 | memset(&tm, 0, sizeof(tm)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -In file included from ../src/ptimec.hh:49, - from ../src/lnav_util.hh:59, - from test_date_time_scanner.cc:33: +test_reltime.cc:353:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] + 353 | memset(&tm, 0, sizeof(tm)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ ../src/base/time_util.hh:106:8: note: 'struct exttm' declared here 106 | struct exttm { | ^~~~~ -test_date_time_scanner.cc:183:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] - 183 | memset(&tm, 0, sizeof(tm)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +test_reltime.cc:354:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] + 354 | memset(&tm2, 0, sizeof(tm2)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../src/base/time_util.hh:106:8: note: 'struct exttm' declared here 106 | struct exttm { | ^~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_grep_proc2.o test_grep_proc2.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_line_buffer2.o test_line_buffer2.cc -In file included from ../src/grep_proc.hh:49, - from test_grep_proc2.cc:37: +In file included from ../src/yajlpp/yajlpp.hh:56, + from ../src/styling.hh:42, + from ../src/lnav_config.hh:52, + from test_top_status.cc:35: ../src/pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': ../src/pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 91 | if (index >= this->md_capture_end) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -test_line_buffer2.cc: In function 'int main(int, char**)': -test_line_buffer2.cc:84:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 84 | write(fd, TEST_DATA, strlen(TEST_DATA)); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_log_accel.o test_log_accel.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_ncurses_unicode.o test_ncurses_unicode.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_reltime.o test_reltime.cc -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_text_anonymizer.o test_text_anonymizer.cc +g++ -std=c++14 -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -lncursesw -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr/lib -L//lib -L/usr/lib -L/usr/lib -o drive_data_scanner drive_data_scanner.o -lz ../src/ansi-palette-json.o ../src/default-config.o ../src/xterm-palette-json.o ../src/builtin-scripts.o ../src/builtin-sh-scripts.o ../src/default-formats.o ../src/time_fmts.o test_stubs.o ../src/lnav.events.o ../src/libdiag.a ../src/libdatascanner.a ../src/formats/logfmt/liblogfmt.a ../src/fmtlib/libcppfmt.a ../src/pcrepp/libpcrepp.a ../src/yajl/libyajl.a ../src/yajlpp/libyajlpp.a ../src/base/libbase.a ../src/pugixml/libpugixml.a ../src/third-party/base64/lib/libbase64.a ../src/third-party/scnlib/src/libscnlib.a -lreadline -lncursesw -larchive -lsqlite3 -lcurl -lpcre2-8 -larchive -ltinfo -lbz2 -lz -lpthread In file included from /usr/include/c++/12/memory:66, from ../src/fmtlib/fmt/format.h:40, from ../src/byte_array.hh:40, @@ -11544,100 +11679,10 @@ /usr/include/c++/12/bits/stl_uninitialized.h:137:39: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 137 | { return std::__do_uninit_copy(__first, __last, __result); } | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -test_reltime.cc: In function 'void DOCTEST_ANON_FUNC_13()': -test_reltime.cc:109:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] - 109 | memset(&tm, 0, sizeof(tm)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -In file included from ../src/ptimec.hh:49, - from ../src/relative_time.hh:45, - from test_reltime.cc:37: -../src/base/time_util.hh:106:8: note: 'struct exttm' declared here - 106 | struct exttm { - | ^~~~~ -test_reltime.cc:123:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] - 123 | memset(&tm, 0, sizeof(tm)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -../src/base/time_util.hh:106:8: note: 'struct exttm' declared here - 106 | struct exttm { - | ^~~~~ -test_reltime.cc:137:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] - 137 | memset(&tm, 0, sizeof(tm)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -../src/base/time_util.hh:106:8: note: 'struct exttm' declared here - 106 | struct exttm { - | ^~~~~ -test_reltime.cc:151:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] - 151 | memset(&tm, 0, sizeof(tm)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -../src/base/time_util.hh:106:8: note: 'struct exttm' declared here - 106 | struct exttm { - | ^~~~~ -test_reltime.cc:165:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] - 165 | memset(&tm, 0, sizeof(tm)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -../src/base/time_util.hh:106:8: note: 'struct exttm' declared here - 106 | struct exttm { - | ^~~~~ -test_reltime.cc:179:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] - 179 | memset(&tm, 0, sizeof(tm)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -../src/base/time_util.hh:106:8: note: 'struct exttm' declared here - 106 | struct exttm { - | ^~~~~ -test_reltime.cc:199:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] - 199 | memset(&tm, 0, sizeof(tm)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -../src/base/time_util.hh:106:8: note: 'struct exttm' declared here - 106 | struct exttm { - | ^~~~~ -test_reltime.cc:208:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] - 208 | memset(&tm, 0, sizeof(tm)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -../src/base/time_util.hh:106:8: note: 'struct exttm' declared here - 106 | struct exttm { - | ^~~~~ -test_reltime.cc:222:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] - 222 | memset(&tm, 0, sizeof(tm)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -../src/base/time_util.hh:106:8: note: 'struct exttm' declared here - 106 | struct exttm { - | ^~~~~ -test_reltime.cc:252:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] - 252 | memset(&tm, 0, sizeof(tm)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -../src/base/time_util.hh:106:8: note: 'struct exttm' declared here - 106 | struct exttm { - | ^~~~~ -test_reltime.cc:261:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] - 261 | memset(&tm, 0, sizeof(tm)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -../src/base/time_util.hh:106:8: note: 'struct exttm' declared here - 106 | struct exttm { - | ^~~~~ -test_reltime.cc:353:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] - 353 | memset(&tm, 0, sizeof(tm)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -../src/base/time_util.hh:106:8: note: 'struct exttm' declared here - 106 | struct exttm { - | ^~~~~ -test_reltime.cc:354:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct exttm'; use assignment or value-initialization instead [-Wclass-memaccess] - 354 | memset(&tm2, 0, sizeof(tm2)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -../src/base/time_util.hh:106:8: note: 'struct exttm' declared here - 106 | struct exttm { - | ^~~~~ -g++ -std=c++14 -DHAVE_CONFIG_H -I. -I../src -Wall -I../src -I../src/fmtlib -I../src/third-party -I../src/third-party/scnlib/include -I../src/third-party/doctest-root -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -I/usr/include -I/usr/include -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -c -o test_top_status.o test_top_status.cc -In file included from ../src/yajlpp/yajlpp.hh:56, - from ../src/styling.hh:42, - from ../src/lnav_config.hh:52, - from test_top_status.cc:35: -../src/pcrepp/pcre2pp.hh: In member function 'nonstd::optional_lite::optional lnav::pcre2pp::match_data::operator[](size_t) const': -../src/pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] - 91 | if (index >= this->md_capture_end) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +g++ -std=c++14 -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -lncursesw -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr/lib -L//lib -L/usr/lib -L/usr/lib -o drive_line_buffer drive_line_buffer.o -lz ../src/ansi-palette-json.o ../src/default-config.o ../src/xterm-palette-json.o ../src/builtin-scripts.o ../src/builtin-sh-scripts.o ../src/default-formats.o ../src/time_fmts.o test_stubs.o ../src/lnav.events.o ../src/libdiag.a ../src/libdatascanner.a ../src/formats/logfmt/liblogfmt.a ../src/fmtlib/libcppfmt.a ../src/pcrepp/libpcrepp.a ../src/yajl/libyajl.a ../src/yajlpp/libyajlpp.a ../src/base/libbase.a ../src/pugixml/libpugixml.a ../src/third-party/base64/lib/libbase64.a ../src/third-party/scnlib/src/libscnlib.a -lreadline -lncursesw -larchive -lsqlite3 -lcurl -lpcre2-8 -larchive -ltinfo -lbz2 -lz -lpthread In file included from /usr/include/c++/12/vector:70, from ../src/third-party/doctest-root/doctest/doctest.h:3125, - from test_text_anonymizer.cc:33: + from test_reltime.cc:36: /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {std::fpos<__mbstate_t>}; _Tp = std::fpos<__mbstate_t>; _Alloc = std::allocator >]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector >::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: @@ -11651,7 +11696,7 @@ | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/vector:70, from ../src/third-party/doctest-root/doctest/doctest.h:3125, - from test_reltime.cc:36: + from test_text_anonymizer.cc:33: /usr/include/c++/12/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {std::fpos<__mbstate_t>}; _Tp = std::fpos<__mbstate_t>; _Alloc = std::allocator >]': /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector >::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: @@ -11663,8 +11708,6 @@ /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -std=c++14 -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -lncursesw -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr/lib -L//lib -L/usr/lib -L/usr/lib -o drive_data_scanner drive_data_scanner.o -lz ../src/ansi-palette-json.o ../src/default-config.o ../src/xterm-palette-json.o ../src/builtin-scripts.o ../src/builtin-sh-scripts.o ../src/default-formats.o ../src/time_fmts.o test_stubs.o ../src/lnav.events.o ../src/libdiag.a ../src/libdatascanner.a ../src/formats/logfmt/liblogfmt.a ../src/fmtlib/libcppfmt.a ../src/pcrepp/libpcrepp.a ../src/yajl/libyajl.a ../src/yajlpp/libyajlpp.a ../src/base/libbase.a ../src/pugixml/libpugixml.a ../src/third-party/base64/lib/libbase64.a ../src/third-party/scnlib/src/libscnlib.a -lreadline -lncursesw -larchive -lsqlite3 -lcurl -lpcre2-8 -larchive -ltinfo -lbz2 -lz -lpthread -g++ -std=c++14 -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -lncursesw -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr/lib -L//lib -L/usr/lib -L/usr/lib -o drive_line_buffer drive_line_buffer.o -lz ../src/ansi-palette-json.o ../src/default-config.o ../src/xterm-palette-json.o ../src/builtin-scripts.o ../src/builtin-sh-scripts.o ../src/default-formats.o ../src/time_fmts.o test_stubs.o ../src/lnav.events.o ../src/libdiag.a ../src/libdatascanner.a ../src/formats/logfmt/liblogfmt.a ../src/fmtlib/libcppfmt.a ../src/pcrepp/libpcrepp.a ../src/yajl/libyajl.a ../src/yajlpp/libyajlpp.a ../src/base/libbase.a ../src/pugixml/libpugixml.a ../src/third-party/base64/lib/libbase64.a ../src/third-party/scnlib/src/libscnlib.a -lreadline -lncursesw -larchive -lsqlite3 -lcurl -lpcre2-8 -larchive -ltinfo -lbz2 -lz -lpthread g++ -std=c++14 -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -lncursesw -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr/lib -L//lib -L/usr/lib -L/usr/lib -o drive_grep_proc drive_grep_proc.o -lz ../src/ansi-palette-json.o ../src/default-config.o ../src/xterm-palette-json.o ../src/builtin-scripts.o ../src/builtin-sh-scripts.o ../src/default-formats.o ../src/time_fmts.o test_stubs.o ../src/lnav.events.o ../src/libdiag.a ../src/libdatascanner.a ../src/formats/logfmt/liblogfmt.a ../src/fmtlib/libcppfmt.a ../src/pcrepp/libpcrepp.a ../src/yajl/libyajl.a ../src/yajlpp/libyajlpp.a ../src/base/libbase.a ../src/pugixml/libpugixml.a ../src/third-party/base64/lib/libbase64.a ../src/third-party/scnlib/src/libscnlib.a -lreadline -lncursesw -larchive -lsqlite3 -lcurl -lpcre2-8 -larchive -ltinfo -lbz2 -lz -lpthread g++ -std=c++14 -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -lncursesw -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr/lib -L//lib -L/usr/lib -L/usr/lib -o drive_listview drive_listview.o -lz ../src/ansi-palette-json.o ../src/default-config.o ../src/xterm-palette-json.o ../src/builtin-scripts.o ../src/builtin-sh-scripts.o ../src/default-formats.o ../src/time_fmts.o test_stubs.o ../src/lnav.events.o ../src/libdiag.a ../src/libdatascanner.a ../src/formats/logfmt/liblogfmt.a ../src/fmtlib/libcppfmt.a ../src/pcrepp/libpcrepp.a ../src/yajl/libyajl.a ../src/yajlpp/libyajlpp.a ../src/base/libbase.a ../src/pugixml/libpugixml.a ../src/third-party/base64/lib/libbase64.a ../src/third-party/scnlib/src/libscnlib.a -lreadline -lncursesw -larchive -lsqlite3 -lcurl -lpcre2-8 -larchive -ltinfo -lbz2 -lz -lpthread g++ -std=c++14 -g -O2 -ffile-prefix-map=/build/lnav-0.11.1=. -fstack-protector-strong -Wformat -Werror=format-security -lncursesw -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr/lib -L//lib -L/usr/lib -L/usr/lib -o drive_logfile drive_logfile.o -lz ../src/ansi-palette-json.o ../src/default-config.o ../src/xterm-palette-json.o ../src/builtin-scripts.o ../src/builtin-sh-scripts.o ../src/default-formats.o ../src/time_fmts.o test_stubs.o ../src/lnav.events.o ../src/libdiag.a ../src/libdatascanner.a ../src/formats/logfmt/liblogfmt.a ../src/fmtlib/libcppfmt.a ../src/pcrepp/libpcrepp.a ../src/yajl/libyajl.a ../src/yajlpp/libyajlpp.a ../src/base/libbase.a ../src/pugixml/libpugixml.a ../src/third-party/base64/lib/libbase64.a ../src/third-party/scnlib/src/libscnlib.a -lreadline -lncursesw -larchive -lsqlite3 -lcurl -lpcre2-8 -larchive -ltinfo -lbz2 -lz -lpthread @@ -11695,27 +11738,27 @@ make check-TESTS make[3]: Entering directory '/build/lnav-0.11.1/test' make[4]: Entering directory '/build/lnav-0.11.1/test' +PASS: test_auto_fd PASS: test_abbrev PASS: test_ansi_scrubber -PASS: test_auto_fd -PASS: test_auto_mem PASS: test_bookmarks +PASS: test_auto_mem PASS: test_date_time_scanner -PASS: test_format_installer.sh PASS: lnav_doctests +PASS: test_format_installer.sh PASS: test_format_loader.sh PASS: test_config.sh PASS: test_cli.sh PASS: test_events.sh -PASS: test_grep_proc.sh PASS: test_grep_proc2 -PASS: test_meta.sh +PASS: test_grep_proc.sh PASS: test_log_accel PASS: test_reltime PASS: test_scripts.sh -PASS: test_json_format.sh -PASS: test_shlexer.sh +PASS: test_meta.sh PASS: test_sessions.sh +PASS: test_shlexer.sh +PASS: test_json_format.sh PASS: test_sql_anno.sh PASS: test_sql_coll_func.sh PASS: test_sql_fs_func.sh @@ -11724,18 +11767,18 @@ PASS: test_sql_search_table.sh PASS: test_sql_json_func.sh PASS: test_sql_time_func.sh -PASS: test_cmds.sh -PASS: test_sql_str_func.sh -PASS: test_sql_yaml_func.sh PASS: test_sql_xml_func.sh +PASS: test_sql_yaml_func.sh PASS: test_text_anonymizer -PASS: test_tui.sh PASS: test_text_file.sh +PASS: test_sql_str_func.sh PASS: test_sql_views_vtab.sh +PASS: test_tui.sh PASS: test_view_colors.sh PASS: test_curl.sh PASS: test_pretty_print.sh PASS: test_data_parser.sh +PASS: test_cmds.sh ============================================================================ Testsuite summary for lnav 0.11.1 ============================================================================ @@ -11757,7 +11800,7 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/lnav/ - make -j3 install DESTDIR=/build/lnav-0.11.1/debian/lnav AM_UPDATE_INFO_DIR=no + make -j4 install DESTDIR=/build/lnav-0.11.1/debian/lnav AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/lnav-0.11.1' Making install in tools make[2]: Entering directory '/build/lnav-0.11.1/tools' @@ -11850,8 +11893,8 @@ mv ./internals/*.schema.json ../docs/schemas; \ fi make[5]: Entering directory '/build/lnav-0.11.1/src' + /usr/bin/mkdir -p '/build/lnav-0.11.1/debian/lnav/usr/bin' make[5]: Nothing to be done for 'install-data-am'. - /bin/mkdir -p '/build/lnav-0.11.1/debian/lnav/usr/bin' /usr/bin/install -c lnav '/build/lnav-0.11.1/debian/lnav/usr/bin' make install-exec-hook make[6]: Entering directory '/build/lnav-0.11.1/src' @@ -11871,7 +11914,7 @@ make[2]: Entering directory '/build/lnav-0.11.1' make[3]: Entering directory '/build/lnav-0.11.1' make[3]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/lnav-0.11.1/debian/lnav/usr/share/man/man1' + /usr/bin/mkdir -p '/build/lnav-0.11.1/debian/lnav/usr/share/man/man1' /usr/bin/install -c -m 644 lnav.1 '/build/lnav-0.11.1/debian/lnav/usr/share/man/man1' make[3]: Leaving directory '/build/lnav-0.11.1' make[2]: Leaving directory '/build/lnav-0.11.1' @@ -11906,12 +11949,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/27812/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/27812/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/29049 and its subdirectories -I: Current time: Wed May 24 11:25:02 -12 2023 -I: pbuilder-time-stamp: 1684970702 +I: removing directory /srv/workspace/pbuilder/27812 and its subdirectories +I: Current time: Thu May 25 14:35:58 +14 2023 +I: pbuilder-time-stamp: 1684974958