Diff of the two buildlogs: -- --- b1/build.log 2021-08-26 20:17:51.225898016 +0000 +++ b2/build.log 2021-08-26 20:19:59.273121468 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Aug 26 08:16:48 -12 2021 -I: pbuilder-time-stamp: 1630009008 +I: Current time: Thu Sep 29 16:40:58 +14 2022 +I: pbuilder-time-stamp: 1664419258 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./fte_0.50.2b6-20110708-4.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.rrL45mLX/trustedkeys.kbx': General error -gpgv: Signature made Wed Feb 3 13:45:25 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.CYOLyOEs/trustedkeys.kbx': General error +gpgv: Signature made Thu Feb 4 15:45:25 2021 +14 gpgv: using RSA key B23862C415D6565A4E86CBD7579C160D4C9E23E8 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./fte_0.50.2b6-20110708-4.dsc @@ -30,135 +30,169 @@ dpkg-source: info: applying properly-pass-compile-flags.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/9152/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/10162/tmp/hooks/D01_modify_environment starting +debug: Running on codethink15-arm64. +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 +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by 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/10162/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/10162/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='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' - DISTRIBUTION='' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='9152' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=10162 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/tmp.kbwmPeY0sd/pbuilderrc_XXEA --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.kbwmPeY0sd/b1 --logfile b1/build.log fte_0.50.2b6-20110708-4.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.kbwmPeY0sd/pbuilderrc_IDhf --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.kbwmPeY0sd/b2 --logfile b2/build.log fte_0.50.2b6-20110708-4.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink16-arm64 4.15.0-154-generic #161-Ubuntu SMP Fri Jul 30 13:01:15 UTC 2021 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-154-generic #161-Ubuntu SMP Fri Jul 30 13:01:15 UTC 2021 aarch64 GNU/Linux I: ls -l /bin total 5252 - -rwxr-xr-x 1 root root 1282512 Aug 4 08:25 bash - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 14264 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 39832 Sep 22 2020 cat - -rwxr-xr-x 1 root root 64512 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 60368 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 64528 Sep 22 2020 chown - -rwxr-xr-x 1 root root 138896 Sep 22 2020 cp - -rwxr-xr-x 1 root root 129544 Dec 10 2020 dash - -rwxr-xr-x 1 root root 101384 Sep 22 2020 date - -rwxr-xr-x 1 root root 80984 Sep 22 2020 dd - -rwxr-xr-x 1 root root 89824 Sep 22 2020 df - -rwxr-xr-x 1 root root 143088 Sep 22 2020 dir - -rwxr-xr-x 1 root root 76152 Jul 28 07:09 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 35632 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 31512 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 64856 Jul 28 07:09 findmnt - -rwsr-xr-x 1 root root 34824 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 178400 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 93744 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 18440 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 68720 Sep 22 2020 ln - -rwxr-xr-x 1 root root 52720 Feb 7 2020 login - -rwxr-xr-x 1 root root 143088 Sep 22 2020 ls - -rwxr-xr-x 1 root root 161960 Jul 28 07:09 lsblk - -rwxr-xr-x 1 root root 85200 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 68744 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 43976 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 51368 Jul 28 07:09 more - -rwsr-xr-x 1 root root 51360 Jul 28 07:09 mount - -rwxr-xr-x 1 root root 14496 Jul 28 07:09 mountpoint - -rwxr-xr-x 1 root root 134808 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 35720 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 08:25 rbash -> bash - -rwxr-xr-x 1 root root 43872 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 68592 Sep 22 2020 rm - -rwxr-xr-x 1 root root 43880 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 19208 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 20 21:25 sh -> dash - -rwxr-xr-x 1 root root 35656 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 72640 Sep 22 2020 stty - -rwsr-xr-x 1 root root 67776 Jul 28 07:09 su - -rwxr-xr-x 1 root root 35672 Sep 22 2020 sync - -rwxr-xr-x 1 root root 535768 Feb 16 2021 tar - -rwxr-xr-x 1 root root 10568 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 89120 Sep 22 2020 touch - -rwxr-xr-x 1 root root 31512 Sep 22 2020 true - -rwxr-xr-x 1 root root 14264 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30880 Jul 28 07:09 umount - -rwxr-xr-x 1 root root 35640 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 143088 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 59584 Jul 28 07:09 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/9152/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1282512 Aug 5 2021 bash + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 14264 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 39832 Sep 23 2020 cat + -rwxr-xr-x 1 root root 64512 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 60368 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 64528 Sep 23 2020 chown + -rwxr-xr-x 1 root root 138896 Sep 23 2020 cp + -rwxr-xr-x 1 root root 129544 Dec 11 2020 dash + -rwxr-xr-x 1 root root 101384 Sep 23 2020 date + -rwxr-xr-x 1 root root 80984 Sep 23 2020 dd + -rwxr-xr-x 1 root root 89824 Sep 23 2020 df + -rwxr-xr-x 1 root root 143088 Sep 23 2020 dir + -rwxr-xr-x 1 root root 76152 Jul 29 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 35632 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 31512 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 64856 Jul 29 2021 findmnt + -rwsr-xr-x 1 root root 34824 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 178400 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 93744 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 18440 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 68720 Sep 23 2020 ln + -rwxr-xr-x 1 root root 52720 Feb 8 2020 login + -rwxr-xr-x 1 root root 143088 Sep 23 2020 ls + -rwxr-xr-x 1 root root 161960 Jul 29 2021 lsblk + -rwxr-xr-x 1 root root 85200 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 68744 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 43976 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 51368 Jul 29 2021 more + -rwsr-xr-x 1 root root 51360 Jul 29 2021 mount + -rwxr-xr-x 1 root root 14496 Jul 29 2021 mountpoint + -rwxr-xr-x 1 root root 134808 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 35720 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 2021 rbash -> bash + -rwxr-xr-x 1 root root 43872 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 68592 Sep 23 2020 rm + -rwxr-xr-x 1 root root 43880 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 19208 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Sep 29 16:41 sh -> bash + lrwxrwxrwx 1 root root 4 Sep 24 05:47 sh.distrib -> dash + -rwxr-xr-x 1 root root 35656 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 72640 Sep 23 2020 stty + -rwsr-xr-x 1 root root 67776 Jul 29 2021 su + -rwxr-xr-x 1 root root 35672 Sep 23 2020 sync + -rwxr-xr-x 1 root root 535768 Feb 17 2021 tar + -rwxr-xr-x 1 root root 10568 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 89120 Sep 23 2020 touch + -rwxr-xr-x 1 root root 31512 Sep 23 2020 true + -rwxr-xr-x 1 root root 14264 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30880 Jul 29 2021 umount + -rwxr-xr-x 1 root root 35640 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 143088 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 59584 Jul 29 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/10162/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -273,7 +307,7 @@ Get: 63 http://deb.debian.org/debian bullseye/main arm64 libxpm-dev arm64 1:3.5.12-1 [100 kB] Get: 64 http://deb.debian.org/debian bullseye/main arm64 libxt6 arm64 1:1.2.0-1 [176 kB] Get: 65 http://deb.debian.org/debian bullseye/main arm64 libxt-dev arm64 1:1.2.0-1 [406 kB] -Fetched 24.5 MB in 2s (9823 kB/s) +Fetched 24.5 MB in 4s (6187 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19646 files and directories currently installed.) @@ -556,7 +590,8 @@ fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/fte-0.50.2b6-20110708/ && 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 > ../fte_0.50.2b6-20110708-4_source.changes +hostname: Temporary failure in name resolution +I: Running cd /build/fte-0.50.2b6-20110708/ && 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 > ../fte_0.50.2b6-20110708-4_source.changes dpkg-buildpackage: info: source package fte dpkg-buildpackage: info: source version 0.50.2b6-20110708-4 dpkg-buildpackage: info: source distribution unstable @@ -597,6 +632,7 @@ c_bind.cpp:107:37: warning: conversion from 'TKeyCode' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 107 | ks.Key = toupper(ks.Key); | ~~~^~~ +g++ -c c_history.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX c_bind.cpp: In function 'int MatchKey(TKeyCode, KeySel)': c_bind.cpp:431:30: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 431 | else if (isascii(key)) @@ -630,13 +666,12 @@ c_bind.cpp:687:55: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 687 | if (view->GetIntVar(Macros[Macro].cmds[Pos].u.num, value) == 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ -g++ -c c_history.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c c_mode.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c egui.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX c_mode.cpp: In function 'EMode* GetModeForName(const char*)': c_mode.cpp:104:14: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] 104 | int l = read(fd, buf, sizeof(buf) - 1); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -c egui.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX c_history.cpp: In function 'int LoadHistory(const char*)': c_history.cpp:129:23: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 129 | r = strtol(p, &e, 10); @@ -667,12 +702,58 @@ | ~~^~~~~~~~~~~~~~~~~~~~ g++ -c e_block.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c e_buffer.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c e_cmds.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX egui.cpp: In member function 'virtual int EGUI::ExecMacro(GxView*, int)': egui.cpp:189:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 189 | for (; State.Pos < m->Count; State.Pos++) { | ~~~~~~~~~~^~~~~~~~~~ -g++ -c e_cvslog.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c e_cmds.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +e_block.cpp: In member function 'int EBuffer::BlockSelectWord()': +e_block.cpp:623:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 623 | if (P >= L->Count) return 0; + | ~~^~~~~~~~~~~ +e_block.cpp:628:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 628 | while ((P < L->Count) && (C == ChClassK(L->Chars[P]))) P++; + | ~~^~~~~~~~~~ +e_block.cpp: In member function 'int EBuffer::BlockWriteTo(const char*, int)': +e_block.cpp:677:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 677 | Z = LL->Count; + | ~~~~^~~~~ +e_block.cpp:692:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 692 | Z = LL->Count; + | ~~~~^~~~~ +e_block.cpp:695:26: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 695 | Z = LL->Count; + | ~~~~^~~~~ +e_block.cpp:703:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 703 | if (A < LL->Count) { + | ~~^~~~~~~~~~~ +e_block.cpp:704:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 704 | if (Z > LL->Count) + | ~~^~~~~~~~~~~ +e_block.cpp:705:29: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 705 | Z = LL->Count; + | ~~~~^~~~~ +e_block.cpp: In function 'int SortProc(const void*, const void*)': +e_block.cpp:797:22: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 797 | int lA = LA->Count; + | ~~~~^~~~~ +e_block.cpp:798:22: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 798 | int lB = LB->Count; + | ~~~~^~~~~ +e_block.cpp:811:22: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 811 | int lA = LA->Count; + | ~~~~^~~~~ +e_block.cpp:812:22: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 812 | int lB = LB->Count; + | ~~~~^~~~~ +e_block.cpp: In member function 'int EBuffer::BlockUnTab()': +e_block.cpp:922:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 922 | while (O < L->Count) { + | ~~^~~~~~~~~~ +e_block.cpp: In member function 'int EBuffer::BlockEnTab()': +e_block.cpp:956:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 956 | while (O < L->Count) { + | ~~^~~~~~~~~~ e_buffer.cpp: In member function 'int EBuffer::LineLen(int)': e_buffer.cpp:593:28: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 593 | return ScreenPos(L, L->Count); @@ -681,17 +762,10 @@ e_buffer.cpp:598:24: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 598 | return RLine(Row)->Count; | ~~~~~~~~~~~~^~~~~ -e_block.cpp: In member function 'int EBuffer::BlockSelectWord()': -e_block.cpp:623:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 623 | if (P >= L->Count) return 0; - | ~~^~~~~~~~~~~ e_buffer.cpp: In member function 'int EBuffer::DelChars(int, int, size_t)': e_buffer.cpp:751:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 751 | if (Ofs >= L->Count) return 0; | ~~~~^~~~~~~~~~~ -e_block.cpp:628:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 628 | while ((P < L->Count) && (C == ChClassK(L->Chars[P]))) P++; - | ~~^~~~~~~~~~ e_buffer.cpp: In member function 'int EBuffer::InsChars(int, int, size_t, const char*)': e_buffer.cpp:787:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 787 | if (Ofs > L->Count) return 0; @@ -703,13 +777,6 @@ e_buffer.cpp:821:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 821 | if (Ofs >= L->Count) | ~~~~^~~~~~~~~~~ -e_block.cpp: In member function 'int EBuffer::BlockWriteTo(const char*, int)': -e_block.cpp:677:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 677 | Z = LL->Count; - | ~~~~^~~~~ -e_block.cpp:692:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 692 | Z = LL->Count; - | ~~~~^~~~~ e_buffer.cpp: In member function 'int EBuffer::ChgChars(int, int, size_t, const char*)': e_buffer.cpp:843:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 843 | if (Ofs > L->Count) return 0; @@ -763,40 +830,6 @@ e_buffer.cpp:956:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 956 | if (Pos < LCol + ACount) { | ~~~~^~~~~~~~~~~~~~~ -e_block.cpp:695:26: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 695 | Z = LL->Count; - | ~~~~^~~~~ -e_block.cpp:703:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 703 | if (A < LL->Count) { - | ~~^~~~~~~~~~~ -e_block.cpp:704:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 704 | if (Z > LL->Count) - | ~~^~~~~~~~~~~ -e_block.cpp:705:29: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 705 | Z = LL->Count; - | ~~~~^~~~~ -e_block.cpp: In function 'int SortProc(const void*, const void*)': -e_block.cpp:797:22: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 797 | int lA = LA->Count; - | ~~~~^~~~~ -e_block.cpp:798:22: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 798 | int lB = LB->Count; - | ~~~~^~~~~ -e_block.cpp:811:22: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 811 | int lA = LA->Count; - | ~~~~^~~~~ -e_block.cpp:812:22: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 812 | int lB = LB->Count; - | ~~~~^~~~~ -e_block.cpp: In member function 'int EBuffer::BlockUnTab()': -e_block.cpp:922:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 922 | while (O < L->Count) { - | ~~^~~~~~~~~~ -e_block.cpp: In member function 'int EBuffer::BlockEnTab()': -e_block.cpp:956:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 956 | while (O < L->Count) { - | ~~^~~~~~~~~~ -g++ -c e_file.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX e_cmds.cpp: In member function 'int EBuffer::MoveWordLeftX(int)': e_cmds.cpp:62:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 62 | if (P > L->Count) P = L->Count; @@ -841,6 +874,7 @@ e_cmds.cpp:184:34: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 184 | if (P > L->Count) P = L->Count; | ~~~^~~~~ +g++ -c e_cvslog.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX e_cmds.cpp: In member function 'int EBuffer::MoveWordOrCapEndRight()': e_cmds.cpp:202:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 202 | if (P >= L->Count) return 0; @@ -920,11 +954,25 @@ e_cmds.cpp:1222:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 1222 | E = ScreenPos(L, L->Count); | ~~~^~~~~ +g++ -c e_file.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c e_fold.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX e_cvslog.cpp: In member function 'void ECvsLog::ListFiles(int&, int, const char*, int, const int*, const int*, const char*, const char*, const char*, int)': e_cvslog.cpp:112:22: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 112 | int i=strlen (title); | ~~~~~~~^~~~~~~ +g++ -c e_line.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +e_line.cpp: In member function 'int EBuffer::ScreenPos(ELine*, int)': +e_line.cpp:53:18: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 53 | int Len = L->Count; + | ~~~^~~~~ +e_line.cpp:65:13: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 65 | Pos += Ofs - L->Count; + | ~~~~^~~~~~~~~~~~~~~~~ +e_line.cpp: In member function 'int EBuffer::CharOffset(ELine*, int)': +e_line.cpp:88:18: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 88 | int Len = L->Count; + | ~~~^~~~~ +g++ -c e_loadsave.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX cfte.cpp: In function 'int LoadFile(const char*, const char*, int)': cfte.cpp:1885:29: warning: 'localconfig/' directive writing 12 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 1885 | sprintf(tmp, "%slocalconfig/%s", StartDir, CfgName); @@ -946,19 +994,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -c e_line.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c e_loadsave.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -e_line.cpp: In member function 'int EBuffer::ScreenPos(ELine*, int)': -e_line.cpp:53:18: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 53 | int Len = L->Count; - | ~~~^~~~~ -e_line.cpp:65:13: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 65 | Pos += Ofs - L->Count; - | ~~~~^~~~~~~~~~~~~~~~~ -e_line.cpp: In member function 'int EBuffer::CharOffset(ELine*, int)': -e_line.cpp:88:18: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 88 | int Len = L->Count; - | ~~~^~~~~ +g++ -c e_mark.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX e_loadsave.cpp: In member function 'int EBuffer::LoadFrom(const char*)': e_loadsave.cpp:147:16: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] 147 | lm += partLen; @@ -1006,30 +1042,9 @@ e_loadsave.cpp:556:62: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 556 | if ((int)(fwrite(L->Chars, 1, L->Count, fp)) != L->Count) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -g++ -c e_mark.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c e_print.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c e_redraw.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c e_regex.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c e_search.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -e_redraw.cpp: In member function 'void EBuffer::Redraw()': -e_redraw.cpp:430:48: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 430 | int NumChars = RLine(ActLine)->Count; - | ~~~~~~~~~~~~~~~~^~~~~ -e_redraw.cpp:434:32: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 434 | int lf = strlen(fName); - | ~~~~~~^~~~~~~ -e_redraw.cpp:485:31: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 485 | int l = strlen(s); - | ~~~~~~^~~ -e_redraw.cpp:487:32: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 487 | int fl = strlen(FileName); - | ~~~~~~^~~~~~~~~~ -e_redraw.cpp:492:36: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 492 | MoveStr(B, W->Cols - strlen(num), W->Cols, num, SColor, W->Cols); - | ~~~~~~~~^~~~~~~~~~~~~ -e_redraw.cpp:494:20: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 494 | fw -= strlen(num); - | ~~~^~~~~~~~~~~~~~ e_print.cpp: In member function 'int EBuffer::BlockPrint()': e_print.cpp:51:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 51 | Z = LL->Count; @@ -1059,8 +1074,29 @@ e_print.cpp:166:33: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 166 | BChars += RLine(l)->Count; | ^~~~~ +e_redraw.cpp: In member function 'void EBuffer::Redraw()': +e_redraw.cpp:430:48: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 430 | int NumChars = RLine(ActLine)->Count; + | ~~~~~~~~~~~~~~~~^~~~~ +e_redraw.cpp:434:32: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 434 | int lf = strlen(fName); + | ~~~~~~^~~~~~~ +e_redraw.cpp:485:31: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 485 | int l = strlen(s); + | ~~~~~~^~~ +e_redraw.cpp:487:32: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 487 | int fl = strlen(FileName); + | ~~~~~~^~~~~~~~~~ +e_redraw.cpp:492:36: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 492 | MoveStr(B, W->Cols - strlen(num), W->Cols, num, SColor, W->Cols); + | ~~~~~~~~^~~~~~~~~~~~~ +e_redraw.cpp:494:20: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 494 | fw -= strlen(num); + | ~~~^~~~~~~~~~~~~~ +g++ -c e_search.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c e_svnlog.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c e_tags.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c e_trans.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX e_search.cpp: In member function 'int EBuffer::FindStr(const char*, int, SearchReplaceOptions&)': e_search.cpp:148:23: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] 148 | int Options = opt.Options; @@ -1143,7 +1179,6 @@ e_search.cpp:1175:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1175 | while (len < int(sizeof(word)) && P < L->Count && (ChClass(L->Chars[P]) == 1 || L->Chars[P] == '_')) | ~~^~~~~~~~~~ -g++ -c e_trans.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX e_svnlog.cpp: In member function 'void ESvnLog::ListFiles(int&, int, const char*, int, const int*, const int*, const char*, const char*, const char*, int)': e_svnlog.cpp:119:21: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 119 | InsText (p,i+=5,5, " file"); @@ -1157,6 +1192,32 @@ e_svnlog.cpp:123:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 123 | for (i=0;iCount; + | ~~~~^~~~~ +e_trans.cpp:126:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 126 | E = LL->Count; + | ~~~~^~~~~ +e_trans.cpp:132:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 132 | E = LL->Count; + | ~~~~^~~~~ +e_trans.cpp:136:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 136 | if (B > LL->Count) + | ~~^~~~~~~~~~~ +e_trans.cpp:137:21: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 137 | B = LL->Count; + | ~~~~^~~~~ +e_trans.cpp:138:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 138 | if (E > LL->Count) + | ~~^~~~~~~~~~~ +e_trans.cpp:139:21: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 139 | E = LL->Count; + | ~~~~^~~~~ +e_trans.cpp: In member function 'int EBuffer::LineTrans(unsigned char*)': +e_trans.cpp:166:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 166 | for (I = 0; I < L->Count; I++) + | ~~^~~~~~~~~~ e_tags.cpp: In function 'int AllocMem(const char*, size_t, int*)': e_tags.cpp:72:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 72 | while (N < (TagLen + Len)) @@ -1190,32 +1251,6 @@ 508 | int l = strlen(TagMem + TagD[TagI[N]].Tag) - len; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ g++ -c e_undo.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -e_trans.cpp: In member function 'int EBuffer::BlockTrans(unsigned char*)': -e_trans.cpp:110:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 110 | E = LL->Count; - | ~~~~^~~~~ -e_trans.cpp:126:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 126 | E = LL->Count; - | ~~~~^~~~~ -e_trans.cpp:132:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 132 | E = LL->Count; - | ~~~~^~~~~ -e_trans.cpp:136:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 136 | if (B > LL->Count) - | ~~^~~~~~~~~~~ -e_trans.cpp:137:21: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 137 | B = LL->Count; - | ~~~~^~~~~ -e_trans.cpp:138:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 138 | if (E > LL->Count) - | ~~^~~~~~~~~~~ -e_trans.cpp:139:21: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 139 | E = LL->Count; - | ~~~~^~~~~ -e_trans.cpp: In member function 'int EBuffer::LineTrans(unsigned char*)': -e_trans.cpp:166:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 166 | for (I = 0; I < L->Count; I++) - | ~~^~~~~~~~~~ e_undo.cpp: In member function 'int EBuffer::PushUData(const void*, size_t)': e_undo.cpp:124:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 124 | while (Order < (US.Top[N] + len)) Order <<= 1; @@ -1329,10 +1364,6 @@ h_ada.cpp:55:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 55 | if ((x < Line->Count) && (Line->Chars[x] == '(')) { | ~~^~~~~~~~~~~~~ -h_fte.cpp: In function 'int Hilit_FTE(EBuffer*, int, PCell, int, int, ELine*, hlState&, hsState*, int*)': -h_fte.cpp:32:16: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 32 | int len1 = len; - | ^~~ h_c.cpp: In function 'int Hilit_C(EBuffer*, int, PCell, int, int, ELine*, hlState&, hsState*, int*)': h_c.cpp:44:16: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 44 | int len1 = len; @@ -1352,11 +1383,14 @@ h_c.cpp:81:46: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 81 | && (x == Line->Count - 1 | ~~^~~~~~~~~~~~~~~~~~ +h_fte.cpp: In function 'int Hilit_FTE(EBuffer*, int, PCell, int, int, ELine*, hlState&, hsState*, int*)': +h_fte.cpp:32:16: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 32 | int len1 = len; + | ^~~ h_c.cpp: In function 'int LookAt(EBuffer*, int, unsigned int, const char*, hsState, int, int)': h_c.cpp:368:43: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 368 | unsigned uLineLength = B->RLine(Row)->Count; | ~~~~~~~~~~~~~~~^~~~~ -g++ -c h_make.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX h_c.cpp: In function 'int CheckLabel(EBuffer*, int)': h_c.cpp:470:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 470 | while ((P < L->Count) && @@ -1394,32 +1428,28 @@ h_c.cpp:897:36: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 897 | L = B->RLine(Row)->Count; | ~~~~~~~~~~~~~~~^~~~~ -g++ -c h_msg.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c h_pascal.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c h_make.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX h_make.cpp: In function 'int Hilit_MAKE(EBuffer*, int, PCell, int, int, ELine*, hlState&, hsState*, int*)': h_make.cpp:24:16: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 24 | int len1 = len; | ^~~ -fte.cpp: In function 'int main(int, char**)': -fte.cpp:315:16: warning: ignoring return value of 'int seteuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 315 | seteuid(getuid()); - | ~~~~~~~^~~~~~~~~~ -fte.cpp:317:16: warning: ignoring return value of 'int setegid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 317 | setegid(getgid()); - | ~~~~~~~^~~~~~~~~~ +e_search.cpp: In member function 'int EBuffer::SearchWord(int)': +e_search.cpp:1160:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] + 1160 | word[len] = 0; + | ~~~~~~~~~~^~~ +e_search.cpp:1150:10: note: at offset 513 to object 'word' with size 513 declared here + 1150 | char word[MAXSEARCH + 1]; + | ^~~~ +g++ -c h_msg.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +e_search.cpp: In member function 'int EBuffer::FindTagWord(ExState&)': +e_search.cpp:1177:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] + 1177 | word[len] = 0; + | ~~~~~~~~~~^~~ +e_search.cpp:1168:10: note: at offset 513 to object 'word' with size 513 declared here + 1168 | char word[MAXSEARCH + 1]; + | ^~~~ +g++ -c h_pascal.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c h_perl.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c h_plain.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c h_rexx.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -h_msg.cpp: In function 'int Hilit_MSG(EBuffer*, int, PCell, int, int, ELine*, hlState&, hsState*, int*)': -h_msg.cpp:133:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 133 | if (Pos < Line->Count) { - | ~~~~^~~~~~~~~~~~~ -h_msg.cpp:134:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 134 | if (Pos + Width < Line->Count) { - | ~~~~~~~~~~~~^~~~~~~~~~~~~ -h_msg.cpp:146:19: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 146 | C = Line->Count; - | ~~~~~~^~~~~ h_perl.cpp: In function 'int Hilit_PERL(EBuffer*, int, PCell, int, int, ELine*, hlState&, hsState*, int*)': h_perl.cpp:241:31: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 241 | x = i + j; @@ -1433,13 +1463,24 @@ h_perl.cpp:455:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 455 | hereDocKeyLen < len && ( | ~~~~~~~~~~~~~~^~~~~ -e_search.cpp: In member function 'int EBuffer::SearchWord(int)': -e_search.cpp:1160:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] - 1160 | word[len] = 0; - | ~~~~~~~~~~^~~ -e_search.cpp:1150:10: note: at offset 513 to object 'word' with size 513 declared here - 1150 | char word[MAXSEARCH + 1]; - | ^~~~ +g++ -c h_plain.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +h_msg.cpp: In function 'int Hilit_MSG(EBuffer*, int, PCell, int, int, ELine*, hlState&, hsState*, int*)': +h_msg.cpp:133:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 133 | if (Pos < Line->Count) { + | ~~~~^~~~~~~~~~~~~ +h_msg.cpp:134:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 134 | if (Pos + Width < Line->Count) { + | ~~~~~~~~~~~~^~~~~~~~~~~~~ +h_msg.cpp:146:19: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 146 | C = Line->Count; + | ~~~~~~^~~~~ +fte.cpp: In function 'int main(int, char**)': +fte.cpp:315:16: warning: ignoring return value of 'int seteuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 315 | seteuid(getuid()); + | ~~~~~~~^~~~~~~~~~ +fte.cpp:317:16: warning: ignoring return value of 'int setegid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 317 | setegid(getgid()); + | ~~~~~~~^~~~~~~~~~ h_plain.cpp: In function 'int Hilit_Plain(EBuffer*, int, PCell, int, int, ELine*, hlState&, hsState*, int*)': h_plain.cpp:65:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 65 | if (Pos < Line->Count) { @@ -1450,70 +1491,9 @@ h_plain.cpp:78:19: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 78 | C = Line->Count; | ~~~~~~^~~~~ -h_rexx.cpp: In function 'int Hilit_REXX(EBuffer*, int, PCell, int, int, ELine*, hlState&, hsState*, int*)': -h_rexx.cpp:79:35: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 79 | x = i + j; - | ~~^~~ -h_rexx.cpp:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 80 | if ((x < Line->Count) && (Line->Chars[x] == '(')) { - | ~~^~~~~~~~~~~~~ +g++ -c h_rexx.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c h_sh.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -h_rexx.cpp: In function 'int Match(int, int, hsState*, const char*, const char*, hsState)': -h_rexx.cpp:162:19: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 162 | int L = strlen(String); - | ~~~~~~^~~~~~~~ -h_rexx.cpp: In function 'int Match2(int, int, hsState*, const char*, const char*, hsState)': -h_rexx.cpp:172:19: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 172 | int L = strlen(String); - | ~~~~~~^~~~~~~~ -h_rexx.cpp: In function 'int SearchMatch(int, EBuffer*, int, int)': -h_rexx.cpp:202:28: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 202 | L = B->RLine(Row)->Count; - | ~~~~~~~~~~~~~~~^~~~~ -h_rexx.cpp:215:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 215 | if (StateMap) - | ^~ -h_rexx.cpp:217:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 217 | if( Ctx == 3 ) - | ^~ -e_search.cpp: In member function 'int EBuffer::FindTagWord(ExState&)': -e_search.cpp:1177:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] - 1177 | word[len] = 0; - | ~~~~~~~~~~^~~ -e_search.cpp:1168:10: note: at offset 513 to object 'word' with size 513 declared here - 1168 | char word[MAXSEARCH + 1]; - | ^~~~ -h_rexx.cpp: In function 'int CheckLabel(EBuffer*, int)': -h_rexx.cpp:262:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 262 | while ((P < L->Count) && - | ~~^~~~~~~~~~ -h_rexx.cpp:264:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 264 | while (P < L->Count) { - | ~~^~~~~~~~~~ -h_rexx.cpp: In function 'int SearchBackContext(EBuffer*, int, char&)': -h_rexx.cpp:286:28: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 286 | L = B->RLine(Row)->Count; - | ~~~~~~~~~~~~~~~^~~~~ g++ -c h_simple.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -h_sh.cpp: In function 'int Hilit_SH(EBuffer*, int, PCell, int, int, ELine*, hlState&, hsState*, int*)': -h_sh.cpp:69:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 69 | while (len > j - | ~~~~^~~ -h_sh.cpp:175:36: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 175 | while (len > j && (isspace(p[j]) || p[j] == '\'' || p[j] == '"')) - | ~~~~^~~ -h_sh.cpp:178:36: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 178 | while (len > j && !(isspace(p[j]) || p[j] == '\'' || p[j] == '"')) - | ~~~~^~~ -h_sh.cpp:180:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 180 | if (len > j && (p[j] == '\'' || p[j] == '"')) j++; - | ~~~~^~~ -h_sh.cpp:270:23: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 270 | j += len - 1; - | ~~^~~~~~~~~~ -g++ -c h_tex.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c indent.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c i_ascii.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX h_simple.cpp: In function 'int Hilit_SIMPLE(EBuffer*, int, PCell, int, int, ELine*, hlState&, hsState*, int*)': h_simple.cpp:42:17: warning: conversion from 'int' to 'ChColor' {aka 'unsigned char'} may change value [-Wconversion] 42 | Color = st->color; @@ -1587,32 +1567,71 @@ h_simple.cpp:268:21: warning: conversion from 'int' to 'hlState' {aka 'short unsigned int'} may change value [-Wconversion] 268 | State = nextState; | ^~~~~~~~~ -g++ -c i_choice.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c i_complete.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c h_tex.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +h_rexx.cpp: In function 'int Hilit_REXX(EBuffer*, int, PCell, int, int, ELine*, hlState&, hsState*, int*)': +h_rexx.cpp:79:35: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 79 | x = i + j; + | ~~^~~ +h_rexx.cpp:80:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 80 | if ((x < Line->Count) && (Line->Chars[x] == '(')) { + | ~~^~~~~~~~~~~~~ +h_sh.cpp: In function 'int Hilit_SH(EBuffer*, int, PCell, int, int, ELine*, hlState&, hsState*, int*)': +h_sh.cpp:69:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 69 | while (len > j + | ~~~~^~~ +h_rexx.cpp: In function 'int Match(int, int, hsState*, const char*, const char*, hsState)': +h_rexx.cpp:162:19: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 162 | int L = strlen(String); + | ~~~~~~^~~~~~~~ +h_rexx.cpp: In function 'int Match2(int, int, hsState*, const char*, const char*, hsState)': +h_rexx.cpp:172:19: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 172 | int L = strlen(String); + | ~~~~~~^~~~~~~~ +h_rexx.cpp: In function 'int SearchMatch(int, EBuffer*, int, int)': +h_rexx.cpp:202:28: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 202 | L = B->RLine(Row)->Count; + | ~~~~~~~~~~~~~~~^~~~~ +h_rexx.cpp:215:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 215 | if (StateMap) + | ^~ +h_rexx.cpp:217:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 217 | if( Ctx == 3 ) + | ^~ +h_rexx.cpp: In function 'int CheckLabel(EBuffer*, int)': +h_rexx.cpp:262:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 262 | while ((P < L->Count) && + | ~~^~~~~~~~~~ +h_rexx.cpp:264:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 264 | while (P < L->Count) { + | ~~^~~~~~~~~~ +h_rexx.cpp: In function 'int SearchBackContext(EBuffer*, int, char&)': +h_rexx.cpp:286:28: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 286 | L = B->RLine(Row)->Count; + | ~~~~~~~~~~~~~~~^~~~~ +h_sh.cpp:175:36: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 175 | while (len > j && (isspace(p[j]) || p[j] == '\'' || p[j] == '"')) + | ~~~~^~~ +h_sh.cpp:178:36: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 178 | while (len > j && !(isspace(p[j]) || p[j] == '\'' || p[j] == '"')) + | ~~~~^~~ +h_sh.cpp:180:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 180 | if (len > j && (p[j] == '\'' || p[j] == '"')) j++; + | ~~~~^~~ +h_sh.cpp:270:23: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 270 | j += len - 1; + | ~~^~~~~~~~~~ +g++ -c indent.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX h_simple.cpp:72:29: warning: 'iterCount' may be used uninitialized in this function [-Wmaybe-uninitialized] 72 | if (++iterCount > hm->stateCount) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ h_simple.cpp:77:28: warning: 'entryState' may be used uninitialized in this function [-Wmaybe-uninitialized] 77 | BF->Msg(S_INFO, "Hiliter looping at line %d, column %d, entry state %d", LN + 1, i + 1, entryState); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -c i_ascii.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c i_choice.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c i_complete.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c i_input.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c i_key.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -i_complete.cpp: In member function 'int ExComplete::DoCompleteWord()': -i_complete.cpp:78:36: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 78 | && Buffer->SetPos(Orig.Col + l, Orig.Row)) { - | ~~~~~~~~~^~~ -i_complete.cpp: In member function 'int ExComplete::RefreshComplete()': -i_complete.cpp:267:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 267 | if (!P || P > L->Count) - | ~~^~~~~~~~~~ -i_complete.cpp:297:48: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] - 297 | while (Buffer->FindStr(L->Chars + P, wlen, mask) == 1) { - | ^~~~ -i_complete.cpp:307:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 307 | while ((XL < M->Count) && CheckASCII(M->Chars[XL])) - | ~~~^~~~~~~~~~ -g++ -c i_modelview.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c i_oview.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX i_input.cpp: In constructor 'ExInput::ExInput(const char*, const char*, size_t, Completer, int, int)': i_input.cpp:37:17: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 37 | Pos = strlen(Line); @@ -1643,6 +1662,22 @@ i_input.cpp:248:21: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 248 | Pos = strlen(Line); | ~~~~~~^~~~~~ +i_complete.cpp: In member function 'int ExComplete::DoCompleteWord()': +i_complete.cpp:78:36: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 78 | && Buffer->SetPos(Orig.Col + l, Orig.Row)) { + | ~~~~~~~~~^~~ +i_complete.cpp: In member function 'int ExComplete::RefreshComplete()': +i_complete.cpp:267:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 267 | if (!P || P > L->Count) + | ~~^~~~~~~~~~ +g++ -c i_modelview.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +i_complete.cpp:297:48: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] + 297 | while (Buffer->FindStr(L->Chars + P, wlen, mask) == 1) { + | ^~~~ +i_complete.cpp:307:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 307 | while ((XL < M->Count) && CheckASCII(M->Chars[XL])) + | ~~~^~~~~~~~~~ +g++ -c i_oview.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c i_search.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c i_view.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c log.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX @@ -1661,6 +1696,10 @@ 215 | rc = DLGPickChoice(this, Title, NSel, ap, Flags); | ^~~~~ g++ -c o_cvs.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +o_buflist.cpp: In member function 'virtual void BufferView::HandleEvent(TEvent&)': +o_buflist.cpp:209:63: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] + 209 | if (isAscii(Event.Key.Code) && (SearchLen < ExISearch::MAXISEARCH)) { + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ i_search.cpp: In member function 'virtual void ExISearch::RepaintStatus()': i_search.cpp:159:26: warning: '%s' directive writing up to 256 bytes into a region of size 248 [-Wformat-overflow=] 159 | sprintf(s, "ISearch [%s]%s", ISearchStr, p); @@ -1672,10 +1711,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -o_buflist.cpp: In member function 'virtual void BufferView::HandleEvent(TEvent&)': -o_buflist.cpp:209:63: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] - 209 | if (isAscii(Event.Key.Code) && (SearchLen < ExISearch::MAXISEARCH)) { - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ o_buffer.cpp: In member function 'virtual void EEditPort::HandleEvent(TEvent&)': o_buffer.cpp:175:42: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 175 | Buffer->ScrollDown(Event.Msg.Param1); @@ -1743,6 +1778,8 @@ | ~^~~~~~~~~~ g++ -c o_cvsbase.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c o_cvsdiff.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c o_directory.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c o_list.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX o_cvsbase.cpp: In member function 'void ECvsBase::AddLine(const char*, int, const char*, int)': o_cvsbase.cpp:94:19: warning: conversion from 'int' to 'char' may change value [-Wconversion] 94 | l->Status=status; @@ -1778,40 +1815,6 @@ o_cvsbase.cpp:362:55: warning: conversion from 'int' to 'char' may change value [-Wconversion] 362 | if (Lines[Line]->Status&4) Lines[Line]->Status&=~2; | ~~~~~~~~~~~~~~~~~~~^~~~ -o_buffer.cpp: In member function 'int EBuffer::MoveToLine(ExState&)': -o_buffer.cpp:704:23: warning: '%d' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] - 704 | sprintf(Num, "%d", VToR(CP.Row) + 1); - | ^~ -o_buffer.cpp:704:22: note: directive argument in the range [-2147483647, 2147483647] - 704 | sprintf(Num, "%d", VToR(CP.Row) + 1); - | ^~~~ -In file included from /usr/include/stdio.h:867, - from e_mark.h:6, - from o_buffer.cpp:13: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 2 and 12 bytes into a destination of size 10 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -o_buffer.cpp: In member function 'int EBuffer::MoveToColumn(ExState&)': -o_buffer.cpp:718:23: warning: '%d' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] - 718 | sprintf(Num, "%d", CP.Col + 1); - | ^~ -o_buffer.cpp:718:22: note: directive argument in the range [-2147483647, 2147483647] - 718 | sprintf(Num, "%d", CP.Col + 1); - | ^~~~ -In file included from /usr/include/stdio.h:867, - from e_mark.h:6, - from o_buffer.cpp:13: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 2 and 12 bytes into a destination of size 10 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -c o_directory.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c o_list.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c o_messages.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c o_model.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX o_list.cpp: In member function 'virtual void EListPort::HandleEvent(TEvent&)': o_list.cpp:63:40: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 63 | List->ScrollDown(Event.Msg.Param1); @@ -1839,12 +1842,13 @@ o_list.cpp:514:23: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 514 | len = GetRowLength(Row); | ~~~~~~~~~~~~^~~~~ -o_buffer.cpp: In member function 'int EBuffer::ChangeRightMargin(ExState&)': -o_buffer.cpp:1281:23: warning: '%d' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] - 1281 | sprintf(Num, "%d", BFI(this, BFI_RightMargin) + 1); +g++ -c o_messages.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +o_buffer.cpp: In member function 'int EBuffer::MoveToLine(ExState&)': +o_buffer.cpp:704:23: warning: '%d' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] + 704 | sprintf(Num, "%d", VToR(CP.Row) + 1); | ^~ -o_buffer.cpp:1281:22: note: directive argument in the range [-2147483647, 2147483647] - 1281 | sprintf(Num, "%d", BFI(this, BFI_RightMargin) + 1); +o_buffer.cpp:704:22: note: directive argument in the range [-2147483647, 2147483647] + 704 | sprintf(Num, "%d", VToR(CP.Row) + 1); | ^~~~ In file included from /usr/include/stdio.h:867, from e_mark.h:6, @@ -1854,12 +1858,12 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -o_buffer.cpp: In member function 'int EBuffer::ChangeLeftMargin(ExState&)': -o_buffer.cpp:1296:23: warning: '%d' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] - 1296 | sprintf(Num, "%d", BFI(this, BFI_LeftMargin) + 1); +o_buffer.cpp: In member function 'int EBuffer::MoveToColumn(ExState&)': +o_buffer.cpp:718:23: warning: '%d' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] + 718 | sprintf(Num, "%d", CP.Col + 1); | ^~ -o_buffer.cpp:1296:22: note: directive argument in the range [-2147483647, 2147483647] - 1296 | sprintf(Num, "%d", BFI(this, BFI_LeftMargin) + 1); +o_buffer.cpp:718:22: note: directive argument in the range [-2147483647, 2147483647] + 718 | sprintf(Num, "%d", CP.Col + 1); | ^~~~ In file included from /usr/include/stdio.h:867, from e_mark.h:6, @@ -1886,32 +1890,46 @@ o_messages.cpp:430:38: warning: conversion from 'fte::vector::size_type' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 430 | for (unsigned i = DirLevel.size(); i-- > 0;) { | ~~~~~~~~~~~~~^~ +g++ -c o_model.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c o_modemap.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c o_routine.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c o_svn.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -o_directory.cpp: In member function 'virtual void EDirectory::HandleEvent(TEvent&)': -o_directory.cpp:348:55: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] - 348 | if (isAscii(Event.Key.Code) && (SearchLen < ExISearch::MAXISEARCH)) { - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -o_directory.cpp: In member function 'virtual void EDirectory::DrawLine(PCell, int, int, ChColor, int)': -o_directory.cpp:85:31: warning: '%8ld' directive writing between 8 and 20 bytes into a region of size 16 [-Wformat-overflow=] - 85 | sprintf(SizeStr, "%8ld", (long) Size); - | ^~~~ -o_directory.cpp:85:30: note: directive argument in the range [-9223372036854775808, 10485759] - 85 | sprintf(SizeStr, "%8ld", (long) Size); - | ^~~~~~ +o_buffer.cpp: In member function 'int EBuffer::ChangeRightMargin(ExState&)': +o_buffer.cpp:1281:23: warning: '%d' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] + 1281 | sprintf(Num, "%d", BFI(this, BFI_RightMargin) + 1); + | ^~ +o_buffer.cpp:1281:22: note: directive argument in the range [-2147483647, 2147483647] + 1281 | sprintf(Num, "%d", BFI(this, BFI_RightMargin) + 1); + | ^~~~ In file included from /usr/include/stdio.h:867, - from o_directory.cpp:10: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 9 and 21 bytes into a destination of size 16 + from e_mark.h:6, + from o_buffer.cpp:13: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 2 and 12 bytes into a destination of size 10 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +o_buffer.cpp: In member function 'int EBuffer::ChangeLeftMargin(ExState&)': +o_buffer.cpp:1296:23: warning: '%d' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] + 1296 | sprintf(Num, "%d", BFI(this, BFI_LeftMargin) + 1); + | ^~ +o_buffer.cpp:1296:22: note: directive argument in the range [-2147483647, 2147483647] + 1296 | sprintf(Num, "%d", BFI(this, BFI_LeftMargin) + 1); + | ^~~~ +In file included from /usr/include/stdio.h:867, + from e_mark.h:6, + from o_buffer.cpp:13: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 2 and 12 bytes into a destination of size 10 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c o_svnbase.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +o_directory.cpp: In member function 'virtual void EDirectory::HandleEvent(TEvent&)': +o_directory.cpp:348:55: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] + 348 | if (isAscii(Event.Key.Code) && (SearchLen < ExISearch::MAXISEARCH)) { + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -c o_svndiff.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c stl_string.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c s_direct.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c s_util.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX o_svnbase.cpp: In member function 'int ESvnBase::GetLine(char*, size_t)': o_svnbase.cpp:172:20: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] 172 | BufLen += rc; @@ -1929,16 +1947,31 @@ o_svnbase.cpp:363:55: warning: conversion from 'int' to 'char' may change value [-Wconversion] 363 | if (Lines[Line]->Status&4) Lines[Line]->Status&=~2; | ~~~~~~~~~~~~~~~~~~~^~~~ +g++ -c stl_string.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c s_direct.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c s_util.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c view.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +o_directory.cpp: In member function 'virtual void EDirectory::DrawLine(PCell, int, int, ChColor, int)': +o_directory.cpp:85:31: warning: '%8ld' directive writing between 8 and 20 bytes into a region of size 16 [-Wformat-overflow=] + 85 | sprintf(SizeStr, "%8ld", (long) Size); + | ^~~~ +o_directory.cpp:85:30: note: directive argument in the range [-9223372036854775808, 10485759] + 85 | sprintf(SizeStr, "%8ld", (long) Size); + | ^~~~~~ +In file included from /usr/include/stdio.h:867, + from o_directory.cpp:10: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 9 and 21 bytes into a destination of size 16 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c e_unix.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c memicmp.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c clip_x11.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX s_util.cpp: In function 'int copyfile(const char*, const char*)': s_util.cpp:40:22: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] 40 | while ((rd = read(fd1, buffer, BUF_SZ)) > 0) { | ~~~~^~~~~~~~~~~~~~~~~~~~~ -g++ -c con_i18n.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c con_x11.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c memicmp.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c clip_x11.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX e_unix.cpp: In member function 'int EView::SysShowHelp(ExState&, const char*)': e_unix.cpp:48:54: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 891 and 1018 [-Wformat-truncation=] 48 | snprintf(command, sizeof(command)-1, "%s %s %s >'%s' 2>&1", HelpCommand, options, word, file); @@ -1950,16 +1983,13 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -c con_i18n.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c con_x11.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c g_nodlg.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c g_text.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c g_unix_pipe.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c menu_text.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c clip_no.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c con_linux.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g_text.cpp: In member function 'void GUI::ProcessEvent()': -g_text.cpp:1201:46: warning: conversion from 'long int' to 'int' may change value [-Wconversion] - 1201 | if (::ExecVertMenu(x, y, id, E, 0) != 1) { - | ^~ menu_text.cpp: In function 'int ExecVertMenu(int, int, int, TEvent&, UpMenu*)': menu_text.cpp:305:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 305 | if (cur >= Menus[id].Count) cur = 0; @@ -1977,6 +2007,11 @@ menu_text.cpp:582:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 582 | for (i = 0; i < Menus[id].Count; i++) { | ~~^~~~~~~~~~~~~~~~~ +g_text.cpp: In member function 'void GUI::ProcessEvent()': +g_text.cpp:1201:46: warning: conversion from 'long int' to 'int' may change value [-Wconversion] + 1201 | if (::ExecVertMenu(x, y, id, E, 0) != 1) { + | ^~ +g++ -c con_linux.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c con_ncurses.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c compkeys.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX con_linux.cpp: In function 'int ConInit(int, int)': @@ -2023,11 +2058,11 @@ con_linux.cpp:233:12: warning: ignoring return value of 'int setgid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 233 | setgid(getgid()); | ~~~~~~^~~~~~~~~~ -g++ -c con_slang.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX con_linux.cpp: In function 'int ConSetCursorPos(int, int)': con_linux.cpp:473:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 473 | write(VcsFd, pos, 2); | ~~~~~^~~~~~~~~~~~~~~ +g++ -c con_slang.cpp -g -O2 -fdebug-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX con_ncurses.cpp: In function 'void SaveScreen()': con_ncurses.cpp:67:81: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class TCell'; use assignment or value-initialization instead [-Wclass-memaccess] 67 | memset(SavedScreen[i] + MaxSavedW, 0, (NewSavedW - MaxSavedW) * sizeof(TCell)); @@ -2210,15 +2245,15 @@ dh_gencontrol dh_md5sums dh_builddeb +dpkg-deb: building package 'fte-console-dbgsym' in '../fte-console-dbgsym_0.50.2b6-20110708-4_arm64.deb'. +dpkg-deb: building package 'fte-terminal-dbgsym' in '../fte-terminal-dbgsym_0.50.2b6-20110708-4_arm64.deb'. +dpkg-deb: building package 'fte-xwindow-dbgsym' in '../fte-xwindow-dbgsym_0.50.2b6-20110708-4_arm64.deb'. dpkg-deb: building package 'fte' in '../fte_0.50.2b6-20110708-4_arm64.deb'. dpkg-deb: building package 'fte-docs' in '../fte-docs_0.50.2b6-20110708-4_all.deb'. -dpkg-deb: building package 'fte-xwindow-dbgsym' in '../fte-xwindow-dbgsym_0.50.2b6-20110708-4_arm64.deb'. -dpkg-deb: building package 'fte-terminal-dbgsym' in '../fte-terminal-dbgsym_0.50.2b6-20110708-4_arm64.deb'. -dpkg-deb: building package 'fte-console-dbgsym' in '../fte-console-dbgsym_0.50.2b6-20110708-4_arm64.deb'. -dpkg-deb: building package 'fte-xwindow' in '../fte-xwindow_0.50.2b6-20110708-4_arm64.deb'. dpkg-deb: building package 'fte-dbgsym' in '../fte-dbgsym_0.50.2b6-20110708-4_arm64.deb'. -dpkg-deb: building package 'fte-terminal' in '../fte-terminal_0.50.2b6-20110708-4_arm64.deb'. +dpkg-deb: building package 'fte-xwindow' in '../fte-xwindow_0.50.2b6-20110708-4_arm64.deb'. dpkg-deb: building package 'fte-console' in '../fte-console_0.50.2b6-20110708-4_arm64.deb'. +dpkg-deb: building package 'fte-terminal' in '../fte-terminal_0.50.2b6-20110708-4_arm64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../fte_0.50.2b6-20110708-4_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2226,12 +2261,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/10162/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/10162/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/9152 and its subdirectories -I: Current time: Thu Aug 26 08:17:49 -12 2021 -I: pbuilder-time-stamp: 1630009069 +I: removing directory /srv/workspace/pbuilder/10162 and its subdirectories +I: Current time: Thu Sep 29 16:42:57 +14 2022 +I: pbuilder-time-stamp: 1664419377