Diff of the two buildlogs: -- --- b1/build.log 2025-03-20 17:49:18.505077708 +0000 +++ b2/build.log 2025-03-20 17:58:26.016405434 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Apr 22 12:11:23 -12 2026 -I: pbuilder-time-stamp: 1776903083 +I: Current time: Fri Mar 21 07:49:24 +14 2025 +I: pbuilder-time-stamp: 1742492964 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -28,52 +28,84 @@ dpkg-source: info: applying fix_gcc-11_build_failures.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/822285/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3252509/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-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 Mar 20 17: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/3252509/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3252509/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=42 ' - 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=20 ' + 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='411869722aff4e5697882f7014950e8a' - 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='822285' - PS1='# ' - PS2='> ' + INVOCATION_ID=7a2080f9cbb244378f4080920fe83691 + 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=3252509 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.hWANiNou/pbuilderrc_WeL0 --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.hWANiNou/b1 --logfile b1/build.log drawxtl_5.5-6.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://213.165.73.152: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.hWANiNou/pbuilderrc_o4DF --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.hWANiNou/b2 --logfile b2/build.log drawxtl_5.5-6.1.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.12.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.12-1~bpo12+1 (2025-02-23) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/822285/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3252509/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -276,7 +308,7 @@ Get: 142 http://deb.debian.org/debian trixie/main amd64 libxpm4 amd64 1:3.5.17-1+b3 [56.2 kB] Get: 143 http://deb.debian.org/debian trixie/main amd64 libxpm-dev amd64 1:3.5.17-1+b3 [130 kB] Get: 144 http://deb.debian.org/debian trixie/main amd64 sharutils amd64 1:4.15.2-11 [268 kB] -Fetched 82.3 MB in 5s (16.3 MB/s) +Fetched 82.3 MB in 3s (30.1 MB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19785 files and directories currently installed.) @@ -869,7 +901,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/drawxtl-5.5/ && 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 > ../drawxtl_5.5-6.1_source.changes +I: user script /srv/workspace/pbuilder/3252509/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/3252509/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/drawxtl-5.5/ && 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 > ../drawxtl_5.5-6.1_source.changes dpkg-buildpackage: info: source package drawxtl dpkg-buildpackage: info: source version 5.5-6.1 dpkg-buildpackage: info: source distribution unstable @@ -881,7 +917,7 @@ debian/rules override_dh_auto_clean make[1]: Entering directory '/build/reproducible-path/drawxtl-5.5' dh_auto_clean -- -C source/DRAWxtl55/ - make -j42 clean -C source/DRAWxtl55/ + make -j20 clean -C source/DRAWxtl55/ make[2]: Entering directory '/build/reproducible-path/drawxtl-5.5/source/DRAWxtl55' make[2]: Leaving directory '/build/reproducible-path/drawxtl-5.5/source/DRAWxtl55' make[1]: Leaving directory '/build/reproducible-path/drawxtl-5.5' @@ -901,7 +937,7 @@ libdir=/usr/lib/ \ LINKFLTKGL="-lfltk_gl -lfltk -lgl2ps -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -Wl,--as-needed" \ OPTIM="-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/drawxtl-5.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wunused -fno-exceptions" - make -j42 "INSTALL=install --strip-program=true" -C source/DRAWxtl55/ OS=Linux prefix=/usr includedir=/usr/include libdir=/usr/lib/ "LINKFLTKGL=-lfltk_gl -lfltk -lgl2ps -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -Wl,--as-needed" "OPTIM=-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/drawxtl-5.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wunused -fno-exceptions" + make -j20 "INSTALL=install --strip-program=true" -C source/DRAWxtl55/ OS=Linux prefix=/usr includedir=/usr/include libdir=/usr/lib/ "LINKFLTKGL=-lfltk_gl -lfltk -lgl2ps -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -Wl,--as-needed" "OPTIM=-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/drawxtl-5.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wunused -fno-exceptions" make[2]: Entering directory '/build/reproducible-path/drawxtl-5.5/source/DRAWxtl55' Building dependencies... Compiling CrystalView.cxx ... @@ -926,20 +962,248 @@ Compiling MC.cxx ... Compiling mpVector.cxx ... Compiling Read_Input.cxx ... +Fourier.cxx: In function 'void read_m81(char*, int)': +Fourier.cxx:718:15: warning: variable 'nmap' set but not used [-Wunused-but-set-variable] + 718 | int nrec, nmap, maptype; + | ^~~~ +Fourier.cxx: In function 'void read_stf(char*, int)': +Fourier.cxx:2682:9: warning: variable 'fullcell' set but not used [-Wunused-but-set-variable] + 2682 | int fullcell = 1; + | ^~~~~~~~ +Fourier.cxx: In function 'void read_w2k(char*, int)': +Fourier.cxx:3035:11: warning: variable 'reslt' set but not used [-Wunused-but-set-variable] + 3035 | char *reslt; + | ^~~~~ +Fourier.cxx: In function 'void read_exc(char*, int)': +Fourier.cxx:3254:11: warning: variable 'reslt' set but not used [-Wunused-but-set-variable] + 3254 | char *reslt; + | ^~~~~ +Fourier.cxx: In function 'void read_aim(char*, int)': +Fourier.cxx:3384:11: warning: variable 'reslt' set but not used [-Wunused-but-set-variable] + 3384 | char *reslt; + | ^~~~~ +Fourier.cxx: In function 'void read_xsf(char*, int)': +Fourier.cxx:3467:11: warning: variable 'reslt' set but not used [-Wunused-but-set-variable] + 3467 | char *reslt = NULL; + | ^~~~~ +Fourier.cxx: In function 'void read_fcf(char*, int)': +Fourier.cxx:338:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 338 | fgets (string, 80, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx:365:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 365 | fgets (string, 80, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx:434:19: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 434 | fgets (string, 80, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx:547:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 547 | fgets (string, 80, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx: In function 'void read_m81(char*, int)': +Fourier.cxx:1515:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1515 | fread (ftmp, 4, 1, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx:1518:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1518 | fread (ftmp, 4, 1, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx:1525:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1525 | fread (ftmp, 4, 1, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx:1534:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1534 | fread (ftmp, 4, 1, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx:1537:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1537 | fread (ftmp, 4, 1, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx:1544:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1544 | fread (ftmp, 4, 1, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx:1553:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1553 | fread (ftmp, 4, 1, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx:1556:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1556 | fread (ftmp, 4, 1, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx:1563:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1563 | fread (ftmp, 4, 1, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx:1572:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1572 | fread (ftmp, 4, 1, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx:1575:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1575 | fread (ftmp, 4, 1, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx:1582:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1582 | fread (ftmp, 4, 1, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx:1591:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1591 | fread (ftmp, 4, 1, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx:1594:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1594 | fread (ftmp, 4, 1, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx:1601:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1601 | fread (ftmp, 4, 1, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx:1610:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1610 | fread (ftmp, 4, 1, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx:1613:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1613 | fread (ftmp, 4, 1, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx:1648:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1648 | fread (ftmp, 4, 1, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx:1664:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1664 | fread (ftmp, 4, 1, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx:1680:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1680 | fread (ftmp, 4, 1, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx:1696:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1696 | fread (ftmp, 4, 1, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx:1712:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1712 | fread (ftmp, 4, 1, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Fourier.cxx: In function 'void read_m80(char*, int)': +Fourier.cxx:1987:19: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1987 | fgets (string, 199, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2115:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2115 | fgets (string, 199, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +Fourier.cxx: In function 'void read_flp(char*, int)': +Fourier.cxx:2360:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2360 | fread (titulo, sizeof (char), icount, mapin); // read title + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2361:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2361 | fread (&icount, sizeof (int), 1, mapin); // skip trailer + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2365:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2365 | fread (&icount, sizeof (int), 1, mapin); // read header for next record + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2368:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2368 | fread (version, sizeof (char), icount, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2369:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2369 | fread (&icount, sizeof (int), 1, mapin); // skip trailer + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2371:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2371 | fread (&icount, sizeof (int), 1, mapin); // read header for next record + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2374:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2374 | fread (&celda, sizeof (char), icount, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2381:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2381 | fread (&icount, sizeof (int), 1, mapin); // skip trailer + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2387:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2387 | fread (&icount, sizeof (int), 1, mapin); // read header for next record + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2390:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2390 | fread (&spg, sizeof (char), icount, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2391:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2391 | fread (&icount, sizeof (int), 1, mapin); // skip trailer + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2393:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2393 | fread (&icount, sizeof (int), 1, mapin); // read header for next record + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2396:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2396 | fread (&natoms, sizeof (char), icount, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2397:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2397 | fread (&icount, sizeof (int), 1, mapin); // skip trailer + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2399:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2399 | fread (&icount, sizeof (int), 1, mapin); // read header for next record + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2402:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2402 | fread (&atm, sizeof (char), icount, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2403:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2403 | fread (&icount, sizeof (int), 1, mapin); // skip trailer + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2406:15: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2406 | fread (&icount, sizeof (int), 1, mapin); // read header for next record + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2409:15: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2409 | fread (&temp, sizeof (char), icount, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2410:15: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2410 | fread (&icount, sizeof (int), 1, mapin); // skip trailer + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2413:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2413 | fread (&icount, sizeof (int), 1, mapin); // read header for next record + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2416:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2416 | fread (&map_param, sizeof (char), icount, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2417:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2417 | fread (&icount, sizeof (int), 1, mapin); // skip trailer + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2438:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2438 | fread (&icount, sizeof (int), 1, mapin); // read header for next record + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2441:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2441 | fread (&temp, sizeof (char), icount, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2442:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2442 | fread (&icount, sizeof (int), 1, mapin); // skip trailer + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2491:19: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2491 | fread (&icount, sizeof (int), 1, mapin); // read header for next record + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2494:19: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2494 | fread (&dens, sizeof (char), icount, mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2495:19: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2495 | fread (&icount, sizeof (int), 1, mapin); // skip trailer + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx: In function 'void read_stf(char*, int)': +Fourier.cxx:2810:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2810 | fscanf (mapin, "%*f"); + | ~~~~~~~^~~~~~~~~~~~~~ +Fourier.cxx:2813:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2813 | fscanf (mapin, "%*f"); + | ~~~~~~~^~~~~~~~~~~~~~ +Fourier.cxx: In function 'void read_vasp(char*, int)': +Fourier.cxx:2888:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2888 | fgets (line, sizeof (line), mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2891:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2891 | fgets (line, sizeof (line), mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2905:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2905 | fgets (line, sizeof (line), mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx:2926:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2926 | fgets (line, sizeof (line), mapin); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Fourier.cxx: In function 'void read_w2k(char*, int)': +Fourier.cxx:3162:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 3162 | fscanf (mapin, "%*f"); + | ~~~~~~~^~~~~~~~~~~~~~ +Fourier.cxx:3165:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 3165 | fscanf (mapin, "%*f"); + | ~~~~~~~^~~~~~~~~~~~~~ +Fourier.cxx:3214:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 3214 | fscanf (mapin, "%*f"); + | ~~~~~~~^~~~~~~~~~~~~~ +Fourier.cxx:3217:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 3217 | fscanf (mapin, "%*f"); + | ~~~~~~~^~~~~~~~~~~~~~ Compiling symmtry.cxx ... -Compiling Tb_Window.cxx ... CrystalView.cxx: In member function 'virtual void CrystalView::draw()': CrystalView.cxx:518:21: warning: variable 'cpz' set but not used [-Wunused-but-set-variable] 518 | float cpx, cpy, cpz; | ^~~ -Fourier.cxx: In function 'void read_m81(char*, int)': -Fourier.cxx:718:15: warning: variable 'nmap' set but not used [-Wunused-but-set-variable] - 718 | int nrec, nmap, maptype; - | ^~~~ CrystalView.cxx: In function 'void start_picking(int, int, int, int)': CrystalView.cxx:2346:21: warning: variable 'cpz' set but not used [-Wunused-but-set-variable] 2346 | float cpx, cpy, cpz; | ^~~ +Compiling Tb_Window.cxx ... gl2gif.cxx: In function 'int ppm_addtocolorhash(colorhash_table, const pixel*, int)': gl2gif.cxx:136:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 136 | register int hash; @@ -1090,41 +1354,10 @@ gl2gif.cxx:1309:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1309 | register long dist, newdist; | ^~~~~~~ -Fourier.cxx: In function 'void read_stf(char*, int)': -Fourier.cxx:2682:9: warning: variable 'fullcell' set but not used [-Wunused-but-set-variable] - 2682 | int fullcell = 1; - | ^~~~~~~~ -Fourier.cxx: In function 'void read_w2k(char*, int)': -Fourier.cxx:3035:11: warning: variable 'reslt' set but not used [-Wunused-but-set-variable] - 3035 | char *reslt; - | ^~~~~ -Fourier.cxx: In function 'void read_exc(char*, int)': -Fourier.cxx:3254:11: warning: variable 'reslt' set but not used [-Wunused-but-set-variable] - 3254 | char *reslt; - | ^~~~~ -Fourier.cxx: In function 'void read_aim(char*, int)': -Fourier.cxx:3384:11: warning: variable 'reslt' set but not used [-Wunused-but-set-variable] - 3384 | char *reslt; - | ^~~~~ -Fourier.cxx: In function 'void read_xsf(char*, int)': -Fourier.cxx:3467:11: warning: variable 'reslt' set but not used [-Wunused-but-set-variable] - 3467 | char *reslt = NULL; - | ^~~~~ -Import.cxx: In function 'void import_shelx(char*, int, int, int)': -Import.cxx:2221:9: warning: variable 'read_start' set but not used [-Wunused-but-set-variable] - 2221 | int read_start; /* flag for start of atom list */ - | ^~~~~~~~~~ -Import.cxx:2223:9: warning: variable 'read_uij' set but not used [-Wunused-but-set-variable] - 2223 | int read_uij; /* flag for uij card */ - | ^~~~~~~~ DRAWxtl3.cxx: In function 'void calc_simplevoids()': DRAWxtl3.cxx:2419:11: warning: variable 'saved_boxlim' set but not used [-Wunused-but-set-variable] 2419 | float saved_boxlim[3]; | ^~~~~~~~~~~~ -Edit2.cxx: In function 'void Map_Info_cb()': -Edit2.cxx:1001:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 1001 | Edit_Maps_Save_cb ((Fl_Button *) zero, &zero); - | ^~~~~~~~~~~~~~~~~~ DRAWxtl3.cxx: In function 'void calculate_sas()': DRAWxtl3.cxx:3304:11: warning: variable 'saved_boxlim' set but not used [-Wunused-but-set-variable] 3304 | float saved_boxlim[3]; @@ -1132,10 +1365,10 @@ DRAWxtl3.cxx:3306:11: warning: variable 'saved_crystlim' set but not used [-Wunused-but-set-variable] 3306 | float saved_crystlim[6]; | ^~~~~~~~~~~~~~ -Edit1.cxx: In function 'void Edit_Bond_cb()': -Edit1.cxx:1399:9: warning: variable 'newBonds' set but not used [-Wunused-but-set-variable] - 1399 | int newBonds = 0; - | ^~~~~~~~ +Edit2.cxx: In function 'void Map_Info_cb()': +Edit2.cxx:1001:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 1001 | Edit_Maps_Save_cb ((Fl_Button *) zero, &zero); + | ^~~~~~~~~~~~~~~~~~ CrystalView.cxx: In function 'int main(int, char**)': CrystalView.cxx:187:24: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 187 | getcwd (drvui->Cur_Dir, 1023); @@ -1146,6 +1379,10 @@ CrystalView.cxx:197:24: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 197 | getcwd (drvui->Cur_Dir, 1023); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +Edit1.cxx: In function 'void Edit_Bond_cb()': +Edit1.cxx:1399:9: warning: variable 'newBonds' set but not used [-Wunused-but-set-variable] + 1399 | int newBonds = 0; + | ^~~~~~~~ CrystalView.cxx: In function 'int Get_Unique_Atoms(char (*)[5], int)': CrystalView.cxx:921:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 921 | fgets (string, 100, aout); @@ -1224,204 +1461,65 @@ CrystalView.cxx:1479:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1479 | fgets (drvui->FFmpeg_Path, 256, fname); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx: In function 'void read_fcf(char*, int)': -Fourier.cxx:338:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 338 | fgets (string, 80, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -Fourier.cxx:365:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 365 | fgets (string, 80, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -Fourier.cxx:434:19: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 434 | fgets (string, 80, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -Fourier.cxx:547:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 547 | fgets (string, 80, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ +Import.cxx: In function 'void import_shelx(char*, int, int, int)': +Import.cxx:2221:9: warning: variable 'read_start' set but not used [-Wunused-but-set-variable] + 2221 | int read_start; /* flag for start of atom list */ + | ^~~~~~~~~~ +Import.cxx:2223:9: warning: variable 'read_uij' set but not used [-Wunused-but-set-variable] + 2223 | int read_uij; /* flag for uij card */ + | ^~~~~~~~ CrystalView.cxx: In function 'void Process_Inp(int)': CrystalView.cxx:1769:12: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1769 | _chdir (drvui->Cur_Dir); | ^ +DRAWxtl3.cxx: In function 'void calculate_msms()': +DRAWxtl3.cxx:3840:23: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 3840 | fgets (cmd, 200, tdf); + | ~~~~~~^~~~~~~~~~~~~~~ +DRAWxtl3.cxx:3841:23: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 3841 | fgets (cmd, 200, tdf); + | ~~~~~~^~~~~~~~~~~~~~~ CrystalView.cxx: In function 'void SelectDataFile_cb()': CrystalView.cxx:2220:15: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2220 | chdir (drvui->Cur_Dir); // switch to that directory | ~~~~~~^~~~~~~~~~~~~~~~ -Fourier.cxx: In function 'void read_m81(char*, int)': -Fourier.cxx:1515:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1515 | fread (ftmp, 4, 1, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -Fourier.cxx:1518:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1518 | fread (ftmp, 4, 1, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -Fourier.cxx:1525:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1525 | fread (ftmp, 4, 1, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -Fourier.cxx:1534:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1534 | fread (ftmp, 4, 1, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -Fourier.cxx:1537:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1537 | fread (ftmp, 4, 1, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -Fourier.cxx:1544:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1544 | fread (ftmp, 4, 1, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -Fourier.cxx:1553:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1553 | fread (ftmp, 4, 1, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -Fourier.cxx:1556:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1556 | fread (ftmp, 4, 1, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -Fourier.cxx:1563:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1563 | fread (ftmp, 4, 1, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -Fourier.cxx:1572:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1572 | fread (ftmp, 4, 1, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -Fourier.cxx:1575:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1575 | fread (ftmp, 4, 1, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -Fourier.cxx:1582:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1582 | fread (ftmp, 4, 1, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -Fourier.cxx:1591:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1591 | fread (ftmp, 4, 1, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -Fourier.cxx:1594:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1594 | fread (ftmp, 4, 1, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -Fourier.cxx:1601:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1601 | fread (ftmp, 4, 1, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -Fourier.cxx:1610:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1610 | fread (ftmp, 4, 1, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -Fourier.cxx:1613:27: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1613 | fread (ftmp, 4, 1, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -Fourier.cxx:1648:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1648 | fread (ftmp, 4, 1, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -Fourier.cxx:1664:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1664 | fread (ftmp, 4, 1, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -Fourier.cxx:1680:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1680 | fread (ftmp, 4, 1, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -Fourier.cxx:1696:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1696 | fread (ftmp, 4, 1, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -Fourier.cxx:1712:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1712 | fread (ftmp, 4, 1, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ +DRAWxtl3.cxx: In function 'void generate_msms()': +DRAWxtl3.cxx:3910:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 3910 | (void) fgets (line, 100, msmsfile); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ +DRAWxtl3.cxx:3911:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 3911 | (void) fgets (line, 100, msmsfile); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ +DRAWxtl3.cxx:3912:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 3912 | (void) fgets (line, 100, msmsfile); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ +DRAWxtl3.cxx:3964:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 3964 | (void) fgets (line, 100, msmsfile); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ +DRAWxtl3.cxx:3965:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 3965 | (void) fgets (line, 100, msmsfile); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ +DRAWxtl3.cxx:3966:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 3966 | (void) fgets (line, 100, msmsfile); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ +DRAWxtl3.cxx:3973:19: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 3973 | fgets (line, 100, msmsfile); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ +DRAWxtl3.cxx:4046:19: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 4046 | fgets (line, 100, msmsfile); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ Edit2.cxx: In function 'void Edit_Surfaces_Save_cb(Fl_Button*, int*)': Edit2.cxx:3319:9: warning: variable 'Frame_No' set but not used [-Wunused-but-set-variable] 3319 | int Frame_No = 1; | ^~~~~~~~ -Fourier.cxx: In function 'void read_m80(char*, int)': -Fourier.cxx:1987:19: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1987 | fgets (string, 199, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2115:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2115 | fgets (string, 199, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ CrystalView.cxx: In function 'void Update_Str(int)': CrystalView.cxx:2771:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2771 | fgets (string, 256, inp); | ~~~~~~^~~~~~~~~~~~~~~~~~ -Fourier.cxx: In function 'void read_flp(char*, int)': -Fourier.cxx:2360:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2360 | fread (titulo, sizeof (char), icount, mapin); // read title - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2361:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2361 | fread (&icount, sizeof (int), 1, mapin); // skip trailer - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2365:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2365 | fread (&icount, sizeof (int), 1, mapin); // read header for next record - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2368:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2368 | fread (version, sizeof (char), icount, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2369:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2369 | fread (&icount, sizeof (int), 1, mapin); // skip trailer - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2371:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2371 | fread (&icount, sizeof (int), 1, mapin); // read header for next record - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2374:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2374 | fread (&celda, sizeof (char), icount, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2381:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2381 | fread (&icount, sizeof (int), 1, mapin); // skip trailer - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2387:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2387 | fread (&icount, sizeof (int), 1, mapin); // read header for next record - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2390:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2390 | fread (&spg, sizeof (char), icount, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2391:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2391 | fread (&icount, sizeof (int), 1, mapin); // skip trailer - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2393:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2393 | fread (&icount, sizeof (int), 1, mapin); // read header for next record - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2396:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2396 | fread (&natoms, sizeof (char), icount, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2397:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2397 | fread (&icount, sizeof (int), 1, mapin); // skip trailer - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2399:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2399 | fread (&icount, sizeof (int), 1, mapin); // read header for next record - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2402:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2402 | fread (&atm, sizeof (char), icount, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2403:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2403 | fread (&icount, sizeof (int), 1, mapin); // skip trailer - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2406:15: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2406 | fread (&icount, sizeof (int), 1, mapin); // read header for next record - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2409:15: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2409 | fread (&temp, sizeof (char), icount, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2410:15: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2410 | fread (&icount, sizeof (int), 1, mapin); // skip trailer - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2413:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2413 | fread (&icount, sizeof (int), 1, mapin); // read header for next record - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2416:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2416 | fread (&map_param, sizeof (char), icount, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2417:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2417 | fread (&icount, sizeof (int), 1, mapin); // skip trailer - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2438:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2438 | fread (&icount, sizeof (int), 1, mapin); // read header for next record - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2441:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2441 | fread (&temp, sizeof (char), icount, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2442:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2442 | fread (&icount, sizeof (int), 1, mapin); // skip trailer - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2491:19: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2491 | fread (&icount, sizeof (int), 1, mapin); // read header for next record - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2494:19: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2494 | fread (&dens, sizeof (char), icount, mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2495:19: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2495 | fread (&icount, sizeof (int), 1, mapin); // skip trailer - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx: In function 'void read_stf(char*, int)': -Fourier.cxx:2810:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2810 | fscanf (mapin, "%*f"); - | ~~~~~~~^~~~~~~~~~~~~~ -Fourier.cxx:2813:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2813 | fscanf (mapin, "%*f"); - | ~~~~~~~^~~~~~~~~~~~~~ +Edit2.cxx: In function 'void Edit_STR_Save_cb(Fl_Button*, int*)': +Edit2.cxx:800:19: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 800 | chdir (drvui->Cur_Dir); // switch to new directory + | ~~~~~~^~~~~~~~~~~~~~~~ Import.cxx: In function 'void import_cif(char*, int, int, int*, int)': Import.cxx:235:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 235 | fgets (string, 255, impin); @@ -1447,32 +1545,6 @@ Import.cxx:1411:19: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1411 | fgets (string, 255, impin); /* skip the line with ? */ | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -Fourier.cxx: In function 'void read_vasp(char*, int)': -Fourier.cxx:2888:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2888 | fgets (line, sizeof (line), mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2891:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2891 | fgets (line, sizeof (line), mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2905:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2905 | fgets (line, sizeof (line), mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx:2926:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2926 | fgets (line, sizeof (line), mapin); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Fourier.cxx: In function 'void read_w2k(char*, int)': -Fourier.cxx:3162:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 3162 | fscanf (mapin, "%*f"); - | ~~~~~~~^~~~~~~~~~~~~~ -Fourier.cxx:3165:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 3165 | fscanf (mapin, "%*f"); - | ~~~~~~~^~~~~~~~~~~~~~ -Fourier.cxx:3214:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 3214 | fscanf (mapin, "%*f"); - | ~~~~~~~^~~~~~~~~~~~~~ -Fourier.cxx:3217:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 3217 | fscanf (mapin, "%*f"); - | ~~~~~~~^~~~~~~~~~~~~~ Import.cxx: In function 'void import_gsas(char*, int, int, int)': Import.cxx:2013:22: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2013 | (void) fgets (string, 100, impin); @@ -1521,42 +1593,6 @@ Import.cxx:3527:27: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 3527 | fgets (line, 85, impin); | ~~~~~~^~~~~~~~~~~~~~~~~ -Edit2.cxx: In function 'void Edit_STR_Save_cb(Fl_Button*, int*)': -Edit2.cxx:800:19: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 800 | chdir (drvui->Cur_Dir); // switch to new directory - | ~~~~~~^~~~~~~~~~~~~~~~ -DRAWxtl3.cxx: In function 'void calculate_msms()': -DRAWxtl3.cxx:3840:23: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 3840 | fgets (cmd, 200, tdf); - | ~~~~~~^~~~~~~~~~~~~~~ -DRAWxtl3.cxx:3841:23: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 3841 | fgets (cmd, 200, tdf); - | ~~~~~~^~~~~~~~~~~~~~~ -DRAWxtl3.cxx: In function 'void generate_msms()': -DRAWxtl3.cxx:3910:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 3910 | (void) fgets (line, 100, msmsfile); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ -DRAWxtl3.cxx:3911:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 3911 | (void) fgets (line, 100, msmsfile); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ -DRAWxtl3.cxx:3912:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 3912 | (void) fgets (line, 100, msmsfile); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ -DRAWxtl3.cxx:3964:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 3964 | (void) fgets (line, 100, msmsfile); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ -DRAWxtl3.cxx:3965:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 3965 | (void) fgets (line, 100, msmsfile); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ -DRAWxtl3.cxx:3966:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 3966 | (void) fgets (line, 100, msmsfile); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ -DRAWxtl3.cxx:3973:19: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 3973 | fgets (line, 100, msmsfile); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ -DRAWxtl3.cxx:4046:19: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 4046 | fgets (line, 100, msmsfile); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ CrystalView.cxx: In function 'void Load_Bond_Data(const char*, char*)': CrystalView.cxx:1359:27: warning: '%4s' directive writing between 4 and 4999 bytes into a region of size 100 [-Wformat-overflow=] 1359 | sprintf (string, "%4s %8.3f\n", atoms[i], d_list[i]); @@ -1679,6 +1715,19 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +Edit2.cxx: In function 'void Modify_Ellipsoids_cb(Fl_Widget*, void*)': +Edit2.cxx:1245:34: warning: ' *' directive writing 2 bytes into a region of size between 1 and 6 [-Wformat-overflow=] + 1245 | sprintf (string, "%4s *", atom); + | ^~ +In function 'int sprintf(char*, const char*, ...)', + inlined from 'void Modify_Ellipsoids_cb(Fl_Widget*, void*)' at Edit2.cxx:1245:14: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 7 and 12 bytes into a destination of size 10 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ Import.cxx: In function 'void import_pcr(char*, int, int, int)': Import.cxx:3228:39: warning: '%3d' directive writing between 3 and 10 bytes into a region of size 7 [-Wformat-overflow=] 3228 | sprintf (temp, "for PHASE number: %3d", phase_no); /* make search object */ @@ -1713,6 +1762,28 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +In function 'void trim_string(char*, int)', + inlined from 'void read_inp(int)' at Read_Input.cxx:2034:18: +Read_Input.cxx:3245:21: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] + 3245 | string[len - 1] = 0; + | ~~~~~~~~~~~~~~~~^~~ +Read_Input.cxx: In function 'void read_inp(int)': +Read_Input.cxx:851:10: note: at offset 69 into destination object 't_color' of size 40 + 851 | char t_color[40]; /* temporary ellipsoid color storage */ + | ^~~~~~~ +CrystalView.cxx: In function 'void ImportDataFile_cb(Fl_Widget*, void*)': +CrystalView.cxx:1108:54: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 230 [-Wformat-truncation=] + 1108 | "The implied output file ('%s') could not be created.", + | ^~ +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'void ImportDataFile_cb(Fl_Widget*, void*)' at CrystalView.cxx:1107:12: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:35: note: '__builtin___snprintf_chk' output between 51 and 1074 bytes into a destination of size 256 + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ Import.cxx: In function 'void import_cif(char*, int, int, int*, int)': Import.cxx:124:34: warning: '%d' directive writing between 1 and 11 bytes into a region of size 9 [-Wformat-overflow=] 124 | sprintf (tmp2, " %d. ", ++numblocks); @@ -1729,32 +1800,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -Edit2.cxx: In function 'void Modify_Ellipsoids_cb(Fl_Widget*, void*)': -Edit2.cxx:1245:34: warning: ' *' directive writing 2 bytes into a region of size between 1 and 6 [-Wformat-overflow=] - 1245 | sprintf (string, "%4s *", atom); - | ^~ -In function 'int sprintf(char*, const char*, ...)', - inlined from 'void Modify_Ellipsoids_cb(Fl_Widget*, void*)' at Edit2.cxx:1245:14: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 7 and 12 bytes into a destination of size 10 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -CrystalView.cxx: In function 'void ImportDataFile_cb(Fl_Widget*, void*)': -CrystalView.cxx:1108:54: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 230 [-Wformat-truncation=] - 1108 | "The implied output file ('%s') could not be created.", - | ^~ -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'void ImportDataFile_cb(Fl_Widget*, void*)' at CrystalView.cxx:1107:12: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:35: note: '__builtin___snprintf_chk' output between 51 and 1074 bytes into a destination of size 256 - 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 69 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 70 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ CrystalView.cxx: In function 'void SelectDataFile_cb()': CrystalView.cxx:2227:55: warning: '%s' directive writing up to 1023 bytes into a region of size 232 [-Wformat-overflow=] 2227 | sprintf (string, "The file you selected ('%s') cannot be read\n" @@ -1768,15 +1813,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -In function 'void trim_string(char*, int)', - inlined from 'void read_inp(int)' at Read_Input.cxx:2034:18: -Read_Input.cxx:3245:21: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] - 3245 | string[len - 1] = 0; - | ~~~~~~~~~~~~~~~~^~~ -Read_Input.cxx: In function 'void read_inp(int)': -Read_Input.cxx:851:10: note: at offset 69 into destination object 't_color' of size 40 - 851 | char t_color[40]; /* temporary ellipsoid color storage */ - | ^~~~~~~ MC.cxx: In function 'TRIANGLE* MarchingCubesRec(int, int, int, float, float, float, int, int*, int*, int*, float, mp4Vector*, int&)': MC.cxx:664:38: warning: argument 1 range [18446744072993723734, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 664 | bool *marchedCubes = new bool[all]; @@ -1827,8 +1863,8 @@ dh_gencontrol -O--buildsystem=makefile dh_md5sums -O--buildsystem=makefile dh_builddeb -O--buildsystem=makefile -dpkg-deb: building package 'drawxtl' in '../drawxtl_5.5-6.1_amd64.deb'. dpkg-deb: building package 'drawxtl-dbgsym' in '../drawxtl-dbgsym_5.5-6.1_amd64.deb'. +dpkg-deb: building package 'drawxtl' in '../drawxtl_5.5-6.1_amd64.deb'. dpkg-genbuildinfo --build=binary -O../drawxtl_5.5-6.1_amd64.buildinfo dpkg-genchanges --build=binary -O../drawxtl_5.5-6.1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1836,12 +1872,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3252509/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3252509/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/822285 and its subdirectories -I: Current time: Wed Apr 22 12:12:16 -12 2026 -I: pbuilder-time-stamp: 1776903136 +I: removing directory /srv/workspace/pbuilder/3252509 and its subdirectories +I: Current time: Fri Mar 21 07:58:25 +14 2025 +I: pbuilder-time-stamp: 1742493505