Diff of the two buildlogs: -- --- b1/build.log 2024-04-21 15:55:38.960226465 +0000 +++ b2/build.log 2024-04-21 15:56:59.240790835 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 24 10:17:51 -12 2025 -I: pbuilder-time-stamp: 1748125071 +I: Current time: Mon Apr 22 05:55:41 +14 2024 +I: pbuilder-time-stamp: 1713714941 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -33,54 +33,86 @@ 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/80647/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/62780/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 21 15:55 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/62780/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/62780/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + 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]="21" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='a6da17c96ab84d619ba2e48d0c2c255e' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='80647' - PS1='# ' - PS2='> ' + INVOCATION_ID=2c075e5684e0407f9656adb174f564b1 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=62780 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.fESeMUtN/pbuilderrc_3VWG --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.fESeMUtN/b1 --logfile b1/build.log drawxtl_5.5-6.1.dsc' - SUDO_GID='112' - SUDO_UID='107' - 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.fESeMUtN/pbuilderrc_dHqn --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.fESeMUtN/b2 --logfile b2/build.log drawxtl_5.5-6.1.dsc' + SUDO_GID=112 + SUDO_UID=107 + 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 ionos6-i386 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 24 13:35 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/80647/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 21 07:12 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/62780/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -287,7 +319,7 @@ Get: 146 http://deb.debian.org/debian trixie/main i386 libxpm4 i386 1:3.5.17-1 [57.5 kB] Get: 147 http://deb.debian.org/debian trixie/main i386 libxpm-dev i386 1:3.5.17-1 [132 kB] Get: 148 http://deb.debian.org/debian trixie/main i386 sharutils i386 1:4.15.2-9 [262 kB] -Fetched 81.7 MB in 1s (76.5 MB/s) +Fetched 81.7 MB in 2s (50.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19874 files and directories currently installed.) @@ -896,7 +928,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/62780/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/62780/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 @@ -908,7 +944,7 @@ debian/rules override_dh_auto_clean make[1]: Entering directory '/build/reproducible-path/drawxtl-5.5' dh_auto_clean -- -C source/DRAWxtl55/ - make -j22 clean -C source/DRAWxtl55/ + make -j10 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' @@ -928,7 +964,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 -Wformat -Werror=format-security -Wunused -fno-exceptions" - make -j22 "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 -Wformat -Werror=format-security -Wunused -fno-exceptions" + make -j10 "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 -Wformat -Werror=format-security -Wunused -fno-exceptions" make[2]: Entering directory '/build/reproducible-path/drawxtl-5.5/source/DRAWxtl55' Building dependencies... Compiling CrystalView.cxx ... @@ -943,22 +979,306 @@ Compiling Edit2.cxx ... Compiling Ellipsoids.cxx ... Compiling Flu_Combo_Box.cxx ... +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 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; + | ^~~~~~~~ +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 + | ~~~~~~^~~~~~~~~~~~~~~~ +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; + | ^~~ +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]; + | ^~~~~~~~~~~~ +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; + | ^~~ +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]; + | ^~~~~~~~~~~~ +DRAWxtl3.cxx:3306:11: warning: variable 'saved_crystlim' set but not used [-Wunused-but-set-variable] + 3306 | float saved_crystlim[6]; + | ^~~~~~~~~~~~~~ +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); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:196:23: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 196 | chdir (drvui->Cur_Dir); + | ~~~~~~^~~~~~~~~~~~~~~~ +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); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +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); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +CrystalView.cxx: In function 'void ImportDataFile_cb(Fl_Widget*, void*)': +CrystalView.cxx:1062:15: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1062 | chdir (tmp_dir); // switch to that directory + | ~~~~~~^~~~~~~~~ +CrystalView.cxx:1070:23: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1070 | chdir (drvui->Cur_Dir); // restore the original directory + | ~~~~~~^~~~~~~~~~~~~~~~ +CrystalView.cxx:1169:27: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1169 | fgets (string, 133, inp); + | ~~~~~~^~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1196:27: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1196 | fgets (string, 133, inp); + | ~~~~~~^~~~~~~~~~~~~~~~~~ +CrystalView.cxx: In function 'void LoadConfig(bool)': +CrystalView.cxx:1407:23: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1407 | fgets (temp, 256, fname); + | ~~~~~~^~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1442:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1442 | fgets (drvui->DRAWxtl_Path, 256, fname); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1444:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1444 | fgets (drvui->POV_Path, 256, fname); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1446:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1446 | fgets (drvui->VRML_Path, 256, fname); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1448:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1448 | fgets (drvui->EditName, 256, fname); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1450:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1450 | fgets (drvui->FileViewName, 256, fname); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1452:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1452 | fgets (drvui->POV_Options, 256, fname); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1454:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1454 | fgets (drvui->Cur_File, 256, fname); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1456:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1456 | fgets (drvui->Cur_Dir, 256, fname); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1458:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1458 | fgets (drvui->POV_Include, 256, fname); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1460:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1460 | fgets (drvui->LoadOnStartup, 10, fname); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1462:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1462 | fgets (drvui->DefaultFinish, 256, fname); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1464:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1464 | fgets (temp, 256, fname); // skip over executable path + | ~~~~~~^~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1465:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1465 | fgets (autolabel, 256, fname); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1466:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1466 | fgets (stereo, 256, fname); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1468:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1468 | fgets (temp, 256, fname); // skip over window dimensions + | ~~~~~~^~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1470:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1470 | fgets (temp, 256, fname); + | ~~~~~~^~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1473:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1473 | fgets (drvui->MSMS_Path, 256, fname); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1476:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1476 | fgets (drvui->Mencoder_Path, 256, fname); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ^ +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 + | ~~~~~~^~~~~~~~~~~~~~~~ +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); + | ~~~~~~^~~~~~~~~~~~~~~~~~ Compiling Flu_Combo_List.cxx ... +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); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ +Edit1.cxx: In function 'void Automation_Go_cb()': +Edit1.cxx:378:40: warning: 'd.png' directive writing 5 bytes into a region of size between 2 and 12 [-Wformat-overflow=] + 378 | sprintf(format," +O%%s%%.%dd.png",num); + | ^~~~~ +In file included from /usr/include/stdio.h:906, + from /usr/include/FL/fl_utf8.h:34, + from /usr/include/FL/Fl.H:32, + from DRAWxtlViewUI.h:12, + from Edit1.cxx:64: +In function 'int sprintf(char*, const char*, ...)', + inlined from 'void Automation_Go_cb()' at Edit1.cxx:378:13: +/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 14 and 24 bytes into a destination of size 20 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +Edit1.cxx: In function 'void Automation_Go_cb()': +Edit1.cxx:376:40: warning: 'd.tga' directive writing 5 bytes into a region of size between 2 and 12 [-Wformat-overflow=] + 376 | sprintf(format," +O%%s%%.%dd.tga",num); + | ^~~~~ +In function 'int sprintf(char*, const char*, ...)', + inlined from 'void Automation_Go_cb()' at Edit1.cxx:376:13: +/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 14 and 24 bytes into a destination of size 20 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +Edit1.cxx: In function 'void Automation_Go_cb()': +Edit1.cxx:418:22: warning: '%s' directive writing up to 1023 bytes into a region of size 512 [-Wformat-overflow=] + 418 | sprintf(cmd,"%s -f image2 -pix_fmt rgb24 -r 1 -i %s%%%dd.png -s %dx%d -f gif %s.gif", drvui->FFmpeg_Path, POV_filename, num, width,height,POV_filename); + | ^~ +Edit1.cxx:418:21: note: directive argument in the range [-2147483647, 2147483647] + 418 | sprintf(cmd,"%s -f image2 -pix_fmt rgb24 -r 1 -i %s%%%dd.png -s %dx%d -f gif %s.gif", drvui->FFmpeg_Path, POV_filename, num, width,height,POV_filename); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'int sprintf(char*, const char*, ...)', + inlined from 'void Automation_Go_cb()' at Edit1.cxx:418:9: +/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output 61 or more bytes (assuming 1094) into a destination of size 512 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +Edit1.cxx: In function 'void Automation_Go_cb()': +Edit1.cxx:416:22: warning: '%s' directive writing up to 1023 bytes into a region of size 512 [-Wformat-overflow=] + 416 | sprintf(cmd,"%s -r %d -f image2 -i %s%%%dd.png -s %dx%d %s.mpg", drvui->FFmpeg_Path, fps, POV_filename, num, width,height,POV_filename); + | ^~ +Edit1.cxx:416:21: note: using the range [-2147483648, 2147483647] for directive argument + 416 | sprintf(cmd,"%s -r %d -f image2 -i %s%%%dd.png -s %dx%d %s.mpg", drvui->FFmpeg_Path, fps, POV_filename, num, width,height,POV_filename); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Edit1.cxx:416:21: note: directive argument in the range [-2147483647, 2147483647] +In function 'int sprintf(char*, const char*, ...)', + inlined from 'void Automation_Go_cb()' at Edit1.cxx:416:9: +/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 1072) into a destination of size 512 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +Edit1.cxx: In function 'void Automation_Go_cb()': +Edit1.cxx:413:22: warning: '%s' directive writing up to 1023 bytes into a region of size 512 [-Wformat-overflow=] + 413 | sprintf(cmd,"%s mf://%s*.tga -mf w=%d:h=%d:fps=%d:type=tga -ovc lavc -lavcopts vcodec=mpeg4 -o %s.mpg", drvui->Mencoder_Path, POV_filename,width,height,fps,POV_filename); + | ^~ +Edit1.cxx:413:21: note: using the range [-2147483648, 2147483647] for directive argument + 413 | sprintf(cmd,"%s mf://%s*.tga -mf w=%d:h=%d:fps=%d:type=tga -ovc lavc -lavcopts vcodec=mpeg4 -o %s.mpg", drvui->Mencoder_Path, POV_filename,width,height,fps,POV_filename); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'int sprintf(char*, const char*, ...)', + inlined from 'void Automation_Go_cb()' at Edit1.cxx:413:9: +/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output 80 or more bytes (assuming 1103) into a destination of size 512 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ Compiling Flu_Spinner.cxx ... Compiling Fourier.cxx ... +Edit2.cxx: In function 'void Modify_Spheres_cb(Fl_Widget*, void*)': +Edit2.cxx:1585:30: warning: '%2d' directive writing between 2 and 10 bytes into a region of size 8 [-Wformat-overflow=] + 1585 | sprintf (value, "%2d", n); + | ^~~ +Edit2.cxx:1585:29: note: directive argument in the range [0, 2147483647] + 1585 | sprintf (value, "%2d", n); + | ^~~~~ +In file included from /usr/include/stdio.h:906, + from /usr/include/FL/fl_utf8.h:34, + from /usr/include/FL/Fl.H:32, + from DRAWxtlViewUI.h:12, + from Edit2.cxx:53: +In function 'int sprintf(char*, const char*, ...)', + inlined from 'void Modify_Spheres_cb(Fl_Widget*, void*)' at Edit2.cxx:1585:14: +/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 3 and 11 bytes into a destination of size 8 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +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]); + | ^~~ +In file included from /usr/include/stdio.h:906, + from CrystalView.cxx:44: +In function 'int sprintf(char*, const char*, ...)', + inlined from 'void Load_Bond_Data(const char*, char*)' at CrystalView.cxx:1359:10: +/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 16 and 5317 bytes into a destination of size 100 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ Compiling Generate_Drawing.cxx ... +Edit1.cxx: In function 'void Modify_Occ_cb(Fl_Widget*, void*)': +Edit1.cxx:3471:30: warning: '%2d' directive writing between 2 and 10 bytes into a region of size 8 [-Wformat-overflow=] + 3471 | sprintf (value, "%2d", n); + | ^~~ +Edit1.cxx:3471:29: note: directive argument in the range [0, 2147483647] + 3471 | sprintf (value, "%2d", n); + | ^~~~~ +In function 'int sprintf(char*, const char*, ...)', + inlined from 'void Modify_Occ_cb(Fl_Widget*, void*)' at Edit1.cxx:3471:14: +/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 3 and 11 bytes into a destination of size 8 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ Compiling gl2gif.cxx ... -Compiling Help.cxx ... -Compiling Import.cxx ... -Compiling MC.cxx ... -Compiling mpVector.cxx ... -Compiling Read_Input.cxx ... -Compiling symmtry.cxx ... -Compiling Tb_Window.cxx ... -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_m81(char*, int)': Fourier.cxx:718:15: warning: variable 'nmap' set but not used [-Wunused-but-set-variable] 718 | int nrec, nmap, maptype; @@ -967,10 +1287,6 @@ Fourier.cxx:2682:9: warning: variable 'fullcell' set but not used [-Wunused-but-set-variable] 2682 | int fullcell = 1; | ^~~~~~~~ -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]; - | ^~~~~~~~~~~~ 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; @@ -987,186 +1303,8 @@ Fourier.cxx:3467:11: warning: variable 'reslt' set but not used [-Wunused-but-set-variable] 3467 | char *reslt = NULL; | ^~~~~ -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; - | ^~~~~~~~ -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]; - | ^~~~~~~~~~~~ -DRAWxtl3.cxx:3306:11: warning: variable 'saved_crystlim' set but not used [-Wunused-but-set-variable] - 3306 | float saved_crystlim[6]; - | ^~~~~~~~~~~~~~ -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 - | ~~~~~~^~~~~~~~~~~~~~~~ -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; - | ^~~~ -gl2gif.cxx:137:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 137 | register colorhist_list chl; - | ^~~ -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; - | ^~~ -gl2gif.cxx: In function 'colorhist_item* mediancut(colorhist_vector, int, int, pixval, int)': -gl2gif.cxx:351:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 351 | register int bi, i; - | ^~ -gl2gif.cxx:351:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 351 | register int bi, i; - | ^ -gl2gif.cxx:373:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 373 | register int indx, clrs; - | ^~~~ -gl2gif.cxx:373:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 373 | register int indx, clrs; - | ^~~~ -gl2gif.cxx:375:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 375 | register int minr, maxr, ming, maxg, minb, maxb, v; - | ^~~~ -gl2gif.cxx:375:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 375 | register int minr, maxr, ming, maxg, minb, maxb, v; - | ^~~~ -gl2gif.cxx:375:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 375 | register int minr, maxr, ming, maxg, minb, maxb, v; - | ^~~~ -gl2gif.cxx:375:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 375 | register int minr, maxr, ming, maxg, minb, maxb, v; - | ^~~~ -gl2gif.cxx:375:46: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 375 | register int minr, maxr, ming, maxg, minb, maxb, v; - | ^~~~ -gl2gif.cxx:375:52: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 375 | register int minr, maxr, ming, maxg, minb, maxb, v; - | ^~~~ -gl2gif.cxx:375:58: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 375 | register int minr, maxr, ming, maxg, minb, maxb, v; - | ^ -gl2gif.cxx:532:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 532 | register int indx = bv[bi].ind; - | ^~~~ -gl2gif.cxx:533:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 533 | register int clrs = bv[bi].colors; - | ^~~~ -gl2gif.cxx:534:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 534 | register long r = 0, g = 0, b = 0, sum = 0; - | ^ -gl2gif.cxx:534:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 534 | register long r = 0, g = 0, b = 0, sum = 0; - | ^ -gl2gif.cxx:534:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 534 | register long r = 0, g = 0, b = 0, sum = 0; - | ^ -gl2gif.cxx:534:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 534 | register long r = 0, g = 0, b = 0, sum = 0; - | ^~~ -gl2gif.cxx: At global scope: -gl2gif.cxx:840:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 840 | static void cl_hash(register count_int hsize) - | ^~~~~ -gl2gif.cxx: In function 'void cl_hash(count_int)': -gl2gif.cxx:842:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 842 | register count_int *htab_p = htab + hsize; - | ^~~~~~ -gl2gif.cxx:844:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 844 | register long i; - | ^ -gl2gif.cxx:845:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 845 | register long m1 = -1; - | ^~ -gl2gif.cxx: In function 'void compress(int, FILE*, ifunptr)': -gl2gif.cxx:888:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 888 | register long fcode; - | ^~~~~ -gl2gif.cxx:889:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 889 | register code_int i /* = 0 */ ; - | ^ -gl2gif.cxx:890:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 890 | register int c; - | ^ -gl2gif.cxx:891:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 891 | register code_int ent; - | ^~~ -gl2gif.cxx:892:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 892 | register code_int disp; - | ^~~~ -gl2gif.cxx:893:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 893 | register code_int hsize_reg; - | ^~~~~~~~~ -gl2gif.cxx:894:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 894 | register int hshift; - | ^~~~~~ -gl2gif.cxx: In function 'void create_gif(FILE*, PixelBuffer*, int, int, int, int, int, int, int)': -gl2gif.cxx:1177:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1177 | register pixel *pP; - | ^~ -gl2gif.cxx:1178:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1178 | register int col, row, limitcol, ind; - | ^~~ -gl2gif.cxx:1178:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1178 | register int col, row, limitcol, ind; - | ^~~ -gl2gif.cxx:1178:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1178 | register int col, row, limitcol, ind; - | ^~~~~~~~ -gl2gif.cxx:1178:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1178 | register int col, row, limitcol, ind; - | ^~~ -gl2gif.cxx:1182:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1182 | register long sr = 0, sg = 0, sb = 0, err = 0; - | ^~ -gl2gif.cxx:1182:27: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1182 | register long sr = 0, sg = 0, sb = 0, err = 0; - | ^~ -gl2gif.cxx:1182:35: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1182 | register long sr = 0, sg = 0, sb = 0, err = 0; - | ^~ -gl2gif.cxx:1182:43: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1182 | register long sr = 0, sg = 0, sb = 0, err = 0; - | ^~~ -gl2gif.cxx:1308:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1308 | register int i, r1, g1, b1, r2, g2, b2; - | ^ -gl2gif.cxx:1308:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1308 | register int i, r1, g1, b1, r2, g2, b2; - | ^~ -gl2gif.cxx:1308:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1308 | register int i, r1, g1, b1, r2, g2, b2; - | ^~ -gl2gif.cxx:1308:45: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1308 | register int i, r1, g1, b1, r2, g2, b2; - | ^~ -gl2gif.cxx:1308:49: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1308 | register int i, r1, g1, b1, r2, g2, b2; - | ^~ -gl2gif.cxx:1308:53: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1308 | register int i, r1, g1, b1, r2, g2, b2; - | ^~ -gl2gif.cxx:1308:57: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1308 | register int i, r1, g1, b1, r2, g2, b2; - | ^~ -gl2gif.cxx:1309:35: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1309 | register long dist, newdist; - | ^~~~ -gl2gif.cxx:1309:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 1309 | register long dist, newdist; - | ^~~~~~~ -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; - | ^~~ -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 */ - | ^~~~~~~~ +Compiling Help.cxx ... +Compiling Import.cxx ... 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); @@ -1375,134 +1513,176 @@ 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"); | ~~~~~~~^~~~~~~~~~~~~~ -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 '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); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:196:23: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 196 | chdir (drvui->Cur_Dir); - | ~~~~~~^~~~~~~~~~~~~~~~ -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); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -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); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -CrystalView.cxx: In function 'void ImportDataFile_cb(Fl_Widget*, void*)': -CrystalView.cxx:1062:15: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1062 | chdir (tmp_dir); // switch to that directory - | ~~~~~~^~~~~~~~~ -CrystalView.cxx:1070:23: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1070 | chdir (drvui->Cur_Dir); // restore the original directory - | ~~~~~~^~~~~~~~~~~~~~~~ -CrystalView.cxx:1169:27: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1169 | fgets (string, 133, inp); - | ~~~~~~^~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1196:27: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1196 | fgets (string, 133, inp); - | ~~~~~~^~~~~~~~~~~~~~~~~~ -CrystalView.cxx: In function 'void LoadConfig(bool)': -CrystalView.cxx:1407:23: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1407 | fgets (temp, 256, fname); - | ~~~~~~^~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1442:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1442 | fgets (drvui->DRAWxtl_Path, 256, fname); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1444:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1444 | fgets (drvui->POV_Path, 256, fname); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1446:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1446 | fgets (drvui->VRML_Path, 256, fname); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1448:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1448 | fgets (drvui->EditName, 256, fname); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1450:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1450 | fgets (drvui->FileViewName, 256, fname); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1452:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1452 | fgets (drvui->POV_Options, 256, fname); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1454:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1454 | fgets (drvui->Cur_File, 256, fname); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1456:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1456 | fgets (drvui->Cur_Dir, 256, fname); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1458:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1458 | fgets (drvui->POV_Include, 256, fname); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1460:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1460 | fgets (drvui->LoadOnStartup, 10, fname); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1462:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1462 | fgets (drvui->DefaultFinish, 256, fname); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1464:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1464 | fgets (temp, 256, fname); // skip over executable path - | ~~~~~~^~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1465:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1465 | fgets (autolabel, 256, fname); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1466:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1466 | fgets (stereo, 256, fname); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1468:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1468 | fgets (temp, 256, fname); // skip over window dimensions - | ~~~~~~^~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1470:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1470 | fgets (temp, 256, fname); - | ~~~~~~^~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1473:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1473 | fgets (drvui->MSMS_Path, 256, fname); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1476:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1476 | fgets (drvui->Mencoder_Path, 256, fname); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^ -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 - | ~~~~~~^~~~~~~~~~~~~~~~ +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/i386-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 ()); + | ~~~~~~~~~~~~~~~~~ +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; + | ^~~~ +gl2gif.cxx:137:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 137 | register colorhist_list chl; + | ^~~ +gl2gif.cxx: In function 'colorhist_item* mediancut(colorhist_vector, int, int, pixval, int)': +gl2gif.cxx:351:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 351 | register int bi, i; + | ^~ +gl2gif.cxx:351:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 351 | register int bi, i; + | ^ +gl2gif.cxx:373:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 373 | register int indx, clrs; + | ^~~~ +gl2gif.cxx:373:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 373 | register int indx, clrs; + | ^~~~ +gl2gif.cxx:375:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 375 | register int minr, maxr, ming, maxg, minb, maxb, v; + | ^~~~ +gl2gif.cxx:375:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 375 | register int minr, maxr, ming, maxg, minb, maxb, v; + | ^~~~ +gl2gif.cxx:375:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 375 | register int minr, maxr, ming, maxg, minb, maxb, v; + | ^~~~ +gl2gif.cxx:375:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 375 | register int minr, maxr, ming, maxg, minb, maxb, v; + | ^~~~ +gl2gif.cxx:375:46: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 375 | register int minr, maxr, ming, maxg, minb, maxb, v; + | ^~~~ +gl2gif.cxx:375:52: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 375 | register int minr, maxr, ming, maxg, minb, maxb, v; + | ^~~~ +gl2gif.cxx:375:58: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 375 | register int minr, maxr, ming, maxg, minb, maxb, v; + | ^ +gl2gif.cxx:532:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 532 | register int indx = bv[bi].ind; + | ^~~~ +gl2gif.cxx:533:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 533 | register int clrs = bv[bi].colors; + | ^~~~ +gl2gif.cxx:534:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 534 | register long r = 0, g = 0, b = 0, sum = 0; + | ^ +gl2gif.cxx:534:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 534 | register long r = 0, g = 0, b = 0, sum = 0; + | ^ +gl2gif.cxx:534:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 534 | register long r = 0, g = 0, b = 0, sum = 0; + | ^ +gl2gif.cxx:534:44: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 534 | register long r = 0, g = 0, b = 0, sum = 0; + | ^~~ +gl2gif.cxx: At global scope: +gl2gif.cxx:840:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 840 | static void cl_hash(register count_int hsize) + | ^~~~~ +gl2gif.cxx: In function 'void cl_hash(count_int)': +gl2gif.cxx:842:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 842 | register count_int *htab_p = htab + hsize; + | ^~~~~~ +gl2gif.cxx:844:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 844 | register long i; + | ^ +gl2gif.cxx:845:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 845 | register long m1 = -1; + | ^~ +gl2gif.cxx: In function 'void compress(int, FILE*, ifunptr)': +gl2gif.cxx:888:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 888 | register long fcode; + | ^~~~~ +gl2gif.cxx:889:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 889 | register code_int i /* = 0 */ ; + | ^ +gl2gif.cxx:890:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 890 | register int c; + | ^ +gl2gif.cxx:891:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 891 | register code_int ent; + | ^~~ +gl2gif.cxx:892:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 892 | register code_int disp; + | ^~~~ +gl2gif.cxx:893:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 893 | register code_int hsize_reg; + | ^~~~~~~~~ +gl2gif.cxx:894:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 894 | register int hshift; + | ^~~~~~ +gl2gif.cxx: In function 'void create_gif(FILE*, PixelBuffer*, int, int, int, int, int, int, int)': +gl2gif.cxx:1177:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1177 | register pixel *pP; + | ^~ +gl2gif.cxx:1178:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1178 | register int col, row, limitcol, ind; + | ^~~ +gl2gif.cxx:1178:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1178 | register int col, row, limitcol, ind; + | ^~~ +gl2gif.cxx:1178:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1178 | register int col, row, limitcol, ind; + | ^~~~~~~~ +gl2gif.cxx:1178:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1178 | register int col, row, limitcol, ind; + | ^~~ +gl2gif.cxx:1182:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1182 | register long sr = 0, sg = 0, sb = 0, err = 0; + | ^~ +gl2gif.cxx:1182:27: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1182 | register long sr = 0, sg = 0, sb = 0, err = 0; + | ^~ +gl2gif.cxx:1182:35: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1182 | register long sr = 0, sg = 0, sb = 0, err = 0; + | ^~ +gl2gif.cxx:1182:43: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1182 | register long sr = 0, sg = 0, sb = 0, err = 0; + | ^~~ +gl2gif.cxx:1308:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1308 | register int i, r1, g1, b1, r2, g2, b2; + | ^ +gl2gif.cxx:1308:37: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1308 | register int i, r1, g1, b1, r2, g2, b2; + | ^~ +gl2gif.cxx:1308:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1308 | register int i, r1, g1, b1, r2, g2, b2; + | ^~ +gl2gif.cxx:1308:45: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1308 | register int i, r1, g1, b1, r2, g2, b2; + | ^~ +gl2gif.cxx:1308:49: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1308 | register int i, r1, g1, b1, r2, g2, b2; + | ^~ +gl2gif.cxx:1308:53: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1308 | register int i, r1, g1, b1, r2, g2, b2; + | ^~ +gl2gif.cxx:1308:57: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1308 | register int i, r1, g1, b1, r2, g2, b2; + | ^~ +gl2gif.cxx:1309:35: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1309 | register long dist, newdist; + | ^~~~ +gl2gif.cxx:1309:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 1309 | register long dist, newdist; + | ^~~~~~~ +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 */ + | ^~~~~~~~ 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); @@ -1528,10 +1708,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 ? */ | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -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); - | ~~~~~~^~~~~~~~~~~~~~~~~~ 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); @@ -1580,178 +1756,8 @@ 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 Modify_Spheres_cb(Fl_Widget*, void*)': -Edit2.cxx:1585:30: warning: '%2d' directive writing between 2 and 10 bytes into a region of size 8 [-Wformat-overflow=] - 1585 | sprintf (value, "%2d", n); - | ^~~ -Edit2.cxx:1585:29: note: directive argument in the range [0, 2147483647] - 1585 | sprintf (value, "%2d", n); - | ^~~~~ -In file included from /usr/include/stdio.h:906, - from /usr/include/FL/fl_utf8.h:34, - from /usr/include/FL/Fl.H:32, - from DRAWxtlViewUI.h:12, - from Edit2.cxx:53: -In function 'int sprintf(char*, const char*, ...)', - inlined from 'void Modify_Spheres_cb(Fl_Widget*, void*)' at Edit2.cxx:1585:14: -/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 3 and 11 bytes into a destination of size 8 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -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]); - | ^~~ -In file included from /usr/include/stdio.h:906, - from CrystalView.cxx:44: -In function 'int sprintf(char*, const char*, ...)', - inlined from 'void Load_Bond_Data(const char*, char*)' at CrystalView.cxx:1359:10: -/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 16 and 5317 bytes into a destination of size 100 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -Edit1.cxx: In function 'void Automation_Go_cb()': -Edit1.cxx:378:40: warning: 'd.png' directive writing 5 bytes into a region of size between 2 and 12 [-Wformat-overflow=] - 378 | sprintf(format," +O%%s%%.%dd.png",num); - | ^~~~~ -In file included from /usr/include/stdio.h:906, - from /usr/include/FL/fl_utf8.h:34, - from /usr/include/FL/Fl.H:32, - from DRAWxtlViewUI.h:12, - from Edit1.cxx:64: -In function 'int sprintf(char*, const char*, ...)', - inlined from 'void Automation_Go_cb()' at Edit1.cxx:378:13: -/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 14 and 24 bytes into a destination of size 20 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -Edit1.cxx: In function 'void Automation_Go_cb()': -Edit1.cxx:376:40: warning: 'd.tga' directive writing 5 bytes into a region of size between 2 and 12 [-Wformat-overflow=] - 376 | sprintf(format," +O%%s%%.%dd.tga",num); - | ^~~~~ -In function 'int sprintf(char*, const char*, ...)', - inlined from 'void Automation_Go_cb()' at Edit1.cxx:376:13: -/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 14 and 24 bytes into a destination of size 20 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -Edit1.cxx: In function 'void Automation_Go_cb()': -Edit1.cxx:418:22: warning: '%s' directive writing up to 1023 bytes into a region of size 512 [-Wformat-overflow=] - 418 | sprintf(cmd,"%s -f image2 -pix_fmt rgb24 -r 1 -i %s%%%dd.png -s %dx%d -f gif %s.gif", drvui->FFmpeg_Path, POV_filename, num, width,height,POV_filename); - | ^~ -Edit1.cxx:418:21: note: directive argument in the range [-2147483647, 2147483647] - 418 | sprintf(cmd,"%s -f image2 -pix_fmt rgb24 -r 1 -i %s%%%dd.png -s %dx%d -f gif %s.gif", drvui->FFmpeg_Path, POV_filename, num, width,height,POV_filename); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'int sprintf(char*, const char*, ...)', - inlined from 'void Automation_Go_cb()' at Edit1.cxx:418:9: -/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output 61 or more bytes (assuming 1094) into a destination of size 512 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -Edit1.cxx: In function 'void Automation_Go_cb()': -Edit1.cxx:416:22: warning: '%s' directive writing up to 1023 bytes into a region of size 512 [-Wformat-overflow=] - 416 | sprintf(cmd,"%s -r %d -f image2 -i %s%%%dd.png -s %dx%d %s.mpg", drvui->FFmpeg_Path, fps, POV_filename, num, width,height,POV_filename); - | ^~ -Edit1.cxx:416:21: note: using the range [-2147483648, 2147483647] for directive argument - 416 | sprintf(cmd,"%s -r %d -f image2 -i %s%%%dd.png -s %dx%d %s.mpg", drvui->FFmpeg_Path, fps, POV_filename, num, width,height,POV_filename); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Edit1.cxx:416:21: note: directive argument in the range [-2147483647, 2147483647] -In function 'int sprintf(char*, const char*, ...)', - inlined from 'void Automation_Go_cb()' at Edit1.cxx:416:9: -/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 1072) into a destination of size 512 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -Edit1.cxx: In function 'void Automation_Go_cb()': -Edit1.cxx:413:22: warning: '%s' directive writing up to 1023 bytes into a region of size 512 [-Wformat-overflow=] - 413 | sprintf(cmd,"%s mf://%s*.tga -mf w=%d:h=%d:fps=%d:type=tga -ovc lavc -lavcopts vcodec=mpeg4 -o %s.mpg", drvui->Mencoder_Path, POV_filename,width,height,fps,POV_filename); - | ^~ -Edit1.cxx:413:21: note: using the range [-2147483648, 2147483647] for directive argument - 413 | sprintf(cmd,"%s mf://%s*.tga -mf w=%d:h=%d:fps=%d:type=tga -ovc lavc -lavcopts vcodec=mpeg4 -o %s.mpg", drvui->Mencoder_Path, POV_filename,width,height,fps,POV_filename); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'int sprintf(char*, const char*, ...)', - inlined from 'void Automation_Go_cb()' at Edit1.cxx:413:9: -/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output 80 or more bytes (assuming 1103) into a destination of size 512 - 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 */ - | ^~~ -Import.cxx:3228:20: note: directive argument in the range [1, 2147483647] - 3228 | sprintf (temp, "for PHASE number: %3d", phase_no); /* make search object */ - | ^~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:906, - from Import.cxx:22: -In function 'int sprintf(char*, const char*, ...)', - inlined from 'void import_pcr(char*, int, int, int)' at Import.cxx:3228:13: -/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 22 and 29 bytes into a destination of size 25 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 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/i386-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 ()); - | ~~~~~~~~~~~~~~~~~ -Edit1.cxx: In function 'void Modify_Occ_cb(Fl_Widget*, void*)': -Edit1.cxx:3471:30: warning: '%2d' directive writing between 2 and 10 bytes into a region of size 8 [-Wformat-overflow=] - 3471 | sprintf (value, "%2d", n); - | ^~~ -Edit1.cxx:3471:29: note: directive argument in the range [0, 2147483647] - 3471 | sprintf (value, "%2d", n); - | ^~~~~ -In function 'int sprintf(char*, const char*, ...)', - inlined from 'void Modify_Occ_cb(Fl_Widget*, void*)' at Edit1.cxx:3471:14: -/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 3 and 11 bytes into a destination of size 8 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 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 */ - | ^~~~~~~ +Compiling MC.cxx ... +Compiling mpVector.cxx ... 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.", @@ -1778,6 +1784,27 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +Compiling Read_Input.cxx ... +Compiling symmtry.cxx ... +Compiling Tb_Window.cxx ... +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 */ + | ^~~ +Import.cxx:3228:20: note: directive argument in the range [1, 2147483647] + 3228 | sprintf (temp, "for PHASE number: %3d", phase_no); /* make search object */ + | ^~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:906, + from Import.cxx:22: +In function 'int sprintf(char*, const char*, ...)', + inlined from 'void import_pcr(char*, int, int, int)' at Import.cxx:3228:13: +/usr/include/i386-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 22 and 29 bytes into a destination of size 25 + 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_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); @@ -1794,6 +1821,15 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 */ + | ^~~~~~~ Linking ../../exe/DRAWxtl55... make[2]: Leaving directory '/build/reproducible-path/drawxtl-5.5/source/DRAWxtl55' make[1]: Leaving directory '/build/reproducible-path/drawxtl-5.5' @@ -1839,8 +1875,8 @@ dh_gencontrol -O--buildsystem=makefile dh_md5sums -O--buildsystem=makefile dh_builddeb -O--buildsystem=makefile -dpkg-deb: building package 'drawxtl-dbgsym' in '../drawxtl-dbgsym_5.5-6.1_i386.deb'. dpkg-deb: building package 'drawxtl' in '../drawxtl_5.5-6.1_i386.deb'. +dpkg-deb: building package 'drawxtl-dbgsym' in '../drawxtl-dbgsym_5.5-6.1_i386.deb'. dpkg-genbuildinfo --build=binary -O../drawxtl_5.5-6.1_i386.buildinfo dpkg-genchanges --build=binary -O../drawxtl_5.5-6.1_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1848,12 +1884,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/62780/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/62780/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/80647 and its subdirectories -I: Current time: Sat May 24 10:18:37 -12 2025 -I: pbuilder-time-stamp: 1748125117 +I: removing directory /srv/workspace/pbuilder/62780 and its subdirectories +I: Current time: Mon Apr 22 05:56:58 +14 2024 +I: pbuilder-time-stamp: 1713715018