Diff of the two buildlogs: -- --- b1/build.log 2025-01-15 05:27:06.750449551 +0000 +++ b2/build.log 2025-01-15 05:30:25.581380194 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Jan 14 17:20:18 -12 2025 -I: pbuilder-time-stamp: 1736918418 +I: Current time: Wed Feb 18 01:50:08 +14 2026 +I: pbuilder-time-stamp: 1771329008 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -24,52 +24,84 @@ dpkg-source: info: applying no_copy_binary.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2628792/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2158238/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +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 Feb 17 11:50 /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/2158238/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2158238/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + 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]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='b39add83a9864349941fbb57f6a4568c' - 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='2628792' - PS1='# ' - PS2='> ' + INVOCATION_ID=64fca1ec6dfc487aa797af3fa014c5fc + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2158238 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.sl6nPNXG/pbuilderrc_FbJy --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.sl6nPNXG/b1 --logfile b1/build.log wp2latex_4.13~ds-1.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.sl6nPNXG/pbuilderrc_eacH --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.sl6nPNXG/b2 --logfile b2/build.log wp2latex_4.13~ds-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.11.10+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.10-1~bpo12+1 (2024-12-19) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2628792/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2158238/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -279,7 +311,7 @@ Get: 152 http://deb.debian.org/debian trixie/main amd64 texlive-latex-recommended all 2024.20241115-1 [8757 kB] Get: 153 http://deb.debian.org/debian trixie/main amd64 texlive-pictures all 2024.20241115-1 [17.0 MB] Get: 154 http://deb.debian.org/debian trixie/main amd64 texlive-latex-extra all 2024.20241115-1 [24.6 MB] -Fetched 667 MB in 15s (45.7 MB/s) +Fetched 667 MB in 13s (50.1 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.12-minimal:amd64. (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 ... 19853 files and directories currently installed.) @@ -797,8 +829,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed Jan 15 05:23:24 UTC 2025. -Universal Time is now: Wed Jan 15 05:23:24 UTC 2025. +Local time is now: Tue Feb 17 11:51:33 UTC 2026. +Universal Time is now: Tue Feb 17 11:51:33 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up fonts-tlwg-typewriter-otf (1:0.7.3-1) ... @@ -941,7 +973,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/wp2latex-4.13~ds/ && 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 > ../wp2latex_4.13~ds-1_source.changes +I: user script /srv/workspace/pbuilder/2158238/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2158238/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/wp2latex-4.13~ds/ && 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 > ../wp2latex_4.13~ds-1_source.changes dpkg-buildpackage: info: source package wp2latex dpkg-buildpackage: info: source version 4.13~ds-1 dpkg-buildpackage: info: source distribution unstable @@ -951,7 +987,7 @@ debian/rules clean dh clean --with tex dh_auto_clean - make -j20 distclean + make -j42 distclean make[1]: Entering directory '/build/reproducible-path/wp2latex-4.13~ds' make -C ./sources.cc/ distclean make[2]: Entering directory '/build/reproducible-path/wp2latex-4.13~ds/sources.cc' @@ -1262,7 +1298,7 @@ WEBP Library: yes Type make to build WP2LaTeX. dh_auto_build - make -j20 + make -j42 make[1]: Entering directory '/build/reproducible-path/wp2latex-4.13~ds' export OSTYPE && make -C ./sources.cc/cp_lib/ OSTYPE=linux-gnu make[2]: Entering directory '/build/reproducible-path/wp2latex-4.13~ds/sources.cc/cp_lib' @@ -1308,44 +1344,44 @@ ./include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); | ^~~~~~~~~~~~ +In file included from cpbldr.cc:11: +../atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ In file included from cplib.cc:6: ../atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] 197 | friend temp_string del(const string &s,int from, int len=1); | ^~~ -In file included from ../atoms/include/dbllist.h:12, - from cplib.cc:7: -../atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] - 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); - | ^~~~~~~~~~~~ lists.cc: In function 'int ListCmp(const list&, const list&)': lists.cc:430:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 430 | if(j=StrCmp(*cpstr1++,*cpstr2++)) return(j); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from cpbldr.cc:11: -../atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ +In file included from ./include/dbllist.h:12, + from dbllist.cc:12: +./include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] + 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); + | ^~~~~~~~~~~~ lists.cc: At global scope: lists.cc:594:5: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't the only declaration [-fpermissive] 594 | int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl) | ^~~~~~~~~~~~ -./include/lists.h:99:23: note: previous declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' +In file included from ../atoms/include/dbllist.h:12, + from cplib.cc:7: +../atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); | ^~~~~~~~~~~~ -In file included from ./include/dbllist.h:12, - from dbllist.cc:12: -./include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] +./include/lists.h:99:23: note: previous declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); | ^~~~~~~~~~~~ -In file included from strings.cc:15: -./include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ In file included from ../atoms/include/dbllist.h:12, from cpbldr.cc:12: ../atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); | ^~~~~~~~~~~~ +In file included from strings.cc:15: +./include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ ./include/dbllist.h: In copy constructor 'doublelist::doublelist(const doublelist&)': ./include/dbllist.h:17:16: warning: 'doublelist::flipped' will be initialized after [-Wreorder] 17 | int flipped; @@ -1356,7 +1392,7 @@ dbllist.cc:143:1: warning: when initialized here [-Wreorder] 143 | doublelist::doublelist(const doublelist &dl): flipped(0), list() | ^~~~~~~~~~ -In file included from raster.cc:18: +In file included from rasterut.cc:15: ./include/raster.h:181:22: warning: 'virtual void Raster1DAbstract::Get(Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=] 181 | virtual void Get(Raster1DAbstract &R1) const; | ^~~ @@ -1381,7 +1417,25 @@ ./include/raster.h:308:14: note: by 'Raster2DAbstract::Set' 308 | void Set(unsigned Offset2D, const Raster1DAbstract &R1); | ^~~ -In file included from rasterut.cc:15: +./include/raster.h:226:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=] + 226 | virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));} + | ^ +./include/raster.h:338:18: note: by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)' + 338 | uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));} + | ^ +./include/raster.h:225:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=] + 225 | virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));} + | ^ +./include/raster.h:337:18: note: by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)' + 337 | uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));} + | ^ +./include/raster.h:227:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=] + 227 | virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));} + | ^ +./include/raster.h:339:18: note: by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)' + 339 | uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));} + | ^ +In file included from raster.cc:18: ./include/raster.h:181:22: warning: 'virtual void Raster1DAbstract::Get(Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=] 181 | virtual void Get(Raster1DAbstract &R1) const; | ^~~ @@ -1424,24 +1478,6 @@ ./include/raster.h:339:18: note: by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)' 339 | uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));} | ^ -./include/raster.h:226:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=] - 226 | virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));} - | ^ -./include/raster.h:338:18: note: by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)' - 338 | uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));} - | ^ -./include/raster.h:225:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=] - 225 | virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));} - | ^ -./include/raster.h:337:18: note: by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)' - 337 | uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));} - | ^ -./include/raster.h:227:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=] - 227 | virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));} - | ^ -./include/raster.h:339:18: note: by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)' - 339 | uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));} - | ^ strings.cc: In function 'string copy(const string&, int, int)': strings.cc:778:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 778 | if((from>length(s)) || (len<=0) || (from<0) || (length(s)==0)) @@ -1622,13 +1658,104 @@ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c formulas.cc -o formulas.o -D__gettext__ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c images.cc -o images.o -D__gettext__ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c charactr.cc -o charactr.o -D__gettext__ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c wmfsupp.cc -o wmfsupp.o -D__gettext__ +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_REENTRANT -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c word/bintree.c -o word/bintree.o -D__gettext__ +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_REENTRANT -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c word/wvparser.c -o word/wvparser.o -D__gettext__ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1_1.cc -o pass1_1.o -D__gettext__ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1_3.cc -o pass1_3.o -D__gettext__ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1_4.cc -o pass1_4.o -D__gettext__ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1_5.cc -o pass1_5.o -D__gettext__ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1_6.cc -o pass1_6.o -D__gettext__ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1c45.cc -o pass1c45.o -D__gettext__ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1ole.cc -o pass1ole.o -D__gettext__ +gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_REENTRANT -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c cole/new_cole.c -o cole/new_cole.o -D__gettext__ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c cp-trn.cc -o cp-trn.o -D__gettext__ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1acc.cc -o pass1acc.o -D__gettext__ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1xml.cc -o pass1xml.o -D__gettext__ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1htm.cc -o pass1htm.o -D__gettext__ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1abi.cc -o pass1abi.o -D__gettext__ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1dcb.cc -o pass1dcb.o -D__gettext__ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1svg.cc -o pass1svg.o -D__gettext__ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1rtf.cc -o pass1rtf.o -D__gettext__ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1mtf.cc -o pass1mtf.o -D__gettext__ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1wmf.cc -o pass1wmf.o -D__gettext__ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1602.cc -o pass1602.o -D__gettext__ +In file included from images/image.h:15, + from images/filehnd.cc:10: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ In file included from images/image.h:15, from images/imgsupp.cc:5: ./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] 197 | friend temp_string del(const string &s,int from, int len=1); | ^~~ +In file included from images/img_futi.cc:10: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +In file included from cp_lib/cptran.cc:12: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +cole/new_cole.c: In function 'cpp_OLEdecode': +cole/new_cole.c:192:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 192 | fread (o.Block, 0x0200, 1, o.input); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cole/new_cole.c:221:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 221 | fread (s, 0x0200, 1, o.input); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cole/new_cole.c:234:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 234 | fread (o.Blockx, 0x0200, 1, o.input); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cole/new_cole.c:248:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 248 | fread (s, 0x0200, 1, o.input); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cole/new_cole.c:305:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 305 | fread (s, 0x0200, 1, o.input); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cole/new_cole.c:347:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 347 | fread (s, 0x0200, 1, o.input); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cole/new_cole.c:527:13: warning: ignoring return value of 'tmpnam' declared with attribute 'warn_unused_result' [-Wunused-result] + 527 | tmpnam (ole->sbfilename); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +cole/new_cole.c:538:13: warning: ignoring return value of 'tmpnam' declared with attribute 'warn_unused_result' [-Wunused-result] + 538 | tmpnam (o.pps_list[i].filename); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from wp2lfuti.cc:18: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +cole/new_cole.c:580:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 580 | fread (o.Block, bytes_to_read, 1, infile); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cole/new_cole.c: In function 'cole_extract_file': +cole/new_cole.c:676:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 676 | fread (Block, bytes_to_copy, 1, infile); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from charactr.cc:15: +./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] + 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); + | ^~~~~~~~~~~~ +In file included from pass1.cc:25: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ In file included from images/image.h:15, - from images/filehnd.cc:10: + from images/ras_bmp.cc:12: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +In file included from pass1.cc:26: +./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] + 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); + | ^~~~~~~~~~~~ +In file included from pass1dcb.cc:13: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +In file included from pass1xml.cc:12: ./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] 197 | friend temp_string del(const string &s,int from, int len=1); | ^~~ @@ -1637,34 +1764,147 @@ ./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] 197 | friend temp_string del(const string &s,int from, int len=1); | ^~~ -In file included from images/img_futi.cc:10: +In file included from pass1acc.cc:12: ./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] 197 | friend temp_string del(const string &s,int from, int len=1); | ^~~ -In file included from images/image.h:15, - from images/ras_bmp.cc:12: +In file included from pass1_1.cc:14: ./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] 197 | friend temp_string del(const string &s,int from, int len=1); | ^~~ -In file included from pass1.cc:25: +In file included from pass1abi.cc:13: ./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] 197 | friend temp_string del(const string &s,int from, int len=1); | ^~~ -In file included from pass1.cc:26: +In file included from pass1_4.cc:15: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +In file included from pass1dcb.cc:14: ./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); | ^~~~~~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c wmfsupp.cc -o wmfsupp.o -D__gettext__ -In file included from cp_lib/cptran.cc:12: +In file included from pass1xml.cc:13: +./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] + 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); + | ^~~~~~~~~~~~ +In file included from pass1acc.cc:14: +./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] + 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); + | ^~~~~~~~~~~~ +In file included from pass1htm.cc:13: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +In file included from pass1_1.cc:15: +./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] + 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); + | ^~~~~~~~~~~~ +In file included from pass1_5.cc:16: +./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] + 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); + | ^~~~~~~~~~~~ +In file included from pass1_6.cc:20: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +In file included from pass1abi.cc:14: +./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] + 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); + | ^~~~~~~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1wrd.cc -o pass1wrd.o -D__gettext__ +In file included from pass1ole.cc:16: +./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] + 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); + | ^~~~~~~~~~~~ +In file included from pass1_4.cc:16: +./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] + 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); + | ^~~~~~~~~~~~ +In file included from pass1c45.cc:12: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +In file included from pass1htm.cc:14: +./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] + 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); + | ^~~~~~~~~~~~ +In file included from pass1_3.cc:21: +./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] + 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); + | ^~~~~~~~~~~~ +In file included from pass1rtf.cc:19: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +In file included from pass1_5.cc:17: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +In file included from pass1_6.cc:21: +./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] + 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); + | ^~~~~~~~~~~~ +In file included from pass1ole.cc:17: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +In file included from pass1_3.cc:22: ./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] 197 | friend temp_string del(const string &s,int from, int len=1); | ^~~ +In file included from pass1rtf.cc:20: +./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] + 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); + | ^~~~~~~~~~~~ +In file included from pass1mtf.cc:17: +./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] + 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); + | ^~~~~~~~~~~~ In file included from images/image.h:15, from images/imgut.cc:16: ./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] 197 | friend temp_string del(const string &s,int from, int len=1); | ^~~ -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_REENTRANT -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c word/bintree.c -o word/bintree.o -D__gettext__ +In file included from pass1mtf.cc:18: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +pass1_1.cc: In member function 'void TconvertedPass1_WP1::Character1()': +pass1_1.cc:62:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 62 | fread(&subby, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~ +pass1_1.cc: In member function 'void TconvertedPass1_WP1::FootEndNote1(uint32_t&, uint16_t&)': +pass1_1.cc:88:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 88 | fread(&NoteType, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ +pass1_1.cc: In member function 'bool TconvertedPass1_WP1::CheckConzistency1(long int)': +pass1_1.cc:144:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 144 | fread(&TestedBy, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ +pass1_1.cc: In member function 'void TconvertedPass1_WP1::ProcessKey1()': +pass1_1.cc:174:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 174 | fread(&this->by, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ +pass1_4.cc: In member function 'void TconvertedPass1_WP4::Character4()': +pass1_4.cc:81:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 81 | fread(&subby, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~ +pass1_4.cc: In member function 'void TconvertedPass1_WP4::ColDef4()': +pass1_4.cc:96:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 96 | fread(&DefColumns, 1, 1, wpd); /* new number of columns */ + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +pass1_4.cc: In member function 'void TconvertedPass1_WP4::Comment4(uint32_t&, uint16_t&)': +pass1_4.cc:127:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 127 | fread(&by, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~ +pass1_4.cc:131:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 131 | fread(&by, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~ +pass1_4.cc: In member function 'void TconvertedPass1_WP4::FootEndNote(uint32_t&, uint16_t&)': +pass1_4.cc:185:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 185 | fread(&NoteType, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from images/ras_bmp.cc:11: ./atoms/include/common.h:75:69: warning: 'packed' attribute ignored for field of type 'uint8_t [2]' {aka 'unsigned char [2]'} [-Wattributes] 75 | #define PACKED __attribute__((aligned(1))) __attribute__((packed)) @@ -1672,41 +1912,100 @@ images/ras_bmp.cc:85:33: note: in expansion of macro 'PACKED' 85 | uint8_t bfType[2] PACKED; | ^~~~~~ +pass1_4.cc: In member function 'void TconvertedPass1_WP4::FootNoteObsolette(uint32_t&, uint16_t&)': +pass1_4.cc:252:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 252 | fread(&by, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~ +pass1_4.cc: In member function 'void TconvertedPass1_WP4::Header_Footer4(uint32_t&, uint16_t&)': +pass1_4.cc:290:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 290 | fread(&HFtype, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~ +pass1_4.cc:298:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 298 | fread(&by, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~ +pass1_4.cc:302:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 302 | fread(&subby, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~ +pass1_4.cc:303:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 303 | fread(&HFtype2, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~ +pass1_4.cc:304:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 304 | fread(&by, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~ +pass1_4.cc:351:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 351 | fread(&by, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~ +pass1_4.cc: In member function 'void TconvertedPass1_WP4::MakeIndex4(uint32_t&)': +pass1_4.cc:458:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 458 | fread(&by, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~ +pass1_4.cc:462:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 462 | fread(&by, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~ +In file included from wmfsupp.cc:6: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +pass1_4.cc: In member function 'void TconvertedPass1_WP4::InvisibleChars4(uint32_t&, uint16_t&)': +pass1_4.cc:566:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 566 | fread(&by, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~ images/ras_bmp.cc: In function 'void LoadBmpStream(Image&, FILE*, uint32_t)': images/ras_bmp.cc:361:19: warning: taking address of packed member of 'BitmapInfoHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] 361 | if(RdDWORD_LoEnd(&Info.BIH.biSize,f)!=4) return; | ^~~~~~~~~~~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c images/ras_jpg.cc -o images/ras_jpg.o -D__gettext__ +pass1_4.cc: In member function 'void TconvertedPass1_WP4::DefMarkedText4(uint32_t&)': +pass1_4.cc:645:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 645 | fread(&by, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~ +pass1_4.cc: In member function 'void TconvertedPass1_WP4::Tabset4()': +pass1_4.cc:672:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 672 | fread(&ch, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~ +pass1_4.cc: In member function 'bool TconvertedPass1_WP4::CheckConzistency4(long int)': +pass1_4.cc:722:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 722 | fread(&TestedBy, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ +pass1_4.cc: In member function 'void TconvertedPass1_WP4::ProcessKey4()': +pass1_4.cc:752:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 752 | fread(&this->by, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ +pass1_4.cc:768:24: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 768 | case 0xC4:fread(&this->subby, 1, 1, wpd); break; + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from pass1602.cc:14: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +pass1c45.cc: In member function 'virtual int TconvertedPass1_xWP5::Convert_first_pass()': +pass1c45.cc:196:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 196 | fread( SmallBuf, 1, 16, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c images/ras_png.cc -o images/ras_png.o -D__gettext__ +pass1c45.cc: In member function 'virtual int TconvertedPass1_xWP3::Convert_first_pass()': +pass1c45.cc:281:16: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 281 | fread(SmallBuf, 1, 16, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ +pass1c45.cc:286:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 286 | fread( SmallBuf, 1, DocumentStart%16, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +word/wvparser.c: In function 'wvGetPAPX_FKP': +In file included from pass1602.cc:15: +./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] + 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); + | ^~~~~~~~~~~~ images/ras_bmp.cc: In function 'Image LoadPictureICO(const char*)': images/ras_bmp.cc:1441:22: warning: taking address of packed member of 'BitmapInfoHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] 1441 | if(RdDWORD_LoEnd(&Info.BIH.biSize,f)!=4) continue; | ^~~~~~~~~~~~~~~~ -images/ras_bmp.cc: In function 'void WMF_STRETCHDIB(Image&, FILE*, uint32_t)': -images/ras_bmp.cc:1899:20: warning: taking address of packed member of 'BitmapInfoHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] - 1899 | if(RdDWORD_LoEnd(&BIH.biSize,f)!=4) return; - | ^~~~~~~~~~~ -images/ras_bmp.cc: In function 'void WMF_DIBSTRETCHBLT(Image&, FILE*, uint32_t)': -images/ras_bmp.cc:1939:20: warning: taking address of packed member of 'BitmapInfoHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] - 1939 | if(RdDWORD_LoEnd(&BIH.biSize,f)!=4) return; - | ^~~~~~~~~~~ -images/ras_bmp.cc: In function 'void WMF_DIBBITBLT(Image&, FILE*, uint32_t)': -images/ras_bmp.cc:1980:20: warning: taking address of packed member of 'BitmapInfoHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] - 1980 | if(RdDWORD_LoEnd(&BIH.biSize,f)!=4) return; - | ^~~~~~~~~~~ -images/ras_bmp.cc: In function 'void LoadBmpStream(Image&, FILE*, uint32_t)': -images/ras_bmp.cc:551:15: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 551 | fread(&PalItem,3,1,f); - | ~~~~~^~~~~~~~~~~~~~~~ -images/ras_bmp.cc:562:15: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 562 | fread(&PalItem,sizeof(PalItem),1,f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -images/ras_bmp.cc:632:19: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 632 | fread(&pixel,k,1,f); //read till end of line - | ~~~~~^~~~~~~~~~~~~~ -In file included from charactr.cc:15: -./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] - 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); - | ^~~~~~~~~~~~ -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_REENTRANT -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c word/wvparser.c -o word/wvparser.o -D__gettext__ +word/wvparser.c:6449:22: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 6449 | /*bytes_read= */ fread(page, WV_PAGESIZE, 1, fd); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +word/wvparser.c: In function 'wvGetCHPX_FKP': +word/wvparser.c:6534:22: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 6534 | /*bytes_read= */ fread(page, WV_PAGESIZE, 1, fd); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pass1.cc: In function 'void Attr_ON(TconvertedPass1*, unsigned char)': pass1.cc:311:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 311 | fread(&b, sizeof(unsigned char), 1, cq->wpd); /* the attribute code */ @@ -1715,17 +2014,25 @@ pass1.cc:354:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 354 | fread(&b, sizeof(unsigned char), 1, cq->wpd); /* less attribuut-code */ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from wmfsupp.cc:6: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ +images/ras_bmp.cc: In function 'void WMF_STRETCHDIB(Image&, FILE*, uint32_t)': +images/ras_bmp.cc:1899:20: warning: taking address of packed member of 'BitmapInfoHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] + 1899 | if(RdDWORD_LoEnd(&BIH.biSize,f)!=4) return; + | ^~~~~~~~~~~ pass1.cc: In function 'void Indent(TconvertedPass1*, char)': pass1.cc:578:24: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 578 | case 0x14:fread(&b, 1, 1, cq->wpd); //obsolette WP4 | ~~~~~^~~~~~~~~~~~~~~~~~~ +images/ras_bmp.cc: In function 'void WMF_DIBSTRETCHBLT(Image&, FILE*, uint32_t)': +images/ras_bmp.cc:1939:20: warning: taking address of packed member of 'BitmapInfoHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] + 1939 | if(RdDWORD_LoEnd(&BIH.biSize,f)!=4) return; + | ^~~~~~~~~~~ pass1.cc:585:21: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 585 | case 5:fread(&b, 1, 1, cq->wpd); // WP5 | ~~~~~^~~~~~~~~~~~~~~~~~~ +images/ras_bmp.cc: In function 'void WMF_DIBBITBLT(Image&, FILE*, uint32_t)': +images/ras_bmp.cc:1980:20: warning: taking address of packed member of 'BitmapInfoHeader' may result in an unaligned pointer value [-Waddress-of-packed-member] + 1980 | if(RdDWORD_LoEnd(&BIH.biSize,f)!=4) return; + | ^~~~~~~~~~~ pass1.cc: In function 'void Color(TconvertedPass1*, signed char, RGBQuad*)': pass1.cc:1021:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1021 | fread(&Red, 1, 1, cq->wpd); @@ -1788,10 +2095,21 @@ pass1.cc:1536:17: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1536 | fread(OldLang,2,1,cq->wpd); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ +images/ras_bmp.cc: In function 'void LoadBmpStream(Image&, FILE*, uint32_t)': +images/ras_bmp.cc:551:15: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 551 | fread(&PalItem,3,1,f); + | ~~~~~^~~~~~~~~~~~~~~~ +images/ras_bmp.cc:562:15: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 562 | fread(&PalItem,sizeof(PalItem),1,f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +images/ras_bmp.cc:632:19: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 632 | fread(&pixel,k,1,f); //read till end of line + | ~~~~~^~~~~~~~~~~~~~ pass1.cc: In function 'void ParagraphNumber(TconvertedPass1*)': pass1.cc:1606:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1606 | fread(&ParNumType, 1, 1, cq->wpd); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c images/ras_webp.cc -o images/ras_webp.o -D__gettext__ pass1.cc: In function 'void Page_number_position(TconvertedPass1*, unsigned char)': pass1.cc:1675:18: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1675 | fread(&Flags, 1, 1, cq->wpd); @@ -1799,10 +2117,6 @@ pass1.cc:1684:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1684 | fread(&position_code, 1, 1, cq->wpd); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from wp2lfuti.cc:18: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ pass1.cc: In function 'void StartSection(TconvertedPass1*, signed char)': pass1.cc:2084:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2084 | fread(&b, 1, 1, cq->wpd); /* read level of section */ @@ -1818,233 +2132,6 @@ pass1.cc:2451:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2451 | fread(&type,1,1,cq->wpd); | ~~~~~^~~~~~~~~~~~~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1_1.cc -o pass1_1.o -D__gettext__ -In file included from images/vecimage.h:11, - from images/vecraster.cc:15: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1_3.cc -o pass1_3.o -D__gettext__ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1_4.cc -o pass1_4.o -D__gettext__ -word/wvparser.c: In function 'wvGetPAPX_FKP': -word/wvparser.c:6449:22: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 6449 | /*bytes_read= */ fread(page, WV_PAGESIZE, 1, fd); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -word/wvparser.c: In function 'wvGetCHPX_FKP': -word/wvparser.c:6534:22: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 6534 | /*bytes_read= */ fread(page, WV_PAGESIZE, 1, fd); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1_5.cc -o pass1_5.o -D__gettext__ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1_6.cc -o pass1_6.o -D__gettext__ -In file included from wp2l_lib.cc:24: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -In file included from wp2l_lib.cc:25: -./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] - 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); - | ^~~~~~~~~~~~ -In file included from formulas.cc:15: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -In file included from wp2latex.cc:37: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -In file included from wp2latex.cc:38: -./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] - 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); - | ^~~~~~~~~~~~ -In file included from pass1_3.cc:21: -./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] - 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); - | ^~~~~~~~~~~~ -In file included from pass1_3.cc:22: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -In file included from images/vecimage.cc:14: -./atoms/include/matrix.h:89:63: warning: friend declaration 'temp_matrix operator-(const matrix&)' declares a non-template function [-Wnon-template-friend] - 89 | friend temp_matrix operator- FIX(const matrix & m); - | ^ -In file included from pass1_1.cc:14: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -./atoms/include/matrix.h:89:63: note: (if this is not what you intended, make sure the function template has already been declared and add '<>' after the function name here) -./atoms/include/matrix.h:92:76: warning: friend declaration 'temp_matrix operator+(const matrix&, const FLOAT&)' declares a non-template function [-Wnon-template-friend] - 92 | friend temp_matrix operator+ FIX(const matrix &, const FLOAT &); - | ^ -./atoms/include/matrix.h:94:77: warning: friend declaration 'temp_matrix operator+(const matrix&, const matrix&)' declares a non-template function [-Wnon-template-friend] - 94 | friend temp_matrix operator+ FIX(const matrix &, const matrix &); - | ^ -./atoms/include/matrix.h:95:76: warning: friend declaration 'temp_matrix operator-(const matrix&, const FLOAT&)' declares a non-template function [-Wnon-template-friend] - 95 | friend temp_matrix operator- FIX(const matrix &, const FLOAT &); - | ^ -./atoms/include/matrix.h:96:76: warning: friend declaration 'temp_matrix operator-(const FLOAT&, const matrix&)' declares a non-template function [-Wnon-template-friend] - 96 | friend temp_matrix operator- FIX(const FLOAT &, const matrix &); - | ^ -./atoms/include/matrix.h:97:77: warning: friend declaration 'temp_matrix operator-(const matrix&, const matrix&)' declares a non-template function [-Wnon-template-friend] - 97 | friend temp_matrix operator- FIX(const matrix &, const matrix &); - | ^ -./atoms/include/matrix.h:102:78: warning: friend declaration 'temp_matrix operator/(const FLOAT&, const matrix&)' declares a non-template function [-Wnon-template-friend] - 102 | friend temp_matrix operator/ FIX(const FLOAT &f, const matrix &m); - | ^ -./atoms/include/matrix.h:103:81: warning: friend declaration 'temp_matrix operator/(const matrix&, const matrix&)' declares a non-template function [-Wnon-template-friend] - 103 | friend temp_matrix operator/ FIX(const matrix &m1, const matrix &m2); - | ^ -In file included from pass2.cc:19: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -./atoms/include/matrix.h:125:60: warning: friend declaration 'temp_matrix transpose(matrix&)' declares a non-template function [-Wnon-template-friend] - 125 | friend temp_matrix transpose FIX( matrix & m ); - | ^ -In file included from pass1_5.cc:16: -./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] - 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); - | ^~~~~~~~~~~~ -In file included from pass1_5.cc:17: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -In file included from pass1_1.cc:15: -./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] - 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); - | ^~~~~~~~~~~~ -In file included from images/vecimage.h:11, - from images/vecimage.cc:16: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1c45.cc -o pass1c45.o -D__gettext__ -In file included from pass2.cc:20: -./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] - 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); - | ^~~~~~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1ole.cc -o pass1ole.o -D__gettext__ -pass1_3.cc: In member function 'void TconvertedPass1_WP3::WalkResources3()': -pass1_3.cc:260:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 260 | fread(ResType,1,4,wpd); ResType[4]=0; - | ~~~~~^~~~~~~~~~~~~~~~~ -In file included from pass1_4.cc:15: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -In file included from pass1_6.cc:20: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -pass1_3.cc: In member function 'void TconvertedPass1_WP3::ReadFormulaStr3(string&, uint32_t)': -pass1_3.cc:430:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 430 | fread(&by, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~ -pass1_3.cc:469:18: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 469 | fread(&by, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~ -pass1_3.cc: In member function 'void TconvertedPass1_WP3::Endnote3(uint32_t)': -pass1_3.cc:711:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 711 | fread(&flags, sizeof(unsigned char), 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pass1_3.cc:729:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 729 | fread(&by, sizeof(unsigned char), 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pass1_3.cc: In member function 'void TconvertedPass1_WP3::Footnote3(uint32_t)': -pass1_3.cc:775:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 775 | fread(&flags, sizeof(unsigned char), 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from images.cc:16: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -pass1_3.cc:796:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 796 | fread(&by, sizeof(unsigned char), 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_REENTRANT -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c cole/new_cole.c -o cole/new_cole.o -D__gettext__ -pass1_3.cc: In member function 'void TconvertedPass1_WP3::Header_Footer3(uint32_t)': -pass1_3.cc:895:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 895 | fread(&by, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~ -pass1_3.cc: In member function 'void TconvertedPass1_WP3::TableStart3(uint32_t&)': -pass1_3.cc:987:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 987 | fread(&OutsideBorder, 1, 4, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -pass1_3.cc:990:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 990 | fread(&CellBorder, 1, 4, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -pass1_3.cc:993:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 993 | fread(&TableMode, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -pass1_3.cc:996:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 996 | fread(&columns, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~ -pass1_3.cc:1003:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1003 | fread(&Atbl[i].Mode, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -pass1_3.cc:1004:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1004 | fread(&Atbl[i].NumFormat, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from pass1_6.cc:21: -./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] - 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); - | ^~~~~~~~~~~~ -In file included from pass1_4.cc:16: -./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] - 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); - | ^~~~~~~~~~~~ -pass1_3.cc: In member function 'void TconvertedPass1_WP3::ProcessKeyWP3()': -pass1_3.cc:1275:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1275 | fread(&this->by, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ -pass1_3.cc:1295:18: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1295 | fread(&this->subby, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -pass1_3.cc:1301:15: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1301 | fread(&this->subby, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -pass1_3.cc: In function 'bool CheckConzistency3(TconvertedPass1*, long int)': -pass1_3.cc:1238:23: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1238 | fread(&TestedSubBy, 1, 1, cq->wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pass1_3.cc:1241:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1241 | fread(&TestedBy, 1, 1, cq->wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from images.cc:17: -./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] - 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); - | ^~~~~~~~~~~~ -pass1_1.cc: In member function 'void TconvertedPass1_WP1::Character1()': -pass1_1.cc:62:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 62 | fread(&subby, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~ -pass1_1.cc: In member function 'void TconvertedPass1_WP1::FootEndNote1(uint32_t&, uint16_t&)': -pass1_1.cc:88:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 88 | fread(&NoteType, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ -pass1_1.cc: In member function 'bool TconvertedPass1_WP1::CheckConzistency1(long int)': -pass1_1.cc:144:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 144 | fread(&TestedBy, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ -pass1_1.cc: In member function 'void TconvertedPass1_WP1::ProcessKey1()': -pass1_1.cc:174:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 174 | fread(&this->by, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ -pass1_4.cc: In member function 'void TconvertedPass1_WP4::Character4()': -pass1_4.cc:81:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 81 | fread(&subby, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~ -pass1_4.cc: In member function 'void TconvertedPass1_WP4::ColDef4()': -pass1_4.cc:96:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 96 | fread(&DefColumns, 1, 1, wpd); /* new number of columns */ - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -pass1_4.cc: In member function 'void TconvertedPass1_WP4::Comment4(uint32_t&, uint16_t&)': -pass1_4.cc:127:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 127 | fread(&by, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~ -pass1_4.cc:131:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 131 | fread(&by, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~ pass1_5.cc: In member function 'void TconvertedPass1_WP5::DoCaption5(short unsigned int)': pass1_5.cc:450:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 450 | fread(&subby, 1, 1, wpd); @@ -2053,44 +2140,10 @@ pass1_5.cc:539:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 539 | fread(&by, 1, 1, wpd); | ~~~~~^~~~~~~~~~~~~~~~ -pass1_4.cc: In member function 'void TconvertedPass1_WP4::FootEndNote(uint32_t&, uint16_t&)': -pass1_4.cc:185:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 185 | fread(&NoteType, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ pass1_5.cc: In member function 'void TconvertedPass1_WP5::AnyBox(uint32_t)': pass1_5.cc:611:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 611 | fread(&Box.AnchorType, 1, 1, wpd); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pass1_4.cc: In member function 'void TconvertedPass1_WP4::FootNoteObsolette(uint32_t&, uint16_t&)': -pass1_4.cc:252:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 252 | fread(&by, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~ -pass1_4.cc: In member function 'void TconvertedPass1_WP4::Header_Footer4(uint32_t&, uint16_t&)': -pass1_4.cc:290:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 290 | fread(&HFtype, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~ -pass1_4.cc:298:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 298 | fread(&by, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~ -pass1_4.cc:302:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 302 | fread(&subby, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~ -pass1_4.cc:303:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 303 | fread(&HFtype2, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~ -pass1_4.cc:304:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 304 | fread(&by, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~ -pass1_4.cc:351:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 351 | fread(&by, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~ -pass1_4.cc: In member function 'void TconvertedPass1_WP4::MakeIndex4(uint32_t&)': -pass1_4.cc:458:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 458 | fread(&by, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~ -pass1_4.cc:462:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 462 | fread(&by, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~ pass1_5.cc:613:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 613 | fread(&Box.HorizontalPos, 1, 1, wpd); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2106,10 +2159,6 @@ pass1_5.cc:714:24: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 714 | fread(&by, 1, 1, wpd); | ~~~~~^~~~~~~~~~~~~~~~ -pass1_4.cc: In member function 'void TconvertedPass1_WP4::InvisibleChars4(uint32_t&, uint16_t&)': -pass1_4.cc:566:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 566 | fread(&by, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~ pass1_5.cc: In member function 'void TconvertedPass1_WP5::LabelInside(uint32_t)': pass1_5.cc:811:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 811 | fread(&by, sizeof(unsigned char), 1, wpd); @@ -2125,25 +2174,6 @@ pass1_5.cc:942:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 942 | fread(&b, sizeof(unsigned char), 1, wpd); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pass1_4.cc: In member function 'void TconvertedPass1_WP4::DefMarkedText4(uint32_t&)': -pass1_4.cc:645:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 645 | fread(&by, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~ -pass1_4.cc: In member function 'void TconvertedPass1_WP4::Tabset4()': -pass1_4.cc:672:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 672 | fread(&ch, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~ -pass1_4.cc: In member function 'bool TconvertedPass1_WP4::CheckConzistency4(long int)': -pass1_4.cc:722:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 722 | fread(&TestedBy, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ -pass1_4.cc: In member function 'void TconvertedPass1_WP4::ProcessKey4()': -pass1_4.cc:752:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 752 | fread(&this->by, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ -pass1_4.cc:768:24: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 768 | case 0xC4:fread(&this->subby, 1, 1, wpd); break; - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ pass1_5.cc: In member function 'void TconvertedPass1_WP5::ColDef5()': pass1_5.cc:1003:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1003 | fread(&DefColumns, 1, 1, wpd); /* new number of columns */ @@ -2181,6 +2211,10 @@ pass1_5.cc:1397:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1397 | fread(&by, 1, 1, wpd); | ~~~~~^~~~~~~~~~~~~~~~ +pass1_3.cc: In member function 'void TconvertedPass1_WP3::WalkResources3()': +pass1_3.cc:260:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 260 | fread(ResType,1,4,wpd); ResType[4]=0; + | ~~~~~^~~~~~~~~~~~~~~~~ pass1_5.cc: In member function 'void TconvertedPass1_WP5::TableStart5(short unsigned int, uint32_t&)': pass1_5.cc:1504:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1504 | fread(&b, 1, 1, wpd); //OldColumns @@ -2198,6 +2232,13 @@ pass1_5.cc:1720:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1720 | fread(&TestedBy, 1, 1, wpd); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ +pass1_3.cc: In member function 'void TconvertedPass1_WP3::ReadFormulaStr3(string&, uint32_t)': +pass1_3.cc:430:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 430 | fread(&by, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~ +pass1_3.cc:469:18: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 469 | fread(&by, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~ pass1_5.cc: In member function 'virtual void TconvertedPass1_WP5::ProcessKey()': pass1_5.cc:1754:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1754 | fread(&by, 1, 1, wpd); @@ -2211,23 +2252,60 @@ pass1_5.cc:1912:34: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1912 | fread(&subby, 1, 1, wpd); | ~~~~~^~~~~~~~~~~~~~~~~~~ -pass1_5.cc: In member function 'virtual void TconvertedPass1WP5FarEast::ProcessKey()': -pass1_5.cc:2174:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2174 | fread(&by, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~ -pass1_5.cc:2185:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2185 | fread(&by, 1, 1, wpd); - | ~~~~~^~~~~~~~~~~~~~~~ +pass1_3.cc: In member function 'void TconvertedPass1_WP3::Endnote3(uint32_t)': +pass1_3.cc:711:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 711 | fread(&flags, sizeof(unsigned char), 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pass1_3.cc:729:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 729 | fread(&by, sizeof(unsigned char), 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pass1_3.cc: In member function 'void TconvertedPass1_WP3::Footnote3(uint32_t)': +pass1_3.cc:775:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 775 | fread(&flags, sizeof(unsigned char), 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pass1_3.cc:796:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 796 | fread(&by, sizeof(unsigned char), 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pass1_6.cc: In member function 'void TconvertedPass1_WP6::Box6()': pass1_6.cc:658:32: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 658 | fread(&Box.HorizontalPos, 1, 1, wpd); // | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pass1_3.cc: In member function 'void TconvertedPass1_WP3::Header_Footer3(uint32_t)': +pass1_3.cc:895:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 895 | fread(&by, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~ pass1_6.cc:861:23: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 861 | fread(&by, 1, 1, wpd); | ~~~~~^~~~~~~~~~~~~~~~ pass1_6.cc:1026:19: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1026 | fread(&by, 1, 1, wpd); | ~~~~~^~~~~~~~~~~~~~~~ +pass1_3.cc: In member function 'void TconvertedPass1_WP3::TableStart3(uint32_t&)': +pass1_3.cc:987:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 987 | fread(&OutsideBorder, 1, 4, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +pass1_3.cc:990:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 990 | fread(&CellBorder, 1, 4, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +pass1_3.cc:993:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 993 | fread(&TableMode, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +pass1_3.cc:996:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 996 | fread(&columns, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~ +pass1_3.cc:1003:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1003 | fread(&Atbl[i].Mode, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +pass1_3.cc:1004:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1004 | fread(&Atbl[i].NumFormat, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pass1_5.cc: In member function 'virtual void TconvertedPass1WP5FarEast::ProcessKey()': +pass1_5.cc:2174:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2174 | fread(&by, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~ +pass1_5.cc:2185:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2185 | fread(&by, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~ pass1_6.cc: In member function 'void TconvertedPass1_WP6::Comment6(int)': pass1_6.cc:1185:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1185 | fread(&by, 1, 1, wpd); @@ -2248,6 +2326,16 @@ pass1_6.cc:1396:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1396 | fread(&by, 1, 1, wpd); | ~~~~~^~~~~~~~~~~~~~~~ +pass1_3.cc: In member function 'void TconvertedPass1_WP3::ProcessKeyWP3()': +pass1_3.cc:1275:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1275 | fread(&this->by, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ +pass1_3.cc:1295:18: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1295 | fread(&this->subby, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +pass1_3.cc:1301:15: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1301 | fread(&this->subby, 1, 1, wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ pass1_6.cc: In member function 'void TconvertedPass1_WP6::Footnote6(uint32_t&)': pass1_6.cc:1510:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1510 | fread(&by, 1, 1, wpd); @@ -2259,10 +2347,24 @@ pass1_6.cc:398:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 398 | fread(&by, 1, 1, cq->wpd); | ~~~~~^~~~~~~~~~~~~~~~~~~~ +pass1_3.cc: In function 'bool CheckConzistency3(TconvertedPass1*, long int)': +pass1_3.cc:1238:23: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1238 | fread(&TestedSubBy, 1, 1, cq->wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pass1_3.cc:1241:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1241 | fread(&TestedBy, 1, 1, cq->wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ pass1_6.cc: In member function 'void TconvertedPass1_WP6::Header_Footer6()': pass1_6.cc:1712:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1712 | fread(&by, 1, 1, wpd); | ~~~~~^~~~~~~~~~~~~~~~ +pass1mtf.cc: In function 'void MTEF_MATRIX(TconvertedPass1_MTF*)': +pass1mtf.cc:883:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 883 | fread(row_parts->Data1D, (rows+3+1)/4, 1, cq->wpd); //one more lines + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pass1mtf.cc:884:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 884 | fread(col_parts->Data1D, (cols+3+1)/4, 1, cq->wpd); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pass1_6.cc: In member function 'void TconvertedPass1_WP6::UserCounter(uint32_t&)': pass1_6.cc:2089:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2089 | fread(&by, 1, 1, wpd); @@ -2271,6 +2373,7 @@ pass1_6.cc:2394:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2394 | fread(&ListType, 1, 1, wpd); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c igettext.cc -o igettext.o -D__gettext__ pass1_6.cc: In member function 'void TconvertedPass1_WP6::TableStart6(uint32_t&)': pass1_6.cc:2513:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2513 | fread(&by, 1, 1, wpd); @@ -2311,12 +2414,50 @@ pass1_6.cc:2310:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2310 | fread(&by, 1, 1, cq->wpd); | ~~~~~^~~~~~~~~~~~~~~~~~~~ -In file included from pass1c45.cc:12: +In file included from pass1wrd.cc:17: +./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] + 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); + | ^~~~~~~~~~~~ +In file included from pass1wrd.cc:18: ./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] 197 | friend temp_string del(const string &s,int from, int len=1); | ^~~ -In file included from images/ras_img.cc:38, - from images.cc:33: +In file included from images/image.h:15, + from images/ras_jpg.cc:12: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +In file included from images/image.h:15, + from images/ras_png.cc:12: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +In file included from images/image.h:15, + from images/ras_webp.cc:27: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +In file included from igettext.cc:17: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +In file included from formulas.cc:15: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +In file included from pass2.cc:19: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +In file included from pass2.cc:20: +./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] + 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); + | ^~~~~~~~~~~~ +In file included from pass1wmf.cc:18: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +In file included from images/vecimage.cc:14: ./atoms/include/matrix.h:89:63: warning: friend declaration 'temp_matrix operator-(const matrix&)' declares a non-template function [-Wnon-template-friend] 89 | friend temp_matrix operator- FIX(const matrix & m); | ^ @@ -2345,49 +2486,107 @@ ./atoms/include/matrix.h:125:60: warning: friend declaration 'temp_matrix transpose(matrix&)' declares a non-template function [-Wnon-template-friend] 125 | friend temp_matrix transpose FIX( matrix & m ); | ^ -pass1c45.cc: In member function 'virtual int TconvertedPass1_xWP5::Convert_first_pass()': -pass1c45.cc:196:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 196 | fread( SmallBuf, 1, 16, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -pass1c45.cc: In member function 'virtual int TconvertedPass1_xWP3::Convert_first_pass()': -pass1c45.cc:281:16: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 281 | fread(SmallBuf, 1, 16, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ -pass1c45.cc:286:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 286 | fread( SmallBuf, 1, DocumentStart%16, wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from pass1ole.cc:16: +In file included from images.cc:16: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +In file included from images/vecimage.h:11, + from images/vecraster.cc:15: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +In file included from images.cc:17: ./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); | ^~~~~~~~~~~~ -cole/new_cole.c: In function 'cpp_OLEdecode': -cole/new_cole.c:192:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 192 | fread (o.Block, 0x0200, 1, o.input); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cole/new_cole.c:221:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 221 | fread (s, 0x0200, 1, o.input); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cole/new_cole.c:234:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 234 | fread (o.Blockx, 0x0200, 1, o.input); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cole/new_cole.c:248:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 248 | fread (s, 0x0200, 1, o.input); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cole/new_cole.c:305:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 305 | fread (s, 0x0200, 1, o.input); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cole/new_cole.c:347:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 347 | fread (s, 0x0200, 1, o.input); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cole/new_cole.c:527:13: warning: ignoring return value of 'tmpnam' declared with attribute 'warn_unused_result' [-Wunused-result] - 527 | tmpnam (ole->sbfilename); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -cole/new_cole.c:538:13: warning: ignoring return value of 'tmpnam' declared with attribute 'warn_unused_result' [-Wunused-result] - 538 | tmpnam (o.pps_list[i].filename); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cole/new_cole.c:580:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 580 | fread (o.Block, bytes_to_read, 1, infile); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from pass1svg.cc:22: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +In file included from images/vecimage.h:11, + from images/vecimage.cc:16: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +In file included from wp2latex.cc:37: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +In file included from wp2l_lib.cc:24: +./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] + 197 | friend temp_string del(const string &s,int from, int len=1); + | ^~~ +In file included from pass1svg.cc:23: +./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] + 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); + | ^~~~~~~~~~~~ +In file included from wp2latex.cc:38: +./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] + 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); + | ^~~~~~~~~~~~ +In file included from pass1svg.cc:25: +./atoms/include/matrix.h:89:63: warning: friend declaration 'temp_matrix operator-(const matrix&)' declares a non-template function [-Wnon-template-friend] + 89 | friend temp_matrix operator- FIX(const matrix & m); + | ^ +./atoms/include/matrix.h:89:63: note: (if this is not what you intended, make sure the function template has already been declared and add '<>' after the function name here) +./atoms/include/matrix.h:92:76: warning: friend declaration 'temp_matrix operator+(const matrix&, const FLOAT&)' declares a non-template function [-Wnon-template-friend] + 92 | friend temp_matrix operator+ FIX(const matrix &, const FLOAT &); + | ^ +./atoms/include/matrix.h:94:77: warning: friend declaration 'temp_matrix operator+(const matrix&, const matrix&)' declares a non-template function [-Wnon-template-friend] + 94 | friend temp_matrix operator+ FIX(const matrix &, const matrix &); + | ^ +./atoms/include/matrix.h:95:76: warning: friend declaration 'temp_matrix operator-(const matrix&, const FLOAT&)' declares a non-template function [-Wnon-template-friend] + 95 | friend temp_matrix operator- FIX(const matrix &, const FLOAT &); + | ^ +./atoms/include/matrix.h:96:76: warning: friend declaration 'temp_matrix operator-(const FLOAT&, const matrix&)' declares a non-template function [-Wnon-template-friend] + 96 | friend temp_matrix operator- FIX(const FLOAT &, const matrix &); + | ^ +./atoms/include/matrix.h:97:77: warning: friend declaration 'temp_matrix operator-(const matrix&, const matrix&)' declares a non-template function [-Wnon-template-friend] + 97 | friend temp_matrix operator- FIX(const matrix &, const matrix &); + | ^ +./atoms/include/matrix.h:102:78: warning: friend declaration 'temp_matrix operator/(const FLOAT&, const matrix&)' declares a non-template function [-Wnon-template-friend] + 102 | friend temp_matrix operator/ FIX(const FLOAT &f, const matrix &m); + | ^ +./atoms/include/matrix.h:103:81: warning: friend declaration 'temp_matrix operator/(const matrix&, const matrix&)' declares a non-template function [-Wnon-template-friend] + 103 | friend temp_matrix operator/ FIX(const matrix &m1, const matrix &m2); + | ^ +./atoms/include/matrix.h:125:60: warning: friend declaration 'temp_matrix transpose(matrix&)' declares a non-template function [-Wnon-template-friend] + 125 | friend temp_matrix transpose FIX( matrix & m ); + | ^ +In file included from wp2l_lib.cc:25: +./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] + 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); + | ^~~~~~~~~~~~ +In file included from images/ras_img.cc:38, + from images.cc:33: +./atoms/include/matrix.h:89:63: warning: friend declaration 'temp_matrix operator-(const matrix&)' declares a non-template function [-Wnon-template-friend] + 89 | friend temp_matrix operator- FIX(const matrix & m); + | ^ +./atoms/include/matrix.h:89:63: note: (if this is not what you intended, make sure the function template has already been declared and add '<>' after the function name here) +./atoms/include/matrix.h:92:76: warning: friend declaration 'temp_matrix operator+(const matrix&, const FLOAT&)' declares a non-template function [-Wnon-template-friend] + 92 | friend temp_matrix operator+ FIX(const matrix &, const FLOAT &); + | ^ +./atoms/include/matrix.h:94:77: warning: friend declaration 'temp_matrix operator+(const matrix&, const matrix&)' declares a non-template function [-Wnon-template-friend] + 94 | friend temp_matrix operator+ FIX(const matrix &, const matrix &); + | ^ +./atoms/include/matrix.h:95:76: warning: friend declaration 'temp_matrix operator-(const matrix&, const FLOAT&)' declares a non-template function [-Wnon-template-friend] + 95 | friend temp_matrix operator- FIX(const matrix &, const FLOAT &); + | ^ +./atoms/include/matrix.h:96:76: warning: friend declaration 'temp_matrix operator-(const FLOAT&, const matrix&)' declares a non-template function [-Wnon-template-friend] + 96 | friend temp_matrix operator- FIX(const FLOAT &, const matrix &); + | ^ +./atoms/include/matrix.h:97:77: warning: friend declaration 'temp_matrix operator-(const matrix&, const matrix&)' declares a non-template function [-Wnon-template-friend] + 97 | friend temp_matrix operator- FIX(const matrix &, const matrix &); + | ^ +./atoms/include/matrix.h:102:78: warning: friend declaration 'temp_matrix operator/(const FLOAT&, const matrix&)' declares a non-template function [-Wnon-template-friend] + 102 | friend temp_matrix operator/ FIX(const FLOAT &f, const matrix &m); + | ^ +./atoms/include/matrix.h:103:81: warning: friend declaration 'temp_matrix operator/(const matrix&, const matrix&)' declares a non-template function [-Wnon-template-friend] + 103 | friend temp_matrix operator/ FIX(const matrix &m1, const matrix &m2); + | ^ +./atoms/include/matrix.h:125:60: warning: friend declaration 'temp_matrix transpose(matrix&)' declares a non-template function [-Wnon-template-friend] + 125 | friend temp_matrix transpose FIX( matrix & m ); + | ^ pass2.cc: In member function 'void TconvertedPass2::ReadTableEntry(short int)': pass2.cc:233:23: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 233 | fread(&pCurLine->Indent_Level, 1, 1, table); @@ -2401,16 +2600,6 @@ pass2.cc:281:28: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 281 | fread(&(pCurLine->attr.stack[j]), 1, 1, table); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from pass1ole.cc:17: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -cole/new_cole.c: In function 'cole_extract_file': -cole/new_cole.c:676:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 676 | fread (Block, bytes_to_copy, 1, infile); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c cp-trn.cc -o cp-trn.o -D__gettext__ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1acc.cc -o pass1acc.o -D__gettext__ images/ras_img.cc: In function 'Image LoadPictureCUT(const char*)': images/ras_img.cc:759:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 759 | fread(&Pal,sizeof(Pal),1,f); @@ -2456,10 +2645,6 @@ images/ras_img.cc:7019:22: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 7019 | fread(&RunCount,1,1,f); | ~~~~~^~~~~~~~~~~~~~~~~ -In file included from pass1acc.cc:12: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ images/ras_img.cc: In function 'int UnpackWPG2Raster(Raster2DAbstract*, FILE*)': images/ras_img.cc:7088:23: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 7088 | case 0x7D:fread(&SampleSize,1,1,f); // DSZ @@ -2482,10 +2667,6 @@ images/ras_img.cc:7144:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 7144 | fread(&bbuf,1,1,f); | ~~~~~^~~~~~~~~~~~~ -In file included from pass1acc.cc:14: -./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] - 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); - | ^~~~~~~~~~~~ images.cc: In function 'Image LoadEmbeddedPictureWPG(TconvertedPass1*, const char*, TBox&, EmbeddedImg**)': images.cc:2295:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2295 | fread((char *)Palette->Data1D + 3*WPG.ColorMapRec.StartIndex, @@ -2500,151 +2681,6 @@ images.cc:654:16: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 654 | fread(&b, 1, 1, cq->wpd); /* 0-Left, 3-Right, 2-Center, 1-Full */ | ~~~~~^~~~~~~~~~~~~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1xml.cc -o pass1xml.o -D__gettext__ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1htm.cc -o pass1htm.o -D__gettext__ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1abi.cc -o pass1abi.o -D__gettext__ -In file included from pass1xml.cc:12: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -In file included from pass1xml.cc:13: -./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] - 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); - | ^~~~~~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1dcb.cc -o pass1dcb.o -D__gettext__ -In file included from pass1htm.cc:13: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1svg.cc -o pass1svg.o -D__gettext__ -In file included from pass1htm.cc:14: -./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] - 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); - | ^~~~~~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1rtf.cc -o pass1rtf.o -D__gettext__ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1mtf.cc -o pass1mtf.o -D__gettext__ -In file included from pass1dcb.cc:13: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -In file included from pass1abi.cc:13: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -In file included from pass1dcb.cc:14: -./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] - 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); - | ^~~~~~~~~~~~ -In file included from pass1abi.cc:14: -./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] - 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); - | ^~~~~~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1wmf.cc -o pass1wmf.o -D__gettext__ -In file included from pass1rtf.cc:19: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -In file included from pass1rtf.cc:20: -./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] - 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); - | ^~~~~~~~~~~~ -In file included from pass1mtf.cc:17: -./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] - 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); - | ^~~~~~~~~~~~ -In file included from pass1mtf.cc:18: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1602.cc -o pass1602.o -D__gettext__ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c pass1wrd.cc -o pass1wrd.o -D__gettext__ -pass1mtf.cc: In function 'void MTEF_MATRIX(TconvertedPass1_MTF*)': -pass1mtf.cc:883:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 883 | fread(row_parts->Data1D, (rows+3+1)/4, 1, cq->wpd); //one more lines - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pass1mtf.cc:884:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 884 | fread(col_parts->Data1D, (cols+3+1)/4, 1, cq->wpd); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from pass1602.cc:14: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -In file included from pass1602.cc:15: -./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] - 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); - | ^~~~~~~~~~~~ -In file included from pass1wrd.cc:17: -./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] - 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); - | ^~~~~~~~~~~~ -In file included from pass1wrd.cc:18: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c images/ras_jpg.cc -o images/ras_jpg.o -D__gettext__ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c images/ras_png.cc -o images/ras_png.o -D__gettext__ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c images/ras_webp.cc -o images/ras_webp.o -D__gettext__ -In file included from pass1svg.cc:22: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -In file included from pass1svg.cc:23: -./atoms/include/lists.h:99:23: warning: friend declaration of 'int AddSTRSorted(list&, TSorter, const char*, int)' specifies default arguments and isn't a definition [-fpermissive] - 99 | friend int AddSTRSorted(list & l,TSorter sorter, const char *str, int AllowDupl=0); - | ^~~~~~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -I./atoms/include/ -I./cp_lib/ -I./jobs/ -DFINAL -O2 -Dpng_sizeof=sizeof -DERROR_HANDLER -c igettext.cc -o igettext.o -D__gettext__ -In file included from images/image.h:15, - from images/ras_jpg.cc:12: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -In file included from pass1svg.cc:25: -./atoms/include/matrix.h:89:63: warning: friend declaration 'temp_matrix operator-(const matrix&)' declares a non-template function [-Wnon-template-friend] - 89 | friend temp_matrix operator- FIX(const matrix & m); - | ^ -./atoms/include/matrix.h:89:63: note: (if this is not what you intended, make sure the function template has already been declared and add '<>' after the function name here) -./atoms/include/matrix.h:92:76: warning: friend declaration 'temp_matrix operator+(const matrix&, const FLOAT&)' declares a non-template function [-Wnon-template-friend] - 92 | friend temp_matrix operator+ FIX(const matrix &, const FLOAT &); - | ^ -./atoms/include/matrix.h:94:77: warning: friend declaration 'temp_matrix operator+(const matrix&, const matrix&)' declares a non-template function [-Wnon-template-friend] - 94 | friend temp_matrix operator+ FIX(const matrix &, const matrix &); - | ^ -./atoms/include/matrix.h:95:76: warning: friend declaration 'temp_matrix operator-(const matrix&, const FLOAT&)' declares a non-template function [-Wnon-template-friend] - 95 | friend temp_matrix operator- FIX(const matrix &, const FLOAT &); - | ^ -./atoms/include/matrix.h:96:76: warning: friend declaration 'temp_matrix operator-(const FLOAT&, const matrix&)' declares a non-template function [-Wnon-template-friend] - 96 | friend temp_matrix operator- FIX(const FLOAT &, const matrix &); - | ^ -./atoms/include/matrix.h:97:77: warning: friend declaration 'temp_matrix operator-(const matrix&, const matrix&)' declares a non-template function [-Wnon-template-friend] - 97 | friend temp_matrix operator- FIX(const matrix &, const matrix &); - | ^ -./atoms/include/matrix.h:102:78: warning: friend declaration 'temp_matrix operator/(const FLOAT&, const matrix&)' declares a non-template function [-Wnon-template-friend] - 102 | friend temp_matrix operator/ FIX(const FLOAT &f, const matrix &m); - | ^ -./atoms/include/matrix.h:103:81: warning: friend declaration 'temp_matrix operator/(const matrix&, const matrix&)' declares a non-template function [-Wnon-template-friend] - 103 | friend temp_matrix operator/ FIX(const matrix &m1, const matrix &m2); - | ^ -./atoms/include/matrix.h:125:60: warning: friend declaration 'temp_matrix transpose(matrix&)' declares a non-template function [-Wnon-template-friend] - 125 | friend temp_matrix transpose FIX( matrix & m ); - | ^ -In file included from images/image.h:15, - from images/ras_png.cc:12: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -In file included from pass1wmf.cc:18: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -In file included from igettext.cc:17: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ -In file included from images/image.h:15, - from images/ras_webp.cc:27: -./atoms/include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] - 197 | friend temp_string del(const string &s,int from, int len=1); - | ^~~ pass1wmf.cc: In member function 'void TconvertedPass1_WMF::parse_CreatePenIndirect()': pass1wmf.cc:1028:57: warning: ')' directive writing 1 byte into a region of size between 0 and 8 [-Wformat-overflow=] 1028 | sprintf(ObjType, "%s(sty=%d,W=%u;RGB=%2.2X,%2.2X,%2.2X)", ObjName+1, PenStyle, PenWidthX, @@ -2700,16 +2736,16 @@ Message conversion to user's charset might not work. ref.po: warning: Charset "CHARSET" is not a portable encoding name. Message conversion to user's charset might not work. -....................................................................................... done. -........mv de_new.po de.po -.msgfmt de.po -o locale/de/lc_messages/wp2latex.mo - done. +....................................................................................................................................................... done. +...... done. mv cs_new.po cs.po msgfmt cs.po -o locale/cs/lc_messages/wp2latex.mo +mv de_new.po de.po +msgfmt de.po -o locale/de/lc_messages/wp2latex.mo make[2]: Leaving directory '/build/reproducible-path/wp2latex-4.13~ds/doc' make[1]: Leaving directory '/build/reproducible-path/wp2latex-4.13~ds' dh_auto_test - make -j20 test "TESTSUITEFLAGS=-j20 --verbose" VERBOSE=1 + make -j42 test "TESTSUITEFLAGS=-j42 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/wp2latex-4.13~ds' export OSTYPE && make -C ./sources.cc/cp_lib/ OSTYPE=linux-gnu make[2]: Entering directory '/build/reproducible-path/wp2latex-4.13~ds/sources.cc/cp_lib' @@ -3188,38 +3224,13 @@ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_REENTRANT -O2 -Dpng_sizeof=sizeof -DOPTIMISE_SPEED -Wall -I./include/ -c TestStruct/test.c -o TestStruct/test.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -O2 -Dpng_sizeof=sizeof -DOPTIMISE_SPEED -Wall -I./include/ -c TestRaster/test.cc -o TestRaster/test.o g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/wp2latex-4.13~ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-rtti -fno-exceptions -D_REENTRANT -fpermissive -DPOINTER_SIZE=64 -O2 -Dpng_sizeof=sizeof -DOPTIMISE_SPEED -Wall -I./include/ -c TestRaster/error.cc -o TestRaster/error.o -In file included from TestRaster/error.cc:4: -./include/raster.h:181:22: warning: 'virtual void Raster1DAbstract::Get(Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=] - 181 | virtual void Get(Raster1DAbstract &R1) const; - | ^~~ In file included from TestStruct/test.c:21: TestStruct/test.c: In function 'main': -./include/raster.h:307:14: note: by 'Raster2DAbstract::Get' - 307 | void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST; - | ^~~ -./include/raster.h:173:22: warning: 'virtual void Raster1DAbstract::Get(unsigned int, RGBQuad*) const' was hidden [-Woverloaded-virtual=] - 173 | virtual void Get(unsigned x, RGBQuad *RGB) const {RGB->O=0;RGB->R=RGB->G=RGB->B=GetValue1D(x);}; - | ^~~ -./include/raster.h:307:14: note: by 'Raster2DAbstract::Get' - 307 | void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST; - | ^~~ -./include/raster.h:185:22: warning: 'virtual void Raster1DAbstract::Set(const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=] - 185 | virtual void Set(const Raster1DAbstract &R1); - | ^~~ ./include/struct.h:130:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 130 | #define WrFLOAT_LoEnd(flt,file) WrDWORD_LoEnd((*(uint32_t*)&flt), file) TestStruct/test.c:179:7: note: in expansion of macro 'WrFLOAT_LoEnd' 179 | rw = WrFLOAT_LoEnd(f, TempF); | ^~~~~~~~~~~~~ -./include/raster.h:308:14: note: by 'Raster2DAbstract::Set' - 308 | void Set(unsigned Offset2D, const Raster1DAbstract &R1); - | ^~~ -./include/raster.h:172:22: warning: 'virtual void Raster1DAbstract::Set(unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=] - 172 | virtual void Set(unsigned x, const RGBQuad *RGB) {SetValue1D(x,(RGB->R+RGB->G+RGB->B)/3);}; - | ^~~ -./include/raster.h:308:14: note: by 'Raster2DAbstract::Set' - 308 | void Set(unsigned Offset2D, const Raster1DAbstract &R1); - | ^~~ TestStruct/test.c:259:55: warning: format '%llX' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 259 | {printf("\nProblem in RdQWORD_LoEnd, value read %llX\n",Q);err++;} | ~~~^ ~ @@ -3227,24 +3238,6 @@ | | uint64_t {aka long unsigned int} | long long unsigned int | %lX -./include/raster.h:226:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=] - 226 | virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));} - | ^ -./include/raster.h:338:18: note: by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)' - 338 | uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));} - | ^ -./include/raster.h:225:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=] - 225 | virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));} - | ^ -./include/raster.h:337:18: note: by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)' - 337 | uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));} - | ^ -./include/raster.h:227:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=] - 227 | virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));} - | ^ -./include/raster.h:339:18: note: by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)' - 339 | uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));} - | ^ TestStruct/test.c:265:53: warning: format '%llX' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 265 | {printf("Problem in RdQWORD_HiEnd, value read %llXh, expected 1415161718191A1Bh\n",Q);err++;} | ~~~^ ~ @@ -3279,6 +3272,49 @@ | | uint64_t {aka long unsigned int} | long long unsigned int | %lX +In file included from TestRaster/error.cc:4: +./include/raster.h:181:22: warning: 'virtual void Raster1DAbstract::Get(Raster1DAbstract&) const' was hidden [-Woverloaded-virtual=] + 181 | virtual void Get(Raster1DAbstract &R1) const; + | ^~~ +./include/raster.h:307:14: note: by 'Raster2DAbstract::Get' + 307 | void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST; + | ^~~ +./include/raster.h:173:22: warning: 'virtual void Raster1DAbstract::Get(unsigned int, RGBQuad*) const' was hidden [-Woverloaded-virtual=] + 173 | virtual void Get(unsigned x, RGBQuad *RGB) const {RGB->O=0;RGB->R=RGB->G=RGB->B=GetValue1D(x);}; + | ^~~ +./include/raster.h:307:14: note: by 'Raster2DAbstract::Get' + 307 | void Get(unsigned Offset2D, Raster1DAbstract &R1) MP_CONST; + | ^~~ +./include/raster.h:185:22: warning: 'virtual void Raster1DAbstract::Set(const Raster1DAbstract&)' was hidden [-Woverloaded-virtual=] + 185 | virtual void Set(const Raster1DAbstract &R1); + | ^~~ +./include/raster.h:308:14: note: by 'Raster2DAbstract::Set' + 308 | void Set(unsigned Offset2D, const Raster1DAbstract &R1); + | ^~~ +./include/raster.h:172:22: warning: 'virtual void Raster1DAbstract::Set(unsigned int, const RGBQuad*)' was hidden [-Woverloaded-virtual=] + 172 | virtual void Set(unsigned x, const RGBQuad *RGB) {SetValue1D(x,(RGB->R+RGB->G+RGB->B)/3);}; + | ^~~ +./include/raster.h:308:14: note: by 'Raster2DAbstract::Set' + 308 | void Set(unsigned Offset2D, const Raster1DAbstract &R1); + | ^~~ +./include/raster.h:226:20: warning: 'virtual uint32_t Raster1DAbstractRGB::G(unsigned int) const' was hidden [-Woverloaded-virtual=] + 226 | virtual uint32_t G(unsigned x) const {return(GetValue1DRAW(3*x+1));} + | ^ +./include/raster.h:338:18: note: by 'uint32_t Raster2DAbstractRGB::G(unsigned int, unsigned int)' + 338 | uint32_t G(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+1,y));} + | ^ +./include/raster.h:225:20: warning: 'virtual uint32_t Raster1DAbstractRGB::R(unsigned int) const' was hidden [-Woverloaded-virtual=] + 225 | virtual uint32_t R(unsigned x) const {return(GetValue1DRAW(3*x));} + | ^ +./include/raster.h:337:18: note: by 'uint32_t Raster2DAbstractRGB::R(unsigned int, unsigned int)' + 337 | uint32_t R(unsigned x, unsigned y) {return(GetValue2DRAW(3*x,y));} + | ^ +./include/raster.h:227:20: warning: 'virtual uint32_t Raster1DAbstractRGB::B(unsigned int) const' was hidden [-Woverloaded-virtual=] + 227 | virtual uint32_t B(unsigned x) const {return(GetValue1DRAW(3*x+2));} + | ^ +./include/raster.h:339:18: note: by 'uint32_t Raster2DAbstractRGB::B(unsigned int, unsigned int)' + 339 | uint32_t B(unsigned x, unsigned y) {return(GetValue2DRAW(3*x+2,y));} + | ^ TestStruct/test.c:196:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 196 | fread(a,1,2,TempF); | ^~~~~~~~~~~~~~~~~~ @@ -3301,18 +3337,6 @@ ./include/stringa.h:197:30: warning: friend declaration of 'string del(const string&, int, int)' specifies default arguments and isn't a definition [-fpermissive] 197 | friend temp_string del(const string &s,int from, int len=1); | ^~~ -TestString/test.cc: In function 'int main(int, char**)': -TestString/test.cc:844:11: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 844 | for(j=0; j