Diff of the two buildlogs: -- --- b1/build.log 2023-04-22 05:08:44.994991271 +0000 +++ b2/build.log 2023-04-22 05:11:17.772217167 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 23 23:30:31 -12 2024 -I: pbuilder-time-stamp: 1716550231 +I: Current time: Sat Apr 22 19:08:49 +14 2023 +I: pbuilder-time-stamp: 1682140129 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./fte_0.50.2b6-20110708.orig.tar.gz] I: copying [./fte_0.50.2b6-20110708-5.debian.tar.xz] I: Extracting source -gpgv: Signature made Sat Jun 4 10:12:01 2022 -12 +gpgv: Signature made Sun Jun 5 12:12:01 2022 +14 gpgv: using RSA key B23862C415D6565A4E86CBD7579C160D4C9E23E8 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./fte_0.50.2b6-20110708-5.dsc: no acceptable signature found @@ -29,52 +29,84 @@ dpkg-source: info: applying properly-pass-compile-flags.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/8638/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/22324/tmp/hooks/D01_modify_environment starting +debug: Running on codethink14-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 Apr 22 19:09 /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/22324/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/22324/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='8638' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=22324 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.bql29ZY6/pbuilderrc_xK4t --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.bql29ZY6/b1 --logfile b1/build.log fte_0.50.2b6-20110708-5.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.bql29ZY6/pbuilderrc_Xkor --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.bql29ZY6/b2 --logfile b2/build.log --extrapackages usrmerge fte_0.50.2b6-20110708-5.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink15-arm64 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 21 04:47 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/8638/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 20 00:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/22324/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -187,7 +219,7 @@ Get: 61 http://deb.debian.org/debian bookworm/main arm64 libxpm-dev arm64 1:3.5.12-1.1 [102 kB] Get: 62 http://deb.debian.org/debian bookworm/main arm64 libxt6 arm64 1:1.2.1-1.1 [172 kB] Get: 63 http://deb.debian.org/debian bookworm/main arm64 libxt-dev arm64 1:1.2.1-1.1 [402 kB] -Fetched 25.8 MB in 0s (51.6 MB/s) +Fetched 25.8 MB in 1s (45.4 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 ... 19616 files and directories currently installed.) @@ -458,10 +490,15 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/fte-0.50.2b6-20110708/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../fte_0.50.2b6-20110708-5_source.changes +I: user script /srv/workspace/pbuilder/22324/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/22324/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/fte-0.50.2b6-20110708/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../fte_0.50.2b6-20110708-5_source.changes dpkg-buildpackage: info: source package fte dpkg-buildpackage: info: source version 0.50.2b6-20110708-5 dpkg-buildpackage: info: source distribution unstable @@ -498,12 +535,11 @@ g++ -c c_color.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c c_desktop.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c c_hilit.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c c_history.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c c_mode.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX c_bind.cpp: In function 'int 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); | ~~~^~~ +g++ -c c_history.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX c_bind.cpp: In function 'int MatchKey(TKeyCode, KeySel)': c_bind.cpp:431:30: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 431 | else if (isascii(key)) @@ -511,16 +547,13 @@ c_bind.cpp:432:31: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 432 | key = toupper(key); | ^~~ +g++ -c c_mode.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX c_bind.cpp:443:25: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 443 | if (isascii(key)) | ^~~ c_bind.cpp:444:31: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 444 | key = toupper(key); | ^~~ -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 member function 'int ExState::GetStrParam(EView*, char*, size_t)': c_bind.cpp:648:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 648 | || Pos >= Macros[Macro].Count) @@ -541,6 +574,12 @@ c_bind.cpp:687:55: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 687 | if (view->GetIntVar(Macros[Macro].cmds[Pos].u.num, value) == 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ +g++ -c egui.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c e_block.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +c_mode.cpp: In function 'EMode* GetModeForName(const char*)': +c_mode.cpp:104: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_history.cpp: In function 'int LoadHistory(const char*)': c_history.cpp:129:23: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 129 | r = strtol(p, &e, 10); @@ -557,6 +596,7 @@ c_history.cpp:202:23: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 202 | i = strtol(p, &e, 10); | ~~~~~~^~~~~~~~~~~ +g++ -c e_buffer.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX c_history.cpp: In function 'int AddInputHistory(int, const char*)': c_history.cpp:307:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 307 | for (i = 0; i < inputHistory.Count; i++) { @@ -569,9 +609,58 @@ c_history.cpp:349:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 349 | while (i < inputHistory.Count) { | ~~^~~~~~~~~~~~~~~~~~~~ -g++ -c egui.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c e_block.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c e_buffer.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +egui.cpp: In member function 'virtual int EGUI::ExecMacro(GxView*, int)': +egui.cpp:189:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 189 | for (; State.Pos < m->Count; State.Pos++) { + | ~~~~~~~~~~^~~~~~~~~~ +g++ -c e_cmds.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +e_block.cpp: In member function 'int EBuffer::BlockSelectWord()': +e_block.cpp:623:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 623 | if (P >= L->Count) return 0; + | ~~^~~~~~~~~~~ +e_block.cpp:628:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 628 | while ((P < L->Count) && (C == ChClassK(L->Chars[P]))) P++; + | ~~^~~~~~~~~~ +e_block.cpp: In member function 'int EBuffer::BlockWriteTo(const char*, int)': +e_block.cpp:677:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 677 | Z = LL->Count; + | ~~~~^~~~~ +e_block.cpp:692:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 692 | Z = LL->Count; + | ~~~~^~~~~ +e_block.cpp:695:26: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 695 | Z = LL->Count; + | ~~~~^~~~~ +e_block.cpp:703:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 703 | if (A < LL->Count) { + | ~~^~~~~~~~~~~ +e_block.cpp:704:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 704 | if (Z > LL->Count) + | ~~^~~~~~~~~~~ +e_block.cpp:705:29: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 705 | Z = LL->Count; + | ~~~~^~~~~ +e_block.cpp: In function 'int SortProc(const void*, const void*)': +e_block.cpp:797:22: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 797 | int lA = LA->Count; + | ~~~~^~~~~ +e_block.cpp:798:22: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 798 | int lB = LB->Count; + | ~~~~^~~~~ +e_block.cpp:811:22: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 811 | int lA = LA->Count; + | ~~~~^~~~~ +e_block.cpp:812:22: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 812 | int lB = LB->Count; + | ~~~~^~~~~ +e_block.cpp: In member function 'int EBuffer::BlockUnTab()': +e_block.cpp:922:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 922 | while (O < L->Count) { + | ~~^~~~~~~~~~ +e_block.cpp: In member function 'int EBuffer::BlockEnTab()': +e_block.cpp:956:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 956 | while (O < L->Count) { + | ~~^~~~~~~~~~ e_buffer.cpp: In member function 'int EBuffer::LineLen(int)': e_buffer.cpp:593:28: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 593 | return ScreenPos(L, L->Count); @@ -648,60 +737,6 @@ e_buffer.cpp:956:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 956 | if (Pos < LCol + ACount) { | ~~~~^~~~~~~~~~~~~~~ -g++ -c e_cmds.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -e_block.cpp: In member function 'int EBuffer::BlockSelectWord()': -e_block.cpp:623:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 623 | if (P >= L->Count) return 0; - | ~~^~~~~~~~~~~ -e_block.cpp:628:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 628 | while ((P < L->Count) && (C == ChClassK(L->Chars[P]))) P++; - | ~~^~~~~~~~~~ -e_block.cpp: In member function 'int EBuffer::BlockWriteTo(const char*, int)': -e_block.cpp:677:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 677 | Z = LL->Count; - | ~~~~^~~~~ -e_block.cpp:692:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 692 | Z = LL->Count; - | ~~~~^~~~~ -e_block.cpp:695:26: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 695 | Z = LL->Count; - | ~~~~^~~~~ -e_block.cpp:703:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 703 | if (A < LL->Count) { - | ~~^~~~~~~~~~~ -e_block.cpp:704:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 704 | if (Z > LL->Count) - | ~~^~~~~~~~~~~ -e_block.cpp:705:29: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 705 | Z = LL->Count; - | ~~~~^~~~~ -e_block.cpp: In function 'int SortProc(const void*, const void*)': -e_block.cpp:797:22: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 797 | int lA = LA->Count; - | ~~~~^~~~~ -e_block.cpp:798:22: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 798 | int lB = LB->Count; - | ~~~~^~~~~ -e_block.cpp:811:22: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 811 | int lA = LA->Count; - | ~~~~^~~~~ -e_block.cpp:812:22: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 812 | int lB = LB->Count; - | ~~~~^~~~~ -e_block.cpp: In member function 'int EBuffer::BlockUnTab()': -e_block.cpp:922:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 922 | while (O < L->Count) { - | ~~^~~~~~~~~~ -e_block.cpp: In member function 'int EBuffer::BlockEnTab()': -e_block.cpp:956:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 956 | while (O < L->Count) { - | ~~^~~~~~~~~~ -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/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c e_file.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX e_cmds.cpp: In member function 'int EBuffer::MoveWordLeftX(int)': e_cmds.cpp:62:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 62 | if (P > L->Count) P = L->Count; @@ -736,7 +771,6 @@ 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++; | ~~^~~~~~~~~~ -g++ -c e_fold.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX e_cmds.cpp: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++; | ~~^~~~~~~~~~ @@ -826,10 +860,14 @@ e_cmds.cpp:1222:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 1222 | E = ScreenPos(L, L->Count); | ~~~^~~~~ +g++ -c e_cvslog.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c e_file.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c e_fold.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX e_cvslog.cpp: In member function 'void ECvsLog::ListFiles(int&, int, const char*, int, const int*, const int*, const char*, const char*, const char*, int)': e_cvslog.cpp:112:22: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 112 | int i=strlen (title); | ~~~~~~~^~~~~~~ +g++ -c e_line.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX cfte.cpp: In function 'int LoadFile(const char*, const char*, int)': cfte.cpp:1885:29: warning: 'localconfig/' directive writing 12 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 1885 | sprintf(tmp, "%slocalconfig/%s", StartDir, CfgName); @@ -877,7 +915,6 @@ e_cvslog.cpp:60:34: note: returned from 'void* operator new [](long unsigned int)' 60 | char *status=new char[cnt]; | ^ -g++ -c e_line.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c e_loadsave.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX e_line.cpp: In member function 'int EBuffer::ScreenPos(ELine*, int)': e_line.cpp:53:18: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] @@ -940,26 +977,6 @@ 556 | if ((int)(fwrite(L->Chars, 1, L->Count, fp)) != L->Count) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ g++ -c e_redraw.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c e_regex.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -e_redraw.cpp: In member function 'void EBuffer::Redraw()': -e_redraw.cpp:430:48: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 430 | int NumChars = RLine(ActLine)->Count; - | ~~~~~~~~~~~~~~~~^~~~~ -e_redraw.cpp:434:32: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 434 | int lf = strlen(fName); - | ~~~~~~^~~~~~~ -e_redraw.cpp:485:31: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 485 | int l = strlen(s); - | ~~~~~~^~~ -e_redraw.cpp:487:32: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 487 | int fl = strlen(FileName); - | ~~~~~~^~~~~~~~~~ -e_redraw.cpp:492:36: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 492 | MoveStr(B, W->Cols - strlen(num), W->Cols, num, SColor, W->Cols); - | ~~~~~~~~^~~~~~~~~~~~~ -e_redraw.cpp:494:20: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 494 | fw -= strlen(num); - | ~~~^~~~~~~~~~~~~~ e_print.cpp: In member function 'int EBuffer::BlockPrint()': e_print.cpp:51:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 51 | Z = LL->Count; @@ -989,8 +1006,30 @@ 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; | ^~~~~ +g++ -c e_regex.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +e_redraw.cpp: In member function 'void EBuffer::Redraw()': +e_redraw.cpp:430:48: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 430 | int NumChars = RLine(ActLine)->Count; + | ~~~~~~~~~~~~~~~~^~~~~ +e_redraw.cpp:434:32: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 434 | int lf = strlen(fName); + | ~~~~~~^~~~~~~ +e_redraw.cpp:485:31: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 485 | int l = strlen(s); + | ~~~~~~^~~ +e_redraw.cpp:487:32: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 487 | int fl = strlen(FileName); + | ~~~~~~^~~~~~~~~~ +e_redraw.cpp:492:36: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 492 | MoveStr(B, W->Cols - strlen(num), W->Cols, num, SColor, W->Cols); + | ~~~~~~~~^~~~~~~~~~~~~ +e_redraw.cpp:494:20: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 494 | fw -= strlen(num); + | ~~~^~~~~~~~~~~~~~ g++ -c e_search.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c e_svnlog.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c e_tags.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c e_trans.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX e_search.cpp: In member function 'int EBuffer::FindStr(const char*, int, SearchReplaceOptions&)': e_search.cpp:148:23: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] 148 | int Options = opt.Options; @@ -1073,9 +1112,6 @@ e_search.cpp:1175:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1175 | while (len < int(sizeof(word)) && P < L->Count && (ChClass(L->Chars[P]) == 1 || L->Chars[P] == '_')) | ~~^~~~~~~~~~ -g++ -c e_tags.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c e_trans.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c e_undo.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX e_svnlog.cpp: In member function 'void ESvnLog::ListFiles(int&, int, const char*, int, const int*, const int*, const char*, const char*, const char*, int)': e_svnlog.cpp:119:21: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 119 | InsText (p,i+=5,5, " file"); @@ -1089,25 +1125,38 @@ 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;iFindStr(TagMem + TT->StrFind, strlen(TagMem + TT->StrFind), 0)) + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +e_tags.cpp:373:63: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 373 | ((EBuffer *)ActiveModel)->FindStr(TagMem + TT->Tag, strlen(TagMem + TT->Tag), 0); + | ~~~~~~^~~~~~~~~~~~~~~~~~ +e_tags.cpp: In function 'int PushPos(EBuffer*)': +e_tags.cpp:381:15: warning: unused variable 'T' [-Wunused-variable] + 381 | TagStack* T = TagStack::TStack; + | ^ +e_tags.cpp: In function 'int TagComplete(char**, int*, int, const char*)': +e_tags.cpp:493:39: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 493 | int L = 0, R = CTags, len = strlen(Tag); + | ~~~~~~^~~~~ +e_tags.cpp:508:64: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 508 | int l = strlen(TagMem + TagD[TagI[N]].Tag) - len; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ e_trans.cpp: In member function 'int EBuffer::BlockTrans(unsigned char*)': e_trans.cpp:110:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 110 | E = LL->Count; @@ -1130,10 +1179,30 @@ e_trans.cpp:139:21: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 139 | E = LL->Count; | ~~~~^~~~~ +g++ -c e_undo.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX e_trans.cpp: In member function 'int EBuffer::LineTrans(unsigned char*)': e_trans.cpp:166:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 166 | for (I = 0; I < L->Count; I++) | ~~^~~~~~~~~~ +e_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; @@ -1226,79 +1295,12 @@ 343 | if (PlaceUserBookmark ((const char *)data,EPoint (Line,Col))==0) return 0; | ^~~ g++ -c fte.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -e_tags.cpp: In function 'int AllocMem(const char*, size_t, int*)': -e_tags.cpp:72:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 72 | while (N < (TagLen + Len)) - | ~~^~~~~~~~~~~~~~~~ -e_tags.cpp:81:12: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 81 | TagLen += Len; - | ~~~~~~~^~~~~~ -e_tags.cpp: In function 'int TagsLoad(int)': -e_tags.cpp:194:18: warning: conversion from 'long int' to 'int' may change value [-Wconversion] - 194 | TagL = p - LTag; - | ~~^~~~~~ -e_tags.cpp:199:19: warning: conversion from 'long int' to 'int' may change value [-Wconversion] - 199 | FileL = p - LFile; - | ~~^~~~~~~ g++ -c gui.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -e_tags.cpp: In function 'int GotoTag(int, EView*)': -e_tags.cpp:370:76: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 370 | if (!((EBuffer *)ActiveModel)->FindStr(TagMem + TT->StrFind, strlen(TagMem + TT->StrFind), 0)) - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -e_tags.cpp:373:63: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 373 | ((EBuffer *)ActiveModel)->FindStr(TagMem + TT->Tag, strlen(TagMem + TT->Tag), 0); - | ~~~~~~^~~~~~~~~~~~~~~~~~ -e_tags.cpp: In function 'int PushPos(EBuffer*)': -e_tags.cpp:381:15: warning: unused variable 'T' [-Wunused-variable] - 381 | TagStack* T = TagStack::TStack; - | ^ -e_tags.cpp: In function 'int TagComplete(char**, int*, int, const char*)': -e_tags.cpp:493:39: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 493 | int L = 0, R = CTags, len = strlen(Tag); - | ~~~~~~^~~~~ -e_tags.cpp:508:64: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 508 | int l = strlen(TagMem + TagD[TagI[N]].Tag) - len; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ g++ -c g_draw.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c g_menu.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c h_ada.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c h_c.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c h_catbs.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -h_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] == '(')) { - | ~~^~~~~~~~~~~~~ -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]; - | ^~~~ -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_fte.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c h_ipf.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c h_make.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c h_msg.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -h_fte.cpp: In function 'int Hilit_FTE(EBuffer*, int, PCell, int, int, ELine*, hlState&, hsState*, int*)': -h_fte.cpp:32:16: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 32 | int len1 = len; - | ^~~ h_c.cpp: In function 'int Hilit_C(EBuffer*, int, PCell, int, int, ELine*, hlState&, hsState*, int*)': h_c.cpp:44:16: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 44 | int len1 = len; @@ -1318,7 +1320,19 @@ 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 | ~~^~~~~~~~~~~~~~~~~~ -g++ -c h_pascal.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +h_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] == '(')) { + | ~~^~~~~~~~~~~~~ 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; @@ -1347,10 +1361,7 @@ 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; | ~~~~~~~~~~~~~~~~^~~~~ -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_fte.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX h_c.cpp:828:33: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 828 | L = B->RLine(RowP)->Count; | ~~~~~~~~~~~~~~~~^~~~~ @@ -1364,6 +1375,26 @@ 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_ipf.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +h_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; + | ^~~ +g++ -c h_make.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c h_msg.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c h_pascal.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +h_make.cpp: In function 'int Hilit_MAKE(EBuffer*, int, PCell, int, int, ELine*, hlState&, hsState*, int*)': +h_make.cpp:24:16: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 24 | int len1 = len; + | ^~~ +g++ -c h_perl.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +e_search.cpp: In member function 'int EBuffer::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_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) { @@ -1374,10 +1405,14 @@ 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_perl.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +e_search.cpp: In member function 'int EBuffer::FindTagWord(ExState&)': +e_search.cpp:1177:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] + 1177 | word[len] = 0; + | ~~~~~~~~~~^~~ +e_search.cpp:1168:10: note: at offset 513 into destination object 'word' of size 513 + 1168 | char word[MAXSEARCH + 1]; + | ^~~~ g++ -c h_plain.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c h_rexx.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c h_sh.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX 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()); @@ -1385,6 +1420,32 @@ 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_rexx.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +h_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; + | ~~^~~ +h_perl.cpp:242:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 242 | while ((x < Line->Count) && + | ~~^~~~~~~~~~~~~ +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] == '(')) { + | ~~^~~~~~~~~~~~~ +g++ -c h_sh.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +h_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_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; + | ~~~~~~^~~~~ +g++ -c h_simple.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX h_rexx.cpp: In function 'int Hilit_REXX(EBuffer*, int, PCell, int, int, ELine*, hlState&, hsState*, int*)': h_rexx.cpp:79:35: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 79 | x = i + j; @@ -1421,6 +1482,7 @@ h_rexx.cpp:286:28: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 286 | L = B->RLine(Row)->Count; | ~~~~~~~~~~~~~~~^~~~~ +g++ -c h_tex.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX h_sh.cpp: In function 'int Hilit_SH(EBuffer*, int, PCell, int, int, ELine*, hlState&, hsState*, int*)': h_sh.cpp:69:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 69 | while (len > j @@ -1437,31 +1499,6 @@ 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_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; - | ~~^~~ -h_perl.cpp:242:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] - 242 | while ((x < Line->Count) && - | ~~^~~~~~~~~~~~~ -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_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; - | ~~~~~~^~~~~ -g++ -c h_simple.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -h_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/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c indent.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c i_ascii.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX h_simple.cpp: In function 'int Hilit_SIMPLE(EBuffer*, int, PCell, int, int, ELine*, hlState&, hsState*, int*)': @@ -1540,8 +1577,6 @@ g++ -c i_choice.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c i_complete.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c i_input.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c i_key.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c i_modelview.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX h_simple.cpp:72:29: warning: 'iterCount' may be used uninitialized [-Wmaybe-uninitialized] 72 | if (++iterCount > hm->stateCount) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ @@ -1554,20 +1589,6 @@ 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); @@ -1598,9 +1619,28 @@ i_input.cpp:248:21: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 248 | Pos = strlen(Line); | ~~~~~~^~~~~~ +i_complete.cpp: In member function 'int ExComplete::DoCompleteWord()': +i_complete.cpp:78:36: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 78 | && Buffer->SetPos(Orig.Col + l, Orig.Row)) { + | ~~~~~~~~~^~~ +i_complete.cpp: In member function 'int ExComplete::RefreshComplete()': +i_complete.cpp:267:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] + 267 | if (!P || P > L->Count) + | ~~^~~~~~~~~~ +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_key.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c i_modelview.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c i_oview.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c i_search.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c i_view.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c log.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c o_buffer.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c o_buflist.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX i_view.cpp: In member function 'int GxView::GetStr(const char*, size_t, char*, int)': i_view.cpp:182:40: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 182 | return DLGGetStr(this, Prompt, BufLen, Str, HistId, 0); @@ -1613,11 +1653,27 @@ 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 log.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c o_buffer.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c o_buflist.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c o_cvs.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +i_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:906, + 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_cvsbase.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +o_buflist.cpp: In member function 'virtual void BufferView::HandleEvent(TEvent&)': +o_buflist.cpp:209:63: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] + 209 | if (isAscii(Event.Key.Code) && (SearchLen < ExISearch::MAXISEARCH)) { + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -1651,25 +1707,37 @@ o_buffer.cpp:720:18: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 720 | No = atol(Num); | ~~~~^~~~~ +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; + | ^~~~~~ +o_cvsbase.cpp: In member function 'int ECvsBase::GetLine(char*, size_t)': +o_cvsbase.cpp:164:27: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] + 164 | rc = gui->ReadPipe(PipeId, MsgBuf + BufLen, sizeof(MsgBuf) - BufLen); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +o_cvsbase.cpp:172:13: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 172 | l = max - 1; + | ~~~~^~~ +o_cvsbase.cpp:173:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 173 | if (BufLen - BufPos < l) + | ~~~~~~~~~~~~~~~~^~~ +o_cvsbase.cpp:174:20: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 174 | l = BufLen - BufPos; + | ~~~~~~~^~~~~~~~ +o_cvsbase.cpp:180:19: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 180 | l = strlen(Line); + | ~~~~~~^~~~~~ +o_cvsbase.cpp:183:24: warning: conversion from 'long int' to 'int' may change value [-Wconversion] + 183 | BufPos = p + 1 - MsgBuf; + | ~~~~~~^~~~~~~~ +o_cvsbase.cpp: In member function 'virtual void ECvsBase::DrawLine(PCell, int, int, ChColor, int)': +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)); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ~~~~^~~~~ -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:906, - 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 ()); - | ~~~~~~~~~~~~~~~~~ o_buffer.cpp: In member function 'int EBuffer::ChangeRightMargin(ExState&)': o_buffer.cpp:1283:24: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 1283 | No = atol(Num) - 1; @@ -1699,37 +1767,40 @@ 1668 | while ((P< L->Count) && (C == ChClassK(L->Chars[P]))) P++; | ~^~~~~~~~~~ g++ -c o_cvsdiff.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -o_buflist.cpp: In member function 'virtual void BufferView::HandleEvent(TEvent&)': -o_buflist.cpp:209:63: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] - 209 | if (isAscii(Event.Key.Code) && (SearchLen < ExISearch::MAXISEARCH)) { - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -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; - | ^~~~~~ -o_cvsbase.cpp: In member function 'int ECvsBase::GetLine(char*, size_t)': -o_cvsbase.cpp:164:27: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] - 164 | rc = gui->ReadPipe(PipeId, MsgBuf + BufLen, sizeof(MsgBuf) - BufLen); - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -o_cvsbase.cpp:172:13: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 172 | l = max - 1; - | ~~~~^~~ -o_cvsbase.cpp:173:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 173 | if (BufLen - BufPos < l) - | ~~~~~~~~~~~~~~~~^~~ -o_cvsbase.cpp:174:20: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 174 | l = BufLen - BufPos; - | ~~~~~~~^~~~~~~~ -o_cvsbase.cpp:180:19: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 180 | l = strlen(Line); - | ~~~~~~^~~~~~ -o_cvsbase.cpp:183:24: warning: conversion from 'long int' to 'int' may change value [-Wconversion] - 183 | BufPos = p + 1 - MsgBuf; - | ~~~~~~^~~~~~~~ -o_cvsbase.cpp: In member function 'virtual void ECvsBase::DrawLine(PCell, int, int, ChColor, int)': -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_directory.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c o_list.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +o_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; + | ~~~~~~~~~~~~~~~~~~~~~~~^~ +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); + | ~~~~~~~~~~^~~~~~ +o_list.cpp:67:38: warning: conversion from 'long int' to 'int' may change value [-Wconversion] + 67 | List->ScrollUp(Event.Msg.Param1); + | ~~~~~~~~~~^~~~~~ +o_list.cpp:83:42: warning: conversion from 'long int' to 'int' may change value [-Wconversion] + 83 | List->TopRow = Event.Msg.Param1; + | ~~~~~~~~~~^~~~~~ +o_list.cpp:89:41: warning: conversion from 'long int' to 'int' may change value [-Wconversion] + 89 | List->ScrollRight(Event.Msg.Param1); + | ~~~~~~~~~~^~~~~~ +o_list.cpp:93:40: warning: conversion from 'long int' to 'int' may change value [-Wconversion] + 93 | List->ScrollLeft(Event.Msg.Param1); + | ~~~~~~~~~~^~~~~~ +o_list.cpp:105:39: warning: conversion from 'long int' to 'int' may change value [-Wconversion] + 105 | List->LeftCol = Event.Msg.Param1; + | ~~~~~~~~~~^~~~~~ +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); + | ~~^~~~~~~~~~~ +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_messages.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX o_buffer.cpp: In member function 'int EBuffer::MoveToLine(ExState&)': o_buffer.cpp:704:23: warning: '%d' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] 704 | sprintf(Num, "%d", VToR(CP.Row) + 1); @@ -1749,6 +1820,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +g++ -c o_model.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX o_buffer.cpp: In member function 'int EBuffer::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); @@ -1765,13 +1837,26 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -g++ -c o_directory.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -o_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; - | ~~~~~~~~~~~~~~~~~~~~~~~^~ -g++ -c o_list.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c o_messages.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c o_modemap.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +o_messages.cpp: In member function 'int EMessages::GetLine(char*, size_t)': +o_messages.cpp:251:20: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] + 251 | BufLen += rc; + | ~~~~~~~^~~~~ +o_messages.cpp:253:15: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 253 | l = maxim - 1; + | ~~~~~~^~~ +o_messages.cpp:262:19: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] + 262 | l = strlen(Line); + | ~~~~~~^~~~~~ +o_messages.cpp:265:24: warning: conversion from 'long int' to 'int' may change value [-Wconversion] + 265 | BufPos = p + 1 - MsgBuf; + | ~~~~~~^~~~~~~~ +o_messages.cpp: In member function 'void EMessages::GetErrors()': +o_messages.cpp:430:52: warning: conversion from 'fte::vector::size_type' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] + 430 | for (unsigned i = DirLevel.size(); i-- > 0;) { + | ~~~~~~~~~~~~~^~ +g++ -c o_routine.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c o_svn.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX o_buffer.cpp: In member function 'int EBuffer::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); @@ -1804,59 +1889,33 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -g++ -c o_model.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -o_list.cpp: In member function 'virtual void EListPort::HandleEvent(TEvent&)': -o_list.cpp:63:40: warning: conversion from 'long int' to 'int' may change value [-Wconversion] - 63 | List->ScrollDown(Event.Msg.Param1); - | ~~~~~~~~~~^~~~~~ -o_list.cpp:67:38: warning: conversion from 'long int' to 'int' may change value [-Wconversion] - 67 | List->ScrollUp(Event.Msg.Param1); - | ~~~~~~~~~~^~~~~~ -o_list.cpp:83:42: warning: conversion from 'long int' to 'int' may change value [-Wconversion] - 83 | List->TopRow = Event.Msg.Param1; - | ~~~~~~~~~~^~~~~~ -o_list.cpp:89:41: warning: conversion from 'long int' to 'int' may change value [-Wconversion] - 89 | List->ScrollRight(Event.Msg.Param1); - | ~~~~~~~~~~^~~~~~ -o_list.cpp:93:40: warning: conversion from 'long int' to 'int' may change value [-Wconversion] - 93 | List->ScrollLeft(Event.Msg.Param1); - | ~~~~~~~~~~^~~~~~ -o_list.cpp:105:39: warning: conversion from 'long int' to 'int' may change value [-Wconversion] - 105 | List->LeftCol = Event.Msg.Param1; - | ~~~~~~~~~~^~~~~~ -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); - | ~~^~~~~~~~~~~ -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); - | ~~~~~~~~~~~~^~~~~ -o_messages.cpp: In member function 'int EMessages::GetLine(char*, size_t)': -o_messages.cpp:251:20: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] - 251 | BufLen += rc; - | ~~~~~~~^~~~~ -o_messages.cpp:253:15: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 253 | l = maxim - 1; - | ~~~~~~^~~ -o_messages.cpp:262:19: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] - 262 | l = strlen(Line); - | ~~~~~~^~~~~~ -o_messages.cpp:265:24: warning: conversion from 'long int' to 'int' may change value [-Wconversion] - 265 | BufPos = p + 1 - MsgBuf; - | ~~~~~~^~~~~~~~ -o_messages.cpp: In member function 'void EMessages::GetErrors()': -o_messages.cpp:430:52: warning: conversion from 'fte::vector::size_type' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] - 430 | for (unsigned i = DirLevel.size(); i-- > 0;) { - | ~~~~~~~~~~~~~^~ -g++ -c o_modemap.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c o_routine.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c o_svn.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +o_directory.cpp: In member function 'virtual void EDirectory::HandleEvent(TEvent&)': +o_directory.cpp:348:55: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] + 348 | if (isAscii(Event.Key.Code) && (SearchLen < ExISearch::MAXISEARCH)) { + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -c o_svnbase.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c o_svndiff.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c stl_string.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c s_direct.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c s_util.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +o_directory.cpp: In member function 'virtual void EDirectory::DrawLine(PCell, int, int, ChColor, int)': +o_directory.cpp:85:31: warning: '%8ld' directive writing between 8 and 20 bytes into a region of size 16 [-Wformat-overflow=] + 85 | sprintf(SizeStr, "%8ld", (long) Size); + | ^~~~ +o_directory.cpp:85:30: note: directive argument in the range [-9223372036854775808, 10485759] + 85 | sprintf(SizeStr, "%8ld", (long) Size); + | ^~~~~~ +In file included from /usr/include/stdio.h:906, + from o_directory.cpp:10: +In function 'int sprintf(char*, const char*, ...)', + inlined from 'virtual void EDirectory::DrawLine(PCell, int, int, ChColor, int)' at o_directory.cpp:85:20: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 9 and 21 bytes into a destination of size 16 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ o_svnbase.cpp: In member function 'int ESvnBase::GetLine(char*, size_t)': o_svnbase.cpp:172:20: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] 172 | BufLen += rc; @@ -1871,39 +1930,15 @@ 185 | BufPos = p + 1 - MsgBuf; | ~~~~~~^~~~~~~~ g++ -c view.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -o_directory.cpp: In member function 'virtual void EDirectory::HandleEvent(TEvent&)': -o_directory.cpp:348:55: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] - 348 | if (isAscii(Event.Key.Code) && (SearchLen < ExISearch::MAXISEARCH)) { - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -c e_unix.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c memicmp.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX s_util.cpp: In function 'int copyfile(const char*, const char*)': s_util.cpp:40:22: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] 40 | while ((rd = read(fd1, buffer, BUF_SZ)) > 0) { | ~~~~^~~~~~~~~~~~~~~~~~~~~ +g++ -c memicmp.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c clip_x11.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c con_i18n.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c con_x11.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c g_nodlg.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -g++ -c g_text.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX -o_directory.cpp: In member function 'virtual void EDirectory::DrawLine(PCell, int, int, ChColor, int)': -o_directory.cpp:85:31: warning: '%8ld' directive writing between 8 and 20 bytes into a region of size 16 [-Wformat-overflow=] - 85 | sprintf(SizeStr, "%8ld", (long) Size); - | ^~~~ -o_directory.cpp:85:30: note: directive argument in the range [-9223372036854775808, 10485759] - 85 | sprintf(SizeStr, "%8ld", (long) Size); - | ^~~~~~ -In file included from /usr/include/stdio.h:906, - from o_directory.cpp:10: -In function 'int sprintf(char*, const char*, ...)', - inlined from 'virtual void EDirectory::DrawLine(PCell, int, int, ChColor, int)' at o_directory.cpp:85:20: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 9 and 21 bytes into a destination of size 16 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ 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); @@ -1919,26 +1954,40 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +g++ -c g_nodlg.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c g_text.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c g_unix_pipe.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c menu_text.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -c clip_no.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +menu_text.cpp: In function 'int ExecVertMenu(int, int, int, TEvent&, UpMenu*)': +menu_text.cpp:305:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 305 | if (cur >= Menus[id].Count) cur = 0; + | ~~~~^~~~~~~~~~~~~~~~~~ +menu_text.cpp:334:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 334 | for (i = 0; i < Menus[id].Count; i++) { + | ~~^~~~~~~~~~~~~~~~~ +menu_text.cpp: In function 'int ExecMainMenu(TEvent&, char)': +menu_text.cpp:491:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 491 | for (int i = 0; i < Menus[id].Count; i++) { + | ~~^~~~~~~~~~~~~~~~~ +menu_text.cpp:558:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 558 | if (cur >= Menus[id].Count) cur = 0; + | ~~~~^~~~~~~~~~~~~~~~~~ +menu_text.cpp:582:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 582 | for (i = 0; i < Menus[id].Count; i++) { + | ~~^~~~~~~~~~~~~~~~~ g++ -c con_linux.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g_text.cpp: In member function 'void GUI::ProcessEvent()': g_text.cpp:1201:46: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 1201 | if (::ExecVertMenu(x, y, id, E, 0) != 1) { | ^~ g++ -c con_ncurses.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c compkeys.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX +g++ -c con_slang.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX con_linux.cpp: In function 'int ConInit(int, int)': con_linux.cpp:255:39: warning: conversion from 'unsigned int' to 'unsigned char' may change value [-Wconversion] 255 | fromScreen[toScreen[c]] = c; | ^ -menu_text.cpp: In function 'int ExecVertMenu(int, int, int, TEvent&, UpMenu*)': -menu_text.cpp:305:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 305 | if (cur >= Menus[id].Count) cur = 0; - | ~~~~^~~~~~~~~~~~~~~~~~ -menu_text.cpp:334:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 334 | for (i = 0; i < Menus[id].Count; i++) { - | ~~^~~~~~~~~~~~~~~~~ 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; @@ -1952,10 +2001,6 @@ con_linux.cpp:805:35: warning: conversion from 'TKeyCode' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 805 | KeyCode = toupper(KeyCode); | ^~~~~~~ -menu_text.cpp: In function 'int ExecMainMenu(TEvent&, char)': -menu_text.cpp:491:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 491 | for (int i = 0; i < Menus[id].Count; i++) { - | ~~^~~~~~~~~~~~~~~~~ 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; @@ -1963,12 +2008,6 @@ 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; | ~~~~~~~~~~^~~ -menu_text.cpp:558:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 558 | if (cur >= Menus[id].Count) cur = 0; - | ~~~~^~~~~~~~~~~~~~~~~~ -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:229:13: warning: ignoring return value of 'int seteuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 229 | seteuid(effuid); @@ -1986,7 +2025,6 @@ con_linux.cpp:473:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 473 | write(VcsFd, pos, 2); | ~~~~~^~~~~~~~~~~~~~~ -g++ -c compkeys.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX con_ncurses.cpp: In function 'void SaveScreen()': con_ncurses.cpp:67:31: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class TCell'; use assignment or value-initialization instead [-Wclass-memaccess] 67 | memset(SavedScreen[i] + MaxSavedW, 0, (NewSavedW - MaxSavedW) * sizeof(TCell)); @@ -2002,7 +2040,6 @@ console.h:120:7: note: 'class TCell' declared here 120 | class TCell { | ^~~~~ -g++ -c con_slang.cpp -g -O2 -ffile-prefix-map=/build/fte-0.50.2b6-20110708=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline -g -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include -I/usr/include/slang -DUNIX -DLINUX g++ -o cfte -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -g cfte.o s_files.o s_string.o ./cfte defcfg.fte defcfg.cnf cfte 0.50.02-cvs @@ -2168,11 +2205,11 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'fte-docs' in '../fte-docs_0.50.2b6-20110708-5_all.deb'. -dpkg-deb: building package 'fte' in '../fte_0.50.2b6-20110708-5_arm64.deb'. dpkg-deb: building package 'fte-terminal-dbgsym' in '../fte-terminal-dbgsym_0.50.2b6-20110708-5_arm64.deb'. +dpkg-deb: building package 'fte-docs' in '../fte-docs_0.50.2b6-20110708-5_all.deb'. dpkg-deb: building package 'fte-xwindow-dbgsym' in '../fte-xwindow-dbgsym_0.50.2b6-20110708-5_arm64.deb'. dpkg-deb: building package 'fte-console-dbgsym' in '../fte-console-dbgsym_0.50.2b6-20110708-5_arm64.deb'. +dpkg-deb: building package 'fte' in '../fte_0.50.2b6-20110708-5_arm64.deb'. dpkg-deb: building package 'fte-xwindow' in '../fte-xwindow_0.50.2b6-20110708-5_arm64.deb'. dpkg-deb: building package 'fte-dbgsym' in '../fte-dbgsym_0.50.2b6-20110708-5_arm64.deb'. dpkg-deb: building package 'fte-terminal' in '../fte-terminal_0.50.2b6-20110708-5_arm64.deb'. @@ -2184,12 +2221,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/22324/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/22324/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/8638 and its subdirectories -I: Current time: Thu May 23 23:31:43 -12 2024 -I: pbuilder-time-stamp: 1716550303 +I: removing directory /srv/workspace/pbuilder/22324 and its subdirectories +I: Current time: Sat Apr 22 19:11:16 +14 2023 +I: pbuilder-time-stamp: 1682140276