Diff of the two buildlogs: -- --- b1/build.log 2024-10-18 21:31:51.510167874 +0000 +++ b2/build.log 2024-10-18 21:32:34.180641433 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Oct 18 09:31:15 -12 2024 -I: pbuilder-time-stamp: 1729287075 +I: Current time: Fri Nov 21 17:54:53 +14 2025 +I: pbuilder-time-stamp: 1763697293 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -31,52 +31,84 @@ dpkg-source: info: applying strlcpy.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2111512/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1184063/tmp/hooks/D01_modify_environment starting +debug: Running on codethink01-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 +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Nov 21 03:55 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1184063/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1184063/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + 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 parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='ff4928159e25491993ea2d3e516771ec' - 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='2111512' - PS1='# ' - PS2='> ' + INVOCATION_ID=1a91280437e0481aaf37b557d6f7e923 + 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=1184063 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.rLelrDu9/pbuilderrc_KkJ5 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.rLelrDu9/b1 --logfile b1/build.log fte_0.50.2b6-20110708-6.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.rLelrDu9/pbuilderrc_LsKu --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.rLelrDu9/b2 --logfile b2/build.log fte_0.50.2b6-20110708-6.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink02-arm64 6.1.0-26-cloud-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-cloud-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2111512/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1184063/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -185,7 +217,7 @@ Get: 57 http://deb.debian.org/debian trixie/main arm64 libxpm-dev arm64 1:3.5.17-1+b1 [128 kB] Get: 58 http://deb.debian.org/debian trixie/main arm64 libxt6t64 arm64 1:1.2.1-1.2 [172 kB] Get: 59 http://deb.debian.org/debian trixie/main arm64 libxt-dev arm64 1:1.2.1-1.2 [403 kB] -Fetched 26.9 MB in 0s (136 MB/s) +Fetched 26.9 MB in 0s (155 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19909 files and directories currently installed.) @@ -438,7 +470,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/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-6_source.changes +I: user script /srv/workspace/pbuilder/1184063/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1184063/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/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-6_source.changes dpkg-buildpackage: info: source package fte dpkg-buildpackage: info: source version 0.50.2b6-20110708-6 dpkg-buildpackage: info: source distribution unstable @@ -485,6 +521,12 @@ stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ +In file included from fte.h:39, + from sysdep.h:13, + from s_files.cpp:12: +stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 161 | vector() : + | ^ stl_fte.h:161:17: note: remove the '< >' stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 166 | vector(size_type prealloc) : @@ -493,10 +535,66 @@ stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 173 | vector(const vector& t) : | ^ +stl_fte.h:161:17: note: remove the '< >' +stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 166 | vector(size_type prealloc) : + | ^~~~~~~~~ +stl_fte.h:166:18: note: remove the '< >' +stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 173 | vector(const vector& t) : + | ^ +stl_fte.h:173:17: note: remove the '< >' stl_fte.h:173:17: note: remove the '< >' In file included from fte.h:39, from sysdep.h:13, - from s_files.cpp:12: + from c_config.h:13, + from e_block.cpp:10: +stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 161 | vector() : + | ^ +stl_fte.h:161:17: note: remove the '< >' +stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 166 | vector(size_type prealloc) : + | ^~~~~~~~~ +stl_fte.h:166:18: note: remove the '< >' +stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 173 | vector(const vector& t) : + | ^ +stl_fte.h:173:17: note: remove the '< >' +In file included from fte.h:39, + from console.h:13, + from o_model.h:13, + from commands.cpp:10: +stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 161 | vector() : + | ^ +stl_fte.h:161:17: note: remove the '< >' +stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 166 | vector(size_type prealloc) : + | ^~~~~~~~~ +stl_fte.h:166:18: note: remove the '< >' +stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 173 | vector(const vector& t) : + | ^ +stl_fte.h:173:17: note: remove the '< >' +In file included from fte.h:39, + from o_routine.h:13, + from c_color.cpp:11: +stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 161 | vector() : + | ^ +stl_fte.h:161:17: note: remove the '< >' +stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 166 | vector(size_type prealloc) : + | ^~~~~~~~~ +stl_fte.h:166:18: note: remove the '< >' +stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 173 | vector(const vector& t) : + | ^ +stl_fte.h:173:17: note: remove the '< >' +In file included from fte.h:39, + from c_history.h:12, + from c_history.cpp:11: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -541,13 +639,10 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -c_bind.cpp: In function 'int ParseKey(const char*, KeySel&)': -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); - | ~~~^~~ In file included from fte.h:39, - from c_history.h:12, - from c_history.cpp:11: + from console.h:13, + from c_hilit.h:14, + from cfte.cpp:11: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -560,6 +655,14 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' +c_mode.cpp: In function 'EMode* GetModeForName(const char*)': +c_mode.cpp:104:21: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] + 104 | int l = read(fd, buf, sizeof(buf) - 1); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +c_bind.cpp: In function 'int ParseKey(const char*, KeySel&)': +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); + | ~~~^~~ 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)) @@ -575,8 +678,10 @@ | ^~~ In file included from fte.h:39, from console.h:13, - from c_hilit.h:14, - from cfte.cpp:11: + from o_model.h:13, + from o_list.h:14, + from o_buflist.h:13, + from c_hilit.cpp:10: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -593,10 +698,6 @@ c_bind.cpp:648:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 648 | || Pos >= Macros[Macro].Count) | ~~~~^~~~~~~~~~~~~~~~~~~~~~ -c_mode.cpp: In function 'EMode* GetModeForName(const char*)': -c_mode.cpp:104:21: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] - 104 | int l = read(fd, buf, sizeof(buf) - 1); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ c_bind.cpp:656:55: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 656 | if (view->GetStrVar(Macros[Macro].cmds[Pos].u.num, str, maxlen) == 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ @@ -626,22 +727,6 @@ c_history.cpp:175:27: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 175 | c = strtol(p = e, &e, 10); | ~~~~~~^~~~~~~~~~~~~~~ -In file included from fte.h:39, - from sysdep.h:13, - from c_config.h:13, - from e_block.cpp:10: -stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 161 | vector() : - | ^ -stl_fte.h:161:17: note: remove the '< >' -stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 166 | vector(size_type prealloc) : - | ^~~~~~~~~ -stl_fte.h:166:18: note: remove the '< >' -stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 173 | vector(const vector& t) : - | ^ -stl_fte.h:173:17: note: remove the '< >' c_history.cpp:202:23: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 202 | i = strtol(p, &e, 10); | ~~~~~~^~~~~~~~~~~ @@ -658,21 +743,6 @@ 349 | while (i < inputHistory.Count) { | ~~^~~~~~~~~~~~~~~~~~~~ In file included from fte.h:39, - from o_routine.h:13, - from c_color.cpp:11: -stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 161 | vector() : - | ^ -stl_fte.h:161:17: note: remove the '< >' -stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 166 | vector(size_type prealloc) : - | ^~~~~~~~~ -stl_fte.h:166:18: note: remove the '< >' -stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 173 | vector(const vector& t) : - | ^ -stl_fte.h:173:17: note: remove the '< >' -In file included from fte.h:39, from c_desktop.h:13, from c_desktop.cpp:10: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] @@ -687,64 +757,7 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -In file included from fte.h:39, - from console.h:13, - from o_model.h:13, - from commands.cpp:10: -stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 161 | vector() : - | ^ -stl_fte.h:161:17: note: remove the '< >' -stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 166 | vector(size_type prealloc) : - | ^~~~~~~~~ -stl_fte.h:166:18: note: remove the '< >' -stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 173 | vector(const vector& t) : - | ^ -stl_fte.h:173:17: note: remove the '< >' -In file included from fte.h:39, - from console.h:13, - from o_model.h:13, - from o_list.h:14, - from o_buflist.h:13, - from c_hilit.cpp:10: -stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 161 | vector() : - | ^ -stl_fte.h:161:17: note: remove the '< >' -stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 166 | vector(size_type prealloc) : - | ^~~~~~~~~ -stl_fte.h:166:18: note: remove the '< >' -stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 173 | vector(const vector& t) : - | ^ -stl_fte.h:173:17: note: remove the '< >' -In file included from fte.h:39, - from console.h:13, - from gui.h:13, - from egui.h:13, - from egui.cpp:10: -stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 161 | vector() : - | ^ -stl_fte.h:161:17: note: remove the '< >' -stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 166 | vector(size_type prealloc) : - | ^~~~~~~~~ -stl_fte.h:166:18: note: remove the '< >' -stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 173 | vector(const vector& t) : - | ^ -stl_fte.h:173:17: note: remove the '< >' g++ -c e_buffer.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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; @@ -762,6 +775,23 @@ e_block.cpp:695:26: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 695 | Z = LL->Count; | ~~~~^~~~~ +In file included from fte.h:39, + from console.h:13, + from gui.h:13, + from egui.h:13, + from egui.cpp:10: +stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 161 | vector() : + | ^ +stl_fte.h:161:17: note: remove the '< >' +stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 166 | vector(size_type prealloc) : + | ^~~~~~~~~ +stl_fte.h:166:18: note: remove the '< >' +stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 173 | vector(const vector& t) : + | ^ +stl_fte.h:173:17: note: remove the '< >' 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) { | ~~^~~~~~~~~~~ @@ -792,6 +822,12 @@ 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_cmds.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_cvslog.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_file.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, from console.h:13, @@ -810,7 +846,6 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -g++ -c e_fold.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, from console.h:13, from gui.h:13, @@ -828,15 +863,6 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -g++ -c e_line.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_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); - | ~~~^~~~~ -e_buffer.cpp: In member function 'int EBuffer::LineChars(int)': -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_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; @@ -861,14 +887,6 @@ e_cmds.cpp:137:34: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 137 | if (P > L->Count) P = L->Count; | ~~~^~~~~ -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_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; - | ~~~~^~~~~~~~~~ e_cmds.cpp: In member function 'int EBuffer::MoveWordOrCapRight()': e_cmds.cpp:155:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 155 | if (P >= L->Count) return 0; @@ -876,23 +894,12 @@ e_cmds.cpp:157:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 157 | while ((P < L->Count) && (WGETBIT(Flags.CapitalChars, L->Chars[P]) == 1)) P++; | ~~^~~~~~~~~~ -e_buffer.cpp:801:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 801 | if (L->Count > Ofs) - | ~~~~~~~~~^~~~~ e_cmds.cpp:158:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 158 | while ((P < L->Count) && (WGETBIT(Flags.WordChars, L->Chars[P]) == 1) && (WGETBIT(Flags.CapitalChars, L->Chars[P]) == 0)) P++; | ~~^~~~~~~~~~ -e_buffer.cpp: In member function 'int EBuffer::UnTabPoint(int, int)': -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_cmds.cpp:159:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 159 | while ((P < L->Count) && (WGETBIT(Flags.WordChars, L->Chars[P]) == 0)) P++; | ~~^~~~~~~~~~ -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; - | ~~~~^~~~~~~~~~ e_cmds.cpp: In member function 'int EBuffer::MoveWordOrCapEndLeft()': e_cmds.cpp:184:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 184 | if (P > L->Count) P = L->Count; @@ -900,72 +907,31 @@ 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; | ~~~^~~~~ -e_buffer.cpp: In member function 'int EBuffer::DelText(int, int, size_t, int)': -e_buffer.cpp:878:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 878 | if (ACount == -1 || ACount + Col > L) - | ~~~~~~~^~~~~ -e_buffer.cpp:878:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 878 | if (ACount == -1 || ACount + Col > L) - | ~~~~~~~~~~~~~^~~ -e_buffer.cpp:882:29: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 882 | if (UnTabPoint(Row, Col + ACount) == 0) - | ~~~~^~~~~~~~ -e_buffer.cpp:885:36: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 885 | C = CharOffset(RLine(Row), Col + ACount); - | ~~~~^~~~~~~~ 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; | ~~^~~~~~~~~~~ -e_buffer.cpp:888:57: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 888 | if (DoMark) UpdateMarker(umDelete, Row, Col, 0, ACount); - | ^~~~~~ e_cmds.cpp:204:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 204 | while ((P < L->Count) && (WGETBIT(Flags.WordChars, L->Chars[P]) == 0)) P++; | ~~^~~~~~~~~~ e_cmds.cpp:205:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 205 | while ((P < L->Count) && (WGETBIT(Flags.CapitalChars, L->Chars[P]) == 1)) P++; | ~~^~~~~~~~~~ -e_buffer.cpp: In member function 'int EBuffer::InsText(int, int, size_t, const char*, int)': -e_buffer.cpp:902:53: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 902 | if (DoMark) UpdateMarker(umInsert, Row, Col, 0, ACount); - | ^~~~~~ -e_buffer.cpp:905:39: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 905 | if (InsChars(Row, RLine(Row)->Count, Col - L, 0) == 0) - | ~~~~~~~~~~~~^~~~~ e_cmds.cpp:206:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 206 | while ((P < L->Count) && (WGETBIT(Flags.WordChars, L->Chars[P]) == 1) && (WGETBIT(Flags.CapitalChars, L->Chars[P]) == 0)) P++; | ~~^~~~~~~~~~ -e_buffer.cpp: In member function 'int EBuffer::PadLine(int, size_t)': -e_buffer.cpp:920:39: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 920 | if (InsChars(Row, RLine(Row)->Count, Length - L, 0) == 0) - | ~~~~~~~~~~~~^~~~~ -e_buffer.cpp: In member function 'int EBuffer::InsLineText(int, int, size_t, int, PELine)': -e_buffer.cpp:933:31: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 933 | L = ScreenPos(Line, Line->Count); - | ~~~~~~^~~~~ -e_buffer.cpp:935:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 935 | if (ACount == -1) ACount = L - LCol; - | ~~~~~~~^~~~~ -e_buffer.cpp:936:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 936 | if (ACount + LCol > L) ACount = L - LCol; - | ~~~~~~~~~~~~~~^~~ -e_buffer.cpp:941:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 941 | if (Ofs < Line->Count && Line->Chars[Ofs] == '\t') { - | ~~~~^~~~~~~~~~~~~ -e_buffer.cpp:953:37: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 953 | C = Ofs = CharOffset(Line, LCol + ACount); - | ~~~~~^~~~~~~~ -e_buffer.cpp:954:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 954 | if (Ofs < Line->Count && Line->Chars[Ofs] == '\t') { - | ~~~~^~~~~~~~~~~~~ -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_cmds.cpp: In member function 'int EBuffer::MoveFirstNonWhite()': e_cmds.cpp:293:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 293 | while (C < 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); + | ~~~^~~~~ +e_buffer.cpp: In member function 'int EBuffer::LineChars(int)': +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_cmds.cpp: In member function 'int EBuffer::MoveTabStart()': e_cmds.cpp:412:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 412 | if (C < X->Count) @@ -974,6 +940,7 @@ e_cmds.cpp:422:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 422 | if (C < X->Count) | ~~^~~~~~~~~~ +g++ -c e_fold.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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::KillWord()': e_cmds.cpp:529:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 529 | while ((P < L->Count) && (ChClassK(L->Chars[P]) == Class)) P++; @@ -982,12 +949,49 @@ e_cmds.cpp:569:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 569 | while ((P < L->Count) && (WGETBIT(Flags.CapitalChars, L->Chars[P]) == 1)) P++; | ~~^~~~~~~~~~ +g++ -c e_line.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 +In file included from fte.h:39, + from console.h:13, + from i_oview.h:13, + from i_modelview.h:13, + from e_file.cpp:10: +stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 161 | vector() : + | ^ +stl_fte.h:161:17: note: remove the '< >' +stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 166 | vector(size_type prealloc) : + | ^~~~~~~~~ +stl_fte.h:166:18: note: remove the '< >' +stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 173 | vector(const vector& t) : + | ^ e_cmds.cpp:570:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 570 | while ((P < L->Count) && (WGETBIT(Flags.WordChars, L->Chars[P]) == 1) && (WGETBIT(Flags.CapitalChars, L->Chars[P]) == 0)) P++; | ~~^~~~~~~~~~ +stl_fte.h:173:17: note: remove the '< >' e_cmds.cpp:571:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 571 | } else while ((P < L->Count) && (ChClassK(L->Chars[P]) == Class)) P++; | ~~^~~~~~~~~~ +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_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; + | ~~~~^~~~~~~~~~ +e_buffer.cpp:801:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 801 | if (L->Count > Ofs) + | ~~~~~~~~~^~~~~ +e_buffer.cpp: In member function 'int EBuffer::UnTabPoint(int, int)': +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_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; + | ~~~~^~~~~~~~~~ e_cmds.cpp: In member function 'int EBuffer::TypeChar(char)': e_cmds.cpp:833:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 833 | if (P >= 0 && P <= L->Count) { @@ -995,10 +999,59 @@ e_cmds.cpp:854:41: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 854 | Len = strlen(ab->Replace); | ~~~~~~^~~~~~~~~~~~~ +e_buffer.cpp: In member function 'int EBuffer::DelText(int, int, size_t, int)': +e_buffer.cpp:878:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 878 | if (ACount == -1 || ACount + Col > L) + | ~~~~~~~^~~~~ +e_buffer.cpp:878:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 878 | if (ACount == -1 || ACount + Col > L) + | ~~~~~~~~~~~~~^~~ +e_buffer.cpp:882:29: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 882 | if (UnTabPoint(Row, Col + ACount) == 0) + | ~~~~^~~~~~~~ +e_buffer.cpp:885:36: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 885 | C = CharOffset(RLine(Row), Col + ACount); + | ~~~~^~~~~~~~ e_cmds.cpp: In member function 'int EBuffer::InsertString(const char*, size_t)': e_cmds.cpp:894:7: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 894 | P += aCount; | ~~^~~~~~~~~ +e_buffer.cpp:888:57: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 888 | if (DoMark) UpdateMarker(umDelete, Row, Col, 0, ACount); + | ^~~~~~ +e_buffer.cpp: In member function 'int EBuffer::InsText(int, int, size_t, const char*, int)': +e_buffer.cpp:902:53: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 902 | if (DoMark) UpdateMarker(umInsert, Row, Col, 0, ACount); + | ^~~~~~ +e_buffer.cpp:905:39: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 905 | if (InsChars(Row, RLine(Row)->Count, Col - L, 0) == 0) + | ~~~~~~~~~~~~^~~~~ +e_buffer.cpp: In member function 'int EBuffer::PadLine(int, size_t)': +e_buffer.cpp:920:39: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 920 | if (InsChars(Row, RLine(Row)->Count, Length - L, 0) == 0) + | ~~~~~~~~~~~~^~~~~ +e_buffer.cpp: In member function 'int EBuffer::InsLineText(int, int, size_t, int, PELine)': +e_buffer.cpp:933:31: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 933 | L = ScreenPos(Line, Line->Count); + | ~~~~~~^~~~~ +e_buffer.cpp:935:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 935 | if (ACount == -1) ACount = L - LCol; + | ~~~~~~~^~~~~ +e_buffer.cpp:936:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 936 | if (ACount + LCol > L) ACount = L - LCol; + | ~~~~~~~~~~~~~~^~~ +e_buffer.cpp:941:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 941 | if (Ofs < Line->Count && Line->Chars[Ofs] == '\t') { + | ~~~~^~~~~~~~~~~~~ +e_buffer.cpp:953:37: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 953 | C = Ofs = CharOffset(Line, LCol + ACount); + | ~~~~~^~~~~~~~ +e_buffer.cpp:954:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 954 | if (Ofs < Line->Count && Line->Chars[Ofs] == '\t') { + | ~~~~^~~~~~~~~~~~~ +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_cmds.cpp: In member function 'int EBuffer::LineIndentedCharCount(ELine*, const char*)': e_cmds.cpp:979:13: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 979 | CC = l->Count; @@ -1014,20 +1067,6 @@ e_cmds.cpp:1090:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1090 | for (X = 0; X < lp->Count; X++) { | ~~^~~~~~~~~~~ -e_cmds.cpp:1103:40: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 1103 | firstwordend = lp->Count; - | ~~~~^~~~~ -e_cmds.cpp: In member function 'int EBuffer::InsPrevLineToEol()': -e_cmds.cpp:1199:31: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 1199 | Len = RLine(L)->Count - P; - | ~~~~~~~~~~~~~~~~^~~ -e_cmds.cpp: In member function 'int EBuffer::TrimLine(int)': -e_cmds.cpp:1218:12: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 1218 | P = L->Count; - | ~~~^~~~~ -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); - | ~~~^~~~~ In file included from fte.h:39, from console.h:13, from c_hilit.h:14, @@ -1037,6 +1076,9 @@ stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ +e_cmds.cpp:1103:40: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 1103 | firstwordend = lp->Count; + | ~~~~^~~~~ stl_fte.h:161:17: note: remove the '< >' stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 166 | vector(size_type prealloc) : @@ -1046,24 +1088,21 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -In file included from fte.h:39, - from console.h:13, - from i_oview.h:13, - from i_modelview.h:13, - from e_file.cpp:10: -stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 161 | vector() : - | ^ -stl_fte.h:161:17: note: remove the '< >' -stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 166 | vector(size_type prealloc) : - | ^~~~~~~~~ -stl_fte.h:166:18: note: remove the '< >' -stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 173 | vector(const vector& t) : - | ^ -stl_fte.h:173:17: note: remove the '< >' -g++ -c e_loadsave.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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::InsPrevLineToEol()': +e_cmds.cpp:1199:31: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 1199 | Len = RLine(L)->Count - P; + | ~~~~~~~~~~~~~~~~^~~ +e_cmds.cpp: In member function 'int EBuffer::TrimLine(int)': +e_cmds.cpp:1218:12: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 1218 | P = L->Count; + | ~~~^~~~~ +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); + | ~~~^~~~~ +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); + | ~~~~~~~^~~~~~~ In file included from fte.h:39, from console.h:13, from o_model.h:13, @@ -1082,10 +1121,6 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -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); - | ~~~~~~~^~~~~~~ In file included from fte.h:39, from console.h:13, from o_model.h:13, @@ -1104,6 +1139,7 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' +g++ -c e_loadsave.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_mark.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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] @@ -1117,6 +1153,25 @@ 88 | int Len = L->Count; | ~~~^~~~~ g++ -c e_print.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 constructor 'ECvsLog::ECvsLog(int, EModel**, char*, char*)': +e_cvslog.cpp:91:16: warning: 'void operator delete(void*, long unsigned int)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] + 91 | delete position;delete len;delete status; + | ^~~~~~~~ +e_cvslog.cpp:58:34: note: returned from 'void* operator new [](long unsigned int)' + 58 | int *position=new int[cnt]; + | ^ +e_cvslog.cpp:91:32: warning: 'void operator delete(void*, long unsigned int)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] + 91 | delete position;delete len;delete status; + | ^~~ +e_cvslog.cpp:59:29: note: returned from 'void* operator new [](long unsigned int)' + 59 | int *len=new int[cnt]; + | ^ +e_cvslog.cpp:91:43: warning: 'void operator delete(void*, long unsigned int)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] + 91 | delete position;delete len;delete status; + | ^~~~~~ +e_cvslog.cpp:60:34: note: returned from 'void* operator new [](long unsigned int)' + 60 | char *status=new char[cnt]; + | ^ In file included from fte.h:39, from console.h:13, from c_hilit.h:14, @@ -1135,11 +1190,12 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -g++ -c e_redraw.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, - from sysdep.h:13, - from c_config.h:13, - from e_print.cpp:10: + from console.h:13, + from c_hilit.h:14, + from e_buffer.h:13, + from e_mark.h:4, + from e_mark.cpp:1: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -1193,12 +1249,16 @@ e_loadsave.cpp:495:56: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 495 | if (BFS(this, BFS_CommentStart)) len_start = strlen(BFS(this, BFS_CommentStart)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +e_loadsave.cpp:496:52: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] + 496 | if (BFS(this, BFS_CommentEnd)) len_end = strlen(BFS(this, BFS_CommentEnd)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +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) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from fte.h:39, - from console.h:13, - from c_hilit.h:14, - from e_buffer.h:13, - from e_mark.h:4, - from e_mark.cpp:1: + from sysdep.h:13, + from c_config.h:13, + from e_print.cpp:10: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -1211,12 +1271,9 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -e_loadsave.cpp:496:52: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] - 496 | if (BFS(this, BFS_CommentEnd)) len_end = strlen(BFS(this, BFS_CommentEnd)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -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_redraw.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_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; @@ -1240,60 +1297,12 @@ e_print.cpp:151:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 151 | if ((int) sizeof(FileBuffer) - (BChars + 2) < RLine(l)->Count) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -e_cvslog.cpp: In constructor 'ECvsLog::ECvsLog(int, EModel**, char*, char*)': -e_cvslog.cpp:91:16: warning: 'void operator delete(void*, long unsigned int)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] - 91 | delete position;delete len;delete status; - | ^~~~~~~~ -g++ -c e_regex.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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:58:34: note: returned from 'void* operator new [](long unsigned int)' - 58 | int *position=new int[cnt]; - | ^ -e_cvslog.cpp:91:32: warning: 'void operator delete(void*, long unsigned int)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] - 91 | delete position;delete len;delete status; - | ^~~ -e_cvslog.cpp:59:29: note: returned from 'void* operator new [](long unsigned int)' - 59 | int *len=new int[cnt]; - | ^ -e_cvslog.cpp:91:43: warning: 'void operator delete(void*, long unsigned int)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] - 91 | delete position;delete len;delete status; - | ^~~~~~ -e_cvslog.cpp:60:34: note: returned from 'void* operator new [](long unsigned int)' - 60 | char *status=new char[cnt]; - | ^ e_print.cpp:163:70: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 163 | if (int(fwrite(RLine(l)->Chars, 1, RLine(l)->Count, fp)) != RLine(l)->Count) goto fail; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ 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; | ^~~~~ -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); - | ^~~~~~~~~~~~ -In file included from /usr/include/stdio.h:970, - from cfte.cpp:22: -In function 'int sprintf(char*, const char*, ...)', - inlined from 'int LoadFile(const char*, const char*, int)' at cfte.cpp:1885:20: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output 13 or more bytes (assuming 1036) into a destination of size 1024 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cfte.cpp: In function 'int LoadFile(const char*, const char*, int)': -cfte.cpp:1893:37: warning: 'config/' directive writing 7 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] - 1893 | sprintf(tmp, "%sconfig/%s", StartDir, CfgName); - | ^~~~~~~ -In function 'int sprintf(char*, const char*, ...)', - inlined from 'int LoadFile(const char*, const char*, int)' at cfte.cpp:1893:28: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output 8 or more bytes (assuming 1031) into a destination of size 1024 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ In file included from fte.h:39, from console.h:13, from c_bind.h:14, @@ -1329,9 +1338,37 @@ e_redraw.cpp:494:20: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 494 | fw -= strlen(num); | ~~~^~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~ +In file included from /usr/include/stdio.h:970, + from cfte.cpp:22: +In function 'int sprintf(char*, const char*, ...)', + inlined from 'int LoadFile(const char*, const char*, int)' at cfte.cpp:1885:20: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output 13 or more bytes (assuming 1036) into a destination of size 1024 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +cfte.cpp: In function 'int LoadFile(const char*, const char*, int)': +cfte.cpp:1893:37: warning: 'config/' directive writing 7 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] + 1893 | sprintf(tmp, "%sconfig/%s", StartDir, CfgName); + | ^~~~~~~ +In function 'int sprintf(char*, const char*, ...)', + inlined from 'int LoadFile(const char*, const char*, int)' at cfte.cpp:1893:28: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output 8 or more bytes (assuming 1031) into a destination of size 1024 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ In file included from fte.h:39, - from sysdep.h:13, - from e_regex.cpp:12: + from c_history.h:12, + from e_search.cpp:10: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -1344,11 +1381,9 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -g++ -c e_search.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, - from c_history.h:12, - from e_search.cpp:10: + from sysdep.h:13, + from e_regex.cpp:12: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -1425,7 +1460,6 @@ e_search.cpp:928:29: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 928 | NChars = VLine(CP.Row)->Count; | ~~~~~~~~~~~~~~~^~~~~ -g++ -c e_tags.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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::GetMatchBrace(EPoint&, int, int, int)': e_search.cpp:1062:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1062 | if (Pos >= L->Count) return 0; @@ -1436,7 +1470,6 @@ e_search.cpp:1106:30: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 1106 | Pos = (dir == 1) ? 0 : (L->Count - 1); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -g++ -c e_trans.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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::SearchWord(int)': e_search.cpp:1158:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1158 | while (len < int(sizeof(word)) && P < L->Count && (ChClass(L->Chars[P]) == 1 || L->Chars[P] == '_')) @@ -1445,6 +1478,9 @@ 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_svnlog.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, from console.h:13, from c_hilit.h:14, @@ -1478,6 +1514,34 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' +In file included from fte.h:39, + from c_history.h:12, + from e_trans.cpp:10: +stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 161 | vector() : + | ^ +stl_fte.h:161:17: note: remove the '< >' +stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 166 | vector(size_type prealloc) : + | ^~~~~~~~~ +stl_fte.h:166:18: note: remove the '< >' +stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 173 | vector(const vector& t) : + | ^ +stl_fte.h:173:17: note: remove the '< >' +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"); + | ~^~~ +e_svnlog.cpp:121:36: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 121 | if (fCount!=1) InsText (p,i++,1, "s"); + | ~^~ +e_svnlog.cpp:122:22: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 122 | InsText (p++,i,1, ":"); + | ^ +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;i() : - | ^ -stl_fte.h:161:17: note: remove the '< >' -stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 166 | vector(size_type prealloc) : - | ^~~~~~~~~ -stl_fte.h:166:18: note: remove the '< >' -stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 173 | vector(const vector& t) : - | ^ -stl_fte.h:173:17: note: remove the '< >' -e_svnlog.cpp:121:36: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 121 | if (fCount!=1) InsText (p,i++,1, "s"); - | ~^~ -e_svnlog.cpp:122:22: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 122 | InsText (p++,i,1, ":"); - | ^ -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; @@ -1565,8 +1600,8 @@ 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++) | ~~^~~~~~~~~~ +g++ -c e_undo.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 fte.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 gui.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, from console.h:13, from o_model.h:13, @@ -1585,6 +1620,25 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' +e_svnlog.cpp: In constructor 'ESvnLog::ESvnLog(int, EModel**, char*, char*)': +e_svnlog.cpp:95:16: warning: 'void operator delete(void*, long unsigned int)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] + 95 | delete position;delete len;delete status; + | ^~~~~~~~ +e_svnlog.cpp:61:34: note: returned from 'void* operator new [](long unsigned int)' + 61 | int *position=new int[cnt]; + | ^ +e_svnlog.cpp:95:32: warning: 'void operator delete(void*, long unsigned int)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] + 95 | delete position;delete len;delete status; + | ^~~ +e_svnlog.cpp:62:29: note: returned from 'void* operator new [](long unsigned int)' + 62 | int *len=new int[cnt]; + | ^ +e_svnlog.cpp:95:43: warning: 'void operator delete(void*, long unsigned int)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] + 95 | delete position;delete len;delete status; + | ^~~~~~ +e_svnlog.cpp:63:34: note: returned from 'void* operator new [](long unsigned int)' + 63 | char *status=new char[cnt]; + | ^ 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; @@ -1655,22 +1709,6 @@ e_undo.cpp:325:17: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] 325 | Pos -= ACount; | ~~~~^~~~~~~~~ -In file included from fte.h:39, - from console.h:13, - from gui.h:13, - from gui.cpp:2: -stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 161 | vector() : - | ^ -stl_fte.h:161:17: note: remove the '< >' -stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 166 | vector(size_type prealloc) : - | ^~~~~~~~~ -stl_fte.h:166:18: note: remove the '< >' -stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 173 | vector(const vector& t) : - | ^ -stl_fte.h:173:17: note: remove the '< >' e_undo.cpp:332:67: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] 332 | if (PlaceUserBookmark ((const char *)data,EPoint (Line,Col))==0) return 0; | ^~~~ @@ -1686,29 +1724,8 @@ e_undo.cpp:343:68: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] 343 | if (PlaceUserBookmark ((const char *)data,EPoint (Line,Col))==0) return 0; | ^~~ +g++ -c gui.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_draw.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 constructor 'ESvnLog::ESvnLog(int, EModel**, char*, char*)': -e_svnlog.cpp:95:16: warning: 'void operator delete(void*, long unsigned int)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] - 95 | delete position;delete len;delete status; - | ^~~~~~~~ -e_svnlog.cpp:61:34: note: returned from 'void* operator new [](long unsigned int)' - 61 | int *position=new int[cnt]; - | ^ -e_svnlog.cpp:95:32: warning: 'void operator delete(void*, long unsigned int)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] - 95 | delete position;delete len;delete status; - | ^~~ -e_svnlog.cpp:62:29: note: returned from 'void* operator new [](long unsigned int)' - 62 | int *len=new int[cnt]; - | ^ -e_svnlog.cpp:95:43: warning: 'void operator delete(void*, long unsigned int)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] - 95 | delete position;delete len;delete status; - | ^~~~~~ -e_svnlog.cpp:63:34: note: returned from 'void* operator new [](long unsigned int)' - 63 | char *status=new char[cnt]; - | ^ -g++ -c g_menu.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_ada.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_c.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, from sysdep.h:13, from c_config.h:13, @@ -1725,7 +1742,24 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -g++ -c h_catbs.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 +In file included from fte.h:39, + from console.h:13, + from gui.h:13, + from gui.cpp:2: +stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 161 | vector() : + | ^ +stl_fte.h:161:17: note: remove the '< >' +stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 166 | vector(size_type prealloc) : + | ^~~~~~~~~ +stl_fte.h:166:18: note: remove the '< >' +stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 173 | vector(const vector& t) : + | ^ +stl_fte.h:173:17: note: remove the '< >' +g++ -c g_menu.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_ada.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, from console.h:13, from g_draw.cpp:10: @@ -1741,6 +1775,7 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' +g++ -c h_c.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, from console.h:13, from gui.h:13, @@ -1758,6 +1793,35 @@ | ^ stl_fte.h:173:17: note: remove the '< >' In file included from fte.h:39, + from h_ada.cpp:10: +stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 161 | vector() : + | ^ +stl_fte.h:161:17: note: remove the '< >' +stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 166 | vector(size_type prealloc) : + | ^~~~~~~~~ +stl_fte.h:166:18: note: remove the '< >' +stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 173 | vector(const vector& t) : + | ^ +stl_fte.h:173:17: note: remove the '< >' +g++ -c h_catbs.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_ada.cpp: In function 'int Hilit_ADA(EBuffer*, int, PCell, int, int, ELine*, hlState&, hsState*, int*)': +h_ada.cpp:30:16: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 30 | int len1 = len; + | ^~~ +h_ada.cpp:52:31: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 52 | x = i + j; + | ~~^~~ +h_ada.cpp:53:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 53 | while ((x < Line->Count) && + | ~~^~~~~~~~~~~~~ +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] == '(')) { + | ~~^~~~~~~~~~~~~ +g++ -c h_fte.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 +In file included from fte.h:39, from h_c.cpp:10: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : @@ -1771,6 +1835,8 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' +g++ -c h_ipf.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 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; @@ -1790,11 +1856,25 @@ 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 | ~~^~~~~~~~~~~~~~~~~~ +In file included from fte.h:39, + from h_catbs.cpp:10: +stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 161 | vector() : + | ^ +stl_fte.h:161:17: note: remove the '< >' +stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 166 | vector(size_type prealloc) : + | ^~~~~~~~~ +stl_fte.h:166:18: note: remove the '< >' +stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 173 | vector(const vector& t) : + | ^ +stl_fte.h:173:17: note: remove the '< >' +g++ -c h_msg.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 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_fte.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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) && @@ -1819,20 +1899,6 @@ h_c.cpp:584:29: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 584 | L = B->RLine(RowP)->Count; | ~~~~~~~~~~~~~~~~^~~~~ -In file included from fte.h:39, - from h_ada.cpp:10: -stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 161 | vector() : - | ^ -stl_fte.h:161:17: note: remove the '< >' -stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 166 | vector(size_type prealloc) : - | ^~~~~~~~~ -stl_fte.h:166:18: note: remove the '< >' -stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 173 | vector(const vector& t) : - | ^ -stl_fte.h:173:17: note: remove the '< >' h_c.cpp:828:33: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 828 | L = B->RLine(RowP)->Count; | ~~~~~~~~~~~~~~~~^~~~~ @@ -1840,32 +1906,12 @@ h_c.cpp:850:24: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 850 | L = B->RLine(Row)->Count; | ~~~~~~~~~~~~~~~^~~~~ -g++ -c h_ipf.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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:857:28: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 857 | L = B->RLine(Row)->Count; | ~~~~~~~~~~~~~~~^~~~~ 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_make.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_ada.cpp: In function 'int Hilit_ADA(EBuffer*, int, PCell, int, int, ELine*, hlState&, hsState*, int*)': -h_ada.cpp:30:16: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 30 | int len1 = len; - | ^~~ -h_ada.cpp:52:31: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 52 | x = i + j; - | ~~^~~ -h_ada.cpp:53:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 53 | while ((x < Line->Count) && - | ~~^~~~~~~~~~~~~ -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] == '(')) { - | ~~^~~~~~~~~~~~~ -In file included from fte.h:39, - from h_catbs.cpp:10: -stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 161 | vector() : - | ^ In file included from fte.h:39, from h_fte.cpp:10: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] @@ -1886,27 +1932,14 @@ 161 | vector() : | ^ stl_fte.h:161:17: note: remove the '< >' -stl_fte.h:161:17: note: remove the '< >' -stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 166 | vector(size_type prealloc) : - | ^~~~~~~~~ stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 166 | vector(size_type prealloc) : | ^~~~~~~~~ stl_fte.h:166:18: note: remove the '< >' -stl_fte.h:166:18: note: remove the '< >' -stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 173 | vector(const vector& t) : - | ^ -stl_fte.h:173:17: note: remove the '< >' stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -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; - | ^~~ In file included from fte.h:39, from h_make.cpp:10: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] @@ -1921,12 +1954,15 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -g++ -c h_msg.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_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_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; | ^~~ +g++ -c h_pascal.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, from h_msg.cpp:10: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] @@ -1942,7 +1978,6 @@ | ^ stl_fte.h:173:17: note: remove the '< >' g++ -c h_perl.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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) { @@ -1953,7 +1988,16 @@ h_msg.cpp:146:19: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 146 | C = Line->Count; | ~~~~~~^~~~~ +g++ -c h_plain.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 +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()); + | ~~~~~~~^~~~~~~~~~ +g++ -c h_sh.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, from h_pascal.cpp:10: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] @@ -1968,10 +2012,8 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -g++ -c h_sh.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_simple.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, - from h_plain.cpp:10: + from h_perl.cpp:21: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -1985,7 +2027,7 @@ | ^ stl_fte.h:173:17: note: remove the '< >' In file included from fte.h:39, - from h_perl.cpp:21: + from h_rexx.cpp:10: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -1998,23 +2040,6 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -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) { - | ~~~~^~~~~~~~~~~~~ -h_plain.cpp:66:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 66 | if (Pos + Width < Line->Count) { - | ~~~~~~~~~~~~^~~~~~~~~~~~~ -h_plain.cpp:78:19: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 78 | C = Line->Count; - | ~~~~~~^~~~~ -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 into destination object 'word' of size 513 - 1150 | char word[MAXSEARCH + 1]; - | ^~~~ 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; @@ -2025,19 +2050,8 @@ h_perl.cpp:244:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 244 | if ((x < Line->Count) && (Line->Chars[x] == '(')) { | ~~^~~~~~~~~~~~~ -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 && ( - | ~~~~~~~~~~~~~~^~~~~ -g++ -c h_tex.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 into destination object 'word' of size 513 - 1168 | char word[MAXSEARCH + 1]; - | ^~~~ In file included from fte.h:39, - from h_rexx.cpp:10: + from h_plain.cpp:10: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -2050,8 +2064,74 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' +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 && ( + | ~~~~~~~~~~~~~~^~~~~ +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_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; + | ~~~~~~~~~~~~~~~^~~~~ +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 into destination object 'word' of size 513 + 1150 | char word[MAXSEARCH + 1]; + | ^~~~ +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) { + | ~~~~^~~~~~~~~~~~~ +h_plain.cpp:66:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 66 | if (Pos + Width < Line->Count) { + | ~~~~~~~~~~~~^~~~~~~~~~~~~ +h_plain.cpp:78:19: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 78 | C = Line->Count; + | ~~~~~~^~~~~ +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 into destination object 'word' of size 513 + 1168 | char word[MAXSEARCH + 1]; + | ^~~~ +g++ -c h_simple.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, - from h_tex.cpp:10: + from h_sh.cpp:10: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -2064,8 +2144,25 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' +g++ -c i_ascii.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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; + | ~~^~~~~~~~~~ In file included from fte.h:39, - from h_sh.cpp:10: + from h_tex.cpp:10: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -2078,6 +2175,7 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' +g++ -c i_choice.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, from h_simple.cpp:10: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] @@ -2092,59 +2190,6 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -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_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_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; - | ~~^~~~~~~~~~ -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; - | ~~~~~~~~~~~~~~~^~~~~ -g++ -c indent.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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; @@ -2155,6 +2200,24 @@ h_simple.cpp:80:51: warning: conversion from 'int' to 'ChColor' {aka 'unsigned char'} may change value [-Wconversion] 80 | Color = hm->state[entryState].color; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ +g++ -c i_complete.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 +In file included from fte.h:39, + from console.h:13, + from c_hilit.h:14, + from e_buffer.h:13, + from indent.cpp:10: +stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 161 | vector() : + | ^ +stl_fte.h:161:17: note: remove the '< >' +stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 166 | vector(size_type prealloc) : + | ^~~~~~~~~ +stl_fte.h:166:18: note: remove the '< >' +stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 173 | vector(const vector& t) : + | ^ +stl_fte.h:173:17: note: remove the '< >' h_simple.cpp:92:23: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 92 | lastPos = i; | ^ @@ -2212,26 +2275,10 @@ h_simple.cpp:244:21: warning: conversion from 'int' to 'ChColor' {aka 'unsigned char'} may change value [-Wconversion] 244 | Color = st->color; | ~~~~^~~~~ -h_simple.cpp:256:26: warning: conversion from 'long int' to 'int' may change value [-Wconversion] - 256 | matchFlags = tr->matchFlags; - | ~~~~^~~~~~~~~~ -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_ascii.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -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()); - | ~~~~~~~^~~~~~~~~~ In file included from fte.h:39, from console.h:13, - from c_hilit.h:14, - from e_buffer.h:13, - from indent.cpp:10: + from i_ascii.h:13, + from i_ascii.cpp:10: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -2244,12 +2291,19 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -g++ -c i_complete.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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:256:26: warning: conversion from 'long int' to 'int' may change value [-Wconversion] + 256 | matchFlags = tr->matchFlags; + | ~~~~^~~~~~~~~~ +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_input.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, from console.h:13, - from i_ascii.h:13, - from i_ascii.cpp:10: + from i_oview.h:13, + from i_choice.h:13, + from i_choice.cpp:10: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -2262,11 +2316,11 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' +g++ -c i_modelview.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, - from console.h:13, - from i_oview.h:13, - from i_choice.h:13, - from i_choice.cpp:10: + from sysdep.h:13, + from c_config.h:13, + from i_input.cpp:11: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -2279,11 +2333,12 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -g++ -c i_key.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, - from sysdep.h:13, - from c_config.h:13, - from i_input.cpp:11: + from console.h:13, + from i_oview.h:13, + from i_key.h:13, + from i_key.cpp:10: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -2313,33 +2368,6 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -g++ -c i_modelview.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 [-Wmaybe-uninitialized] - 72 | if (++iterCount > hm->stateCount) { - | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ -h_simple.cpp:33:9: note: 'iterCount' was declared here - 33 | int iterCount; - | ^~~~~~~~~ -h_simple.cpp:80:39: warning: 'entryState' may be used uninitialized [-Wmaybe-uninitialized] - 80 | Color = hm->state[entryState].color; - | ^~~~~~~~~~ -h_simple.cpp:32:13: note: 'entryState' was declared here - 32 | hlState entryState; - | ^~~~~~~~~~ -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])) - | ~~~^~~~~~~~~~ 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); @@ -2370,25 +2398,6 @@ 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); | ~~~~~~^~~~~~ -g++ -c i_oview.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -In file included from fte.h:39, - from console.h:13, - from i_oview.h:13, - from i_key.h:13, - from i_key.cpp:10: -stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 161 | vector() : - | ^ -stl_fte.h:161:17: note: remove the '< >' -stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 166 | vector(size_type prealloc) : - | ^~~~~~~~~ -stl_fte.h:166:18: note: remove the '< >' -stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 173 | vector(const vector& t) : - | ^ -stl_fte.h:173:17: note: remove the '< >' In file included from fte.h:39, from console.h:13, from i_oview.h:13, @@ -2406,7 +2415,33 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -g++ -c i_view.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 [-Wmaybe-uninitialized] + 72 | if (++iterCount > hm->stateCount) { + | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +h_simple.cpp:33:9: note: 'iterCount' was declared here + 33 | int iterCount; + | ^~~~~~~~~ +h_simple.cpp:80:39: warning: 'entryState' may be used uninitialized [-Wmaybe-uninitialized] + 80 | Color = hm->state[entryState].color; + | ^~~~~~~~~~ +h_simple.cpp:32:13: note: 'entryState' was declared here + 32 | hlState entryState; + | ^~~~~~~~~~ +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_search.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, from console.h:13, from gui.h:13, @@ -2424,7 +2459,9 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' +g++ -c i_view.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_buffer.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, from console.h:13, from i_oview.h:13, @@ -2442,10 +2479,6 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -g++ -c o_buffer.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_buflist.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_cvs.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_cvsbase.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, from console.h:13, from gui.h:13, @@ -2463,6 +2496,8 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' +g++ -c o_buflist.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_cvs.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, from sysdep.h:13, from c_config.h:13, @@ -2487,45 +2522,13 @@ i_view.cpp:189:41: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 189 | return DLGGetFile(this, Prompt, BufLen, Str, Flags); | ^~~~~~ +g++ -c o_cvsbase.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_view.cpp: In member function 'int GxView::Choice(long unsigned int, const char*, int, ...)': i_view.cpp:215:51: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] 215 | rc = DLGPickChoice(this, Title, NSel, ap, Flags); | ^~~~~ g++ -c o_cvsdiff.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_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); - | ^~ -In file included from /usr/include/stdio.h:970, - from i_search.cpp:17: -In function 'int sprintf(char*, const char*, ...)', - inlined from 'virtual void ExISearch::RepaintStatus()' at i_search.cpp:159:12: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 11 and 283 bytes into a destination of size 257 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ g++ -c o_directory.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -In file included from fte.h:39, - from console.h:13, - from o_model.h:13, - from o_list.h:14, - from o_buflist.h:13, - from o_buflist.cpp:11: -stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 161 | vector() : - | ^ -stl_fte.h:161:17: note: remove the '< >' -stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 166 | vector(size_type prealloc) : - | ^~~~~~~~~ -stl_fte.h:166:18: note: remove the '< >' -stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 173 | vector(const vector& t) : - | ^ -stl_fte.h:173:17: note: remove the '< >' 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); @@ -2552,8 +2555,11 @@ 224 | SetTop(Event.Msg.Param1, TP.Row); | ~~~~~~~~~~^~~~~~ In file included from fte.h:39, - from o_cvs.h:12, - from o_cvs.cpp:9: + from console.h:13, + from o_model.h:13, + from o_list.h:14, + from o_buflist.h:13, + from o_buflist.cpp:11: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -2574,6 +2580,36 @@ o_buffer.cpp:720:18: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 720 | No = atol(Num); | ~~~~^~~~~ +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); + | ^~ +In file included from /usr/include/stdio.h:970, + from i_search.cpp:17: +In function 'int sprintf(char*, const char*, ...)', + inlined from 'virtual void ExISearch::RepaintStatus()' at i_search.cpp:159:12: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 11 and 283 bytes into a destination of size 257 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +In file included from fte.h:39, + from o_cvs.h:12, + from o_cvs.cpp:9: +stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 161 | vector() : + | ^ +stl_fte.h:161:17: note: remove the '< >' +stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 166 | vector(size_type prealloc) : + | ^~~~~~~~~ +stl_fte.h:166:18: note: remove the '< >' +stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 173 | vector(const vector& t) : + | ^ +stl_fte.h:173:17: note: remove the '< >' o_buffer.cpp: In member function 'int EBuffer::ChangeTabSize(ExState&)': o_buffer.cpp:1259:18: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 1259 | No = atol(Num); @@ -2606,6 +2642,30 @@ o_buffer.cpp:1668:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1668 | while ((P< L->Count) && (C == ChClassK(L->Chars[P]))) P++; | ~^~~~~~~~~~ +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)) { + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +In file included from fte.h:39, + from o_cvsdiff.h:13, + from o_cvsdiff.cpp:10: +stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 161 | vector() : + | ^ +stl_fte.h:161:17: note: remove the '< >' +stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 166 | vector(size_type prealloc) : + | ^~~~~~~~~ +stl_fte.h:166:18: note: remove the '< >' +stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 173 | vector(const vector& t) : + | ^ +stl_fte.h:173:17: note: remove the '< >' +g++ -c o_list.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_cvsdiff.cpp: In member function 'void ECvsDiff::ParseFromTo(char*, int)': +o_cvsdiff.cpp:40:37: warning: conversion from 'long int' to 'int' may change value [-Wconversion] + 40 | CurrLine=strtol (line+4,&end,10)-1; + | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from fte.h:39, from o_cvsbase.h:13, from o_cvsbase.cpp:10: @@ -2621,11 +2681,7 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -g++ -c o_list.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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)) { - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +g++ -c o_messages.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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; @@ -2653,26 +2709,6 @@ o_cvsbase.cpp:321:26: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 321 | len=UnTabStr (str,sizeof (str),Lines[Line]->Msg,strlen (Lines[Line]->Msg)); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -c o_messages.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -In file included from fte.h:39, - from o_cvsdiff.h:13, - from o_cvsdiff.cpp:10: -stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 161 | vector() : - | ^ -stl_fte.h:161:17: note: remove the '< >' -stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 166 | vector(size_type prealloc) : - | ^~~~~~~~~ -stl_fte.h:166:18: note: remove the '< >' -stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 173 | vector(const vector& t) : - | ^ -stl_fte.h:173:17: note: remove the '< >' -o_cvsdiff.cpp: In member function 'void ECvsDiff::ParseFromTo(char*, int)': -o_cvsdiff.cpp:40:37: warning: conversion from 'long int' to 'int' may change value [-Wconversion] - 40 | CurrLine=strtol (line+4,&end,10)-1; - | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from fte.h:39, from console.h:13, from o_model.h:13, @@ -2691,21 +2727,6 @@ | ^ stl_fte.h:173:17: note: remove the '< >' g++ -c o_model.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -In file included from fte.h:39, - from o_directory.h:12, - from o_directory.cpp:13: -stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 161 | vector() : - | ^ -stl_fte.h:161:17: note: remove the '< >' -stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 166 | vector(size_type prealloc) : - | ^~~~~~~~~ -stl_fte.h:166:18: note: remove the '< >' -stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 173 | vector(const vector& t) : - | ^ -stl_fte.h:173:17: note: remove the '< >' 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); @@ -2725,21 +2746,38 @@ o_list.cpp:105:39: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 105 | List->LeftCol = Event.Msg.Param1; | ~~~~~~~~~~^~~~~~ +In file included from fte.h:39, + from o_directory.h:12, + from o_directory.cpp:13: +stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 161 | vector() : + | ^ +stl_fte.h:161:17: note: remove the '< >' +stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 166 | vector(size_type prealloc) : + | ^~~~~~~~~ +stl_fte.h:166:18: note: remove the '< >' +stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 173 | vector(const vector& t) : + | ^ +stl_fte.h:173:17: note: remove the '< >' o_list.cpp: In member function 'virtual void EListPort::RepaintStatus()': o_list.cpp:306:22: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 306 | MoveStr(B, W - strlen(s), W, s, SColor, W); | ~~^~~~~~~~~~~ -g++ -c o_modemap.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 'int EList::MoveLineEnd()': o_list.cpp:514:23: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 514 | len = GetRowLength(Row); | ~~~~~~~~~~~~^~~~~ +g++ -c o_modemap.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, from o_messages.h:13, from o_messages.cpp:10: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ +g++ -c o_svn.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 stl_fte.h:161:17: note: remove the '< >' stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 166 | vector(size_type prealloc) : @@ -2785,7 +2823,21 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -g++ -c o_routine.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 +In file included from fte.h:39, + from o_routine.h:13, + from o_routine.cpp:10: +stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 161 | vector() : + | ^ +stl_fte.h:161:17: note: remove the '< >' +stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 166 | vector(size_type prealloc) : + | ^~~~~~~~~ +stl_fte.h:166:18: note: remove the '< >' +stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 173 | vector(const vector& t) : + | ^ +stl_fte.h:173:17: note: remove the '< >' 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); @@ -2803,18 +2855,8 @@ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from fte.h:39, - from console.h:13, - from o_model.h:13, - from o_model.cpp:10: -stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 161 | vector() : - | ^ -In file included from fte.h:39, - from console.h:13, - from o_model.h:13, - from o_list.h:14, - from o_modemap.h:13, - from o_modemap.cpp:10: + from sysdep.h:13, + from log.cpp:16: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -2827,19 +2869,12 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -stl_fte.h:161:17: note: remove the '< >' -stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 166 | vector(size_type prealloc) : - | ^~~~~~~~~ -stl_fte.h:166:18: note: remove the '< >' -stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 173 | vector(const vector& t) : - | ^ -stl_fte.h:173:17: note: remove the '< >' -g++ -c o_svn.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, - from sysdep.h:13, - from log.cpp:16: + from console.h:13, + from o_model.h:13, + from o_list.h:14, + from o_modemap.h:13, + from o_modemap.cpp:10: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -2852,10 +2887,10 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -g++ -c o_svnbase.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, - from o_routine.h:13, - from o_routine.cpp:10: + from console.h:13, + from o_model.h:13, + from o_model.cpp:10: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -2884,6 +2919,8 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' +g++ -c o_svnbase.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_svndiff.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, from o_svnbase.h:13, from o_svnbase.cpp:10: @@ -2912,10 +2949,6 @@ o_svnbase.cpp:185:24: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 185 | BufPos = p + 1 - MsgBuf; | ~~~~~~^~~~~~~~ -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_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); @@ -2932,6 +2965,11 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +g++ -c stl_string.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_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); @@ -2948,11 +2986,10 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -g++ -c o_svndiff.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -In file included from stl_string.cpp:1: +In file included from fte.h:39, + from o_svndiff.h:13, + from o_svndiff.cpp:10: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -2965,7 +3002,6 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -g++ -c view.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, from sysdep.h:13, from s_direct.h:13, @@ -2982,26 +3018,8 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -g++ -c e_unix.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -In file included from fte.h:39, - from o_svndiff.h:13, - from o_svndiff.cpp:10: -stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 161 | vector() : - | ^ -stl_fte.h:161:17: note: remove the '< >' -stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 166 | vector(size_type prealloc) : - | ^~~~~~~~~ -stl_fte.h:166:18: note: remove the '< >' -stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 173 | vector(const vector& t) : - | ^ -stl_fte.h:173:17: note: remove the '< >' -g++ -c memicmp.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -In file included from fte.h:39, - from c_history.h:12, - from view.cpp:11: +g++ -c s_util.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 +In file included from stl_string.cpp:1: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -3014,6 +3032,7 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' +g++ -c view.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, from s_util.h:13, from s_util.cpp:11: @@ -3029,6 +3048,7 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' +g++ -c e_unix.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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) { @@ -3051,17 +3071,10 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -g++ -c clip_x11.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_i18n.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -In file included from fte.h:39, - from console.h:13, - from c_bind.h:14, - from e_unix.cpp:12: -stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 161 | vector() : - | ^ +g++ -c memicmp.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, - from memicmp.cpp:3: + from c_history.h:12, + from view.cpp:11: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -3074,6 +3087,15 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' +g++ -c clip_x11.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_i18n.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 +In file included from fte.h:39, + from console.h:13, + from c_bind.h:14, + from e_unix.cpp:12: +stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 161 | vector() : + | ^ stl_fte.h:161:17: note: remove the '< >' stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 166 | vector(size_type prealloc) : @@ -3084,11 +3106,7 @@ | ^ stl_fte.h:173:17: note: remove the '< >' In file included from fte.h:39, - from console.h:13, - from o_model.h:13, - from o_list.h:14, - from o_buflist.h:13, - from clip_x11.cpp:10: + from memicmp.cpp:3: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -3101,8 +3119,6 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -g++ -c con_x11.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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); @@ -3119,7 +3135,11 @@ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from fte.h:39, - from con_i18n.cpp:13: + from console.h:13, + from o_model.h:13, + from o_list.h:14, + from o_buflist.h:13, + from clip_x11.cpp:10: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -3132,13 +3152,11 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' +g++ -c con_x11.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, - from sysdep.h:13, - from c_config.h:13, - from con_x11.cpp:11: + from con_i18n.cpp:13: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -3151,7 +3169,8 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -g++ -c clip_no.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, from console.h:13, from gui.h:13, @@ -3168,11 +3187,10 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -g++ -c con_linux.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, - from console.h:13, - from gui.h:13, - from g_text.cpp:12: + from sysdep.h:13, + from c_config.h:13, + from con_x11.cpp:11: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -3185,14 +3203,15 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -g++ -c con_ncurses.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, from sysdep.h:13, from g_unix_pipe.cpp:1: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ +g++ -c con_ncurses.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 stl_fte.h:161:17: note: remove the '< >' stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 166 | vector(size_type prealloc) : @@ -3203,7 +3222,9 @@ | ^ stl_fte.h:173:17: note: remove the '< >' In file included from fte.h:39, - from clip_no.cpp:10: + from console.h:13, + from gui.h:13, + from g_text.cpp:12: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -3223,10 +3244,6 @@ stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ -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) { - | ^~ stl_fte.h:161:17: note: remove the '< >' stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 166 | vector(size_type prealloc) : @@ -3236,12 +3253,8 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -g++ -c con_slang.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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++ -o cfte -Wl,-z,relro -Wl,-z,now -g cfte.o s_files.o s_string.o In file included from fte.h:39, - from sysdep.h:13, - from c_config.h:13, - from con_linux.cpp:30: + from clip_no.cpp:10: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -3271,26 +3284,12 @@ 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++) { | ~~^~~~~~~~~~~~~~~~~ -con_linux.cpp: In function 'int ConInit(int, int)': -con_linux.cpp:255:39: warning: conversion from 'unsigned int' to 'unsigned char' may change value [-Wconversion] - 255 | fromScreen[toScreen[c]] = c; - | ^ -con_linux.cpp: In function 'int GetKeyEvent(TEvent*)': -con_linux.cpp:665:20: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] - 665 | kbe.kb_index = key; - | ^~~ -con_linux.cpp:790:28: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] - 790 | kbe.kb_index = key; - | ^~~ -con_linux.cpp:791:28: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] - 791 | kbe.kb_table = shift_final; - | ^~~~~~~~~~~ -con_linux.cpp:805:35: warning: conversion from 'TKeyCode' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 805 | KeyCode = toupper(KeyCode); - | ^~~~~~~ +g++ -c compkeys.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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_slang.cpp -g -O2 -ffile-prefix-map=/build/reproducible-path/fte-0.50.2b6-20110708=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -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 In file included from fte.h:39, - from console.h:13, - from compkeys.cpp:12: + from sysdep.h:13, + from c_config.h:13, + from con_ncurses.cpp:10: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -3303,17 +3302,15 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -con_linux.cpp: In function 'int GetMouseEvent(TEvent*)': -con_linux.cpp:925:52: warning: conversion from 'unsigned int' to 'short int' may change value [-Wconversion] - 925 | if (e.x >= int(VideoCols)) e.x = VideoCols - 1; - | ~~~~~~~~~~^~~ -con_linux.cpp:926:52: warning: conversion from 'unsigned int' to 'short int' may change value [-Wconversion] - 926 | if (e.y >= int(VideoRows)) e.y = VideoRows - 1; - | ~~~~~~~~~~^~~ +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++ -o cfte -Wl,-z,relro -Wl,-z,now -g cfte.o s_files.o s_string.o In file included from fte.h:39, from sysdep.h:13, from c_config.h:13, - from con_ncurses.cpp:10: + from con_linux.cpp:30: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -3326,27 +3323,9 @@ 173 | vector(const vector& t) : | ^ stl_fte.h:173:17: note: remove the '< >' -con_linux.cpp: In function 'int ConInit(int, int)': -con_linux.cpp:229:13: warning: ignoring return value of 'int seteuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 229 | seteuid(effuid); - | ~~~~~~~^~~~~~~~ -con_linux.cpp:230:13: warning: ignoring return value of 'int setegid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 230 | setegid(effgid); - | ~~~~~~~^~~~~~~~ -con_linux.cpp:232:12: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 232 | setuid(getuid()); - | ~~~~~~^~~~~~~~~~ -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()); - | ~~~~~~^~~~~~~~~~ -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); - | ~~~~~^~~~~~~~~~~~~~~ In file included from fte.h:39, - from sysdep.h:13, - from c_config.h:13, - from con_slang.cpp:14: + from console.h:13, + from compkeys.cpp:12: stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 161 | vector() : | ^ @@ -3374,6 +3353,63 @@ console.h:120:7: note: 'class TCell' declared here 120 | class TCell { | ^~~~~ +In file included from fte.h:39, + from sysdep.h:13, + from c_config.h:13, + from con_slang.cpp:14: +stl_fte.h:161:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 161 | vector() : + | ^ +stl_fte.h:161:17: note: remove the '< >' +stl_fte.h:166:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 166 | vector(size_type prealloc) : + | ^~~~~~~~~ +stl_fte.h:166:18: note: remove the '< >' +stl_fte.h:173:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 173 | vector(const vector& t) : + | ^ +stl_fte.h:173:17: note: remove the '< >' +con_linux.cpp: In function 'int ConInit(int, int)': +con_linux.cpp:255:39: warning: conversion from 'unsigned int' to 'unsigned char' may change value [-Wconversion] + 255 | fromScreen[toScreen[c]] = c; + | ^ +con_linux.cpp: In function 'int GetKeyEvent(TEvent*)': +con_linux.cpp:665:20: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] + 665 | kbe.kb_index = key; + | ^~~ +con_linux.cpp:790:28: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] + 790 | kbe.kb_index = key; + | ^~~ +con_linux.cpp:791:28: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] + 791 | kbe.kb_table = shift_final; + | ^~~~~~~~~~~ +con_linux.cpp:805:35: warning: conversion from 'TKeyCode' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 805 | KeyCode = toupper(KeyCode); + | ^~~~~~~ +con_linux.cpp: In function 'int GetMouseEvent(TEvent*)': +con_linux.cpp:925:52: warning: conversion from 'unsigned int' to 'short int' may change value [-Wconversion] + 925 | if (e.x >= int(VideoCols)) e.x = VideoCols - 1; + | ~~~~~~~~~~^~~ +con_linux.cpp:926:52: warning: conversion from 'unsigned int' to 'short int' may change value [-Wconversion] + 926 | if (e.y >= int(VideoRows)) e.y = VideoRows - 1; + | ~~~~~~~~~~^~~ +con_linux.cpp: In function 'int ConInit(int, int)': +con_linux.cpp:229:13: warning: ignoring return value of 'int seteuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 229 | seteuid(effuid); + | ~~~~~~~^~~~~~~~ +con_linux.cpp:230:13: warning: ignoring return value of 'int setegid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 230 | setegid(effgid); + | ~~~~~~~^~~~~~~~ +con_linux.cpp:232:12: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 232 | setuid(getuid()); + | ~~~~~~^~~~~~~~~~ +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()); + | ~~~~~~^~~~~~~~~~ +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); + | ~~~~~^~~~~~~~~~~~~~~ ./cfte defcfg.fte defcfg.cnf cfte 0.50.02-cvs Copyright (c) 1994-1998 Marko Macek @@ -3570,12 +3606,12 @@ dpkg-deb: building package 'fte' in '../fte_0.50.2b6-20110708-6_arm64.deb'. dpkg-deb: building package 'fte-dbgsym' in '../fte-dbgsym_0.50.2b6-20110708-6_arm64.deb'. dpkg-deb: building package 'fte-docs' in '../fte-docs_0.50.2b6-20110708-6_all.deb'. +dpkg-deb: building package 'fte-console' in '../fte-console_0.50.2b6-20110708-6_arm64.deb'. dpkg-deb: building package 'fte-xwindow' in '../fte-xwindow_0.50.2b6-20110708-6_arm64.deb'. dpkg-deb: building package 'fte-xwindow-dbgsym' in '../fte-xwindow-dbgsym_0.50.2b6-20110708-6_arm64.deb'. -dpkg-deb: building package 'fte-console' in '../fte-console_0.50.2b6-20110708-6_arm64.deb'. dpkg-deb: building package 'fte-console-dbgsym' in '../fte-console-dbgsym_0.50.2b6-20110708-6_arm64.deb'. -dpkg-deb: building package 'fte-terminal-dbgsym' in '../fte-terminal-dbgsym_0.50.2b6-20110708-6_arm64.deb'. dpkg-deb: building package 'fte-terminal' in '../fte-terminal_0.50.2b6-20110708-6_arm64.deb'. +dpkg-deb: building package 'fte-terminal-dbgsym' in '../fte-terminal-dbgsym_0.50.2b6-20110708-6_arm64.deb'. dpkg-genbuildinfo --build=binary -O../fte_0.50.2b6-20110708-6_arm64.buildinfo dpkg-genchanges --build=binary -O../fte_0.50.2b6-20110708-6_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -3583,12 +3619,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/1184063/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1184063/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/2111512 and its subdirectories -I: Current time: Fri Oct 18 09:31:50 -12 2024 -I: pbuilder-time-stamp: 1729287110 +I: removing directory /srv/workspace/pbuilder/1184063 and its subdirectories +I: Current time: Fri Nov 21 17:55:32 +14 2025 +I: pbuilder-time-stamp: 1763697332